/freebsd-9.3-release/lib/libncp/ |
H A D | ncpl_msg.c | 42 NWDisableBroadcasts(NWCONN_HANDLE connHandle) { argument 46 return ncp_request(connHandle, 21, conn); 50 NWEnableBroadcasts(NWCONN_HANDLE connHandle) { argument 54 return ncp_request(connHandle, 21, conn); 58 NWBroadcastToConsole(NWCONN_HANDLE connHandle, pnstr8 message) { argument 67 error = ncp_request(connHandle, 21, conn); 72 NWSendBroadcastMessage(NWCONN_HANDLE connHandle, pnstr8 message, argument 88 error = ncp_request(connHandle, 0x15, conn); 103 error = ncp_request(connHandle, 0x15, conn); 112 NWGetBroadcastMessage(NWCONN_HANDLE connHandle, pnstr argument [all...] |
H A D | ncpl_conn.c | 164 int connHandle, error; local 166 if ((error = ncp_conn_scan(li, &connHandle)) == 0) { 167 *aconnid = connHandle; 170 error = ncp_connect(li, &connHandle); 172 error = ncp_login(connHandle, li->user, li->objtype, li->password); 174 ncp_disconnect(connHandle); 176 *aconnid = connHandle; 198 int connHandle; local 201 if ((error = ncp_conn_scan(li, &connHandle)) != 0) { 205 ncp_conn_getinfo(connHandle, 416 ncp_login(int connHandle, const char *user, int objtype, const char *password) argument 449 ncp_conn_getinfo(int connHandle, struct ncp_conn_stat *ps) argument 462 ncp_conn_getuser(int connHandle, char **user) argument 475 ncp_conn2ref(int connHandle, int *connRef) argument 488 ncp_path2conn(char *path, int *connHandle) argument [all...] |
H A D | ncpl_subr.c | 159 ncp_connect(struct ncp_conn_args *li, int *connHandle) { argument 165 args.ioc_connhandle = connHandle; 183 ncp_request(int connHandle,int function, struct ncp_buf *ncpbuf){ argument 188 args.ioc_connhandle = connHandle; 199 ncp_conn_request(int connHandle, struct ncp_buf *ncpbuf){ argument 200 return (ncp_request(connHandle, NCP_CONN, ncpbuf));
|
H A D | ncpl_misc.c | 130 NWGetObjectConnectionNumbers(NWCONN_HANDLE connHandle, argument 144 if ((error = ncp_request(connHandle, 23, conn)) != 0) return error;
|
/freebsd-9.3-release/usr.sbin/mount_nwfs/ |
H A D | mount_nwfs.c | 78 NWCONN_HANDLE connHandle; local 331 error = ncp_li_login(&li, &connHandle); 336 error = ncp_conn2ref(connHandle, &mdata.connRef); 339 ncp_disconnect(connHandle); 347 ncp_disconnect(connHandle); 353 ncp_disconnect(connHandle);
|
/freebsd-9.3-release/sys/netncp/ |
H A D | ncp_lib.h | 142 #define ncp_setpermanent(connHandle,on) ncp_conn_setflags(connHandle, NCPFL_PERMANENT, (on) ? NCPFL_PERMANENT : 0) 143 #define ncp_setprimary(connHandle,on) ncp_conn_setflags(connHandle, NCPFL_PRIMARY, (on) ? NCPFL_PRIMARY : 0)
|
H A D | ncp_mod.c | 107 int connHandle = 0, error; local 114 checkbad(copyout(&connHandle,args->ioc_connhandle, 115 sizeof(connHandle))); 387 int connHandle = 0, error; local 425 connHandle = hp->nh_id; 427 copyout(&connHandle, args->ioc_connhandle, sizeof(connHandle));
|
H A D | ncp_conn.h | 213 int ncp_conn_findhandle(int connHandle, struct thread *td, struct ncp_handle **handle);
|
H A D | ncp_conn.c | 568 * find a connHandle 571 ncp_conn_findhandle(int connHandle, struct thread *td, struct ncp_handle **handle) { argument 576 if (refp->nh_td == td && refp->nh_id == connHandle) break;
|