/macosx-10.10/xnu-2782.1.97/bsd/nfs/ |
H A D | krpc.h | 38 int krpc_call(struct sockaddr_in *sin, u_int sotype,
|
H A D | krpc_subr.c | 207 krpc_call(sa, sotype, prog, vers, func, data, from_p) 209 u_int sotype, prog, vers, func; 237 if ((error = sock_socket(AF_INET, sotype, 0, 0, 0, &so))) 255 if (from_p && (sotype == SOCK_DGRAM)) { 297 if (sotype == SOCK_STREAM) { 325 if (sotype == SOCK_STREAM) 336 if (sotype == SOCK_STREAM) { 368 if (sotype == SOCK_STREAM) { 401 if (sotype == SOCK_STREAM) { 538 if (sotype [all...] |
H A D | nfs_boot.c | 135 int nfs_boot_getfh(__unused struct nfs_diskless *nd, __unused int v3, __unused int sotype) argument 169 static int md_mount(struct sockaddr_in *mdsin, char *path, int v3, int sotype, 319 nfs_boot_getfh(struct nfs_diskless *nd, int v3, int sotype) argument 324 nd->nd_root.ndm_sotype = sotype; 336 nd->nd_private.ndm_sotype = sotype; 694 md_mount(mdsin, path, v3, sotype, fhp, fhlenp) 698 int sotype; 711 int proto = (sotype == SOCK_STREAM) ? IPPROTO_TCP : IPPROTO_UDP; 739 error = krpc_call(mdsin, sotype, RPCPROG_MNT, mntversion, RPCMNT_MOUNT, &m, NULL);
|
H A D | nfs_vfsops.c | 894 int v3, sotype; local 912 sotype = SOCK_STREAM; 915 error = nfs_boot_getfh(&nd, v3, sotype); 933 if (sotype == SOCK_STREAM) { 935 sotype = SOCK_DGRAM; 940 sotype = SOCK_STREAM; 942 } else if (sotype == SOCK_STREAM) { 944 sotype = SOCK_DGRAM; 983 if (sotype == SOCK_STREAM) { 985 sotype 2858 char sotype[6]; local 3963 nfs3_mount_rpc(struct nfsmount *nmp, struct sockaddr *sa, int sotype, int nfsvers, char *path, vfs_context_t ctx, int timeo, fhandle_t *fh, struct nfs_sec *sec) argument 4899 char sotype[6]; local [all...] |
H A D | nfs_socket.c | 461 int sotype, 497 nso->nso_sotype = sotype; 539 vfs_statfs(nmp->nm_mountp)->f_mntfromname, error, nso, naddr, sotype, 545 sotype, resvport ? "r" : "", port, protocol, vers); 1059 uint8_t sotype = nmp->nm_sotype ? nmp->nm_sotype : SOCK_STREAM; local 1098 nss.nss_sotype = sotype; 1181 sotype = SOCK_DGRAM; 2938 int error, error2, sotype, rexmit, slpflag = 0, needrecon; local 2965 sotype = nmp->nm_sotype; 3056 if (sotype 458 nfs_socket_create( __unused struct nfsmount *nmp, struct sockaddr *sa, int sotype, in_port_t port, uint32_t protocol, uint32_t vers, int resvport, struct nfs_socket **nsop) argument 5081 nfs_aux_request( struct nfsmount *nmp, thread_t thd, struct sockaddr *saddr, socket_t so, int sotype, mbuf_t mreq, uint32_t xid, int bindresv, int timeo, struct nfsm_chain *nmrep) argument [all...] |
H A D | nfs_syscalls.c | 813 int error = 0, sodomain, sotype, soprotocol, on = 1; local 821 sock_gettype(so, &sodomain, &sotype, &soprotocol); 834 if (sotype == SOCK_STREAM) 838 if (sotype == SOCK_DGRAM) { /* set socket buffer sizes for UDP */ 904 slp->ns_sotype = sotype;
|
H A D | nfs.h | 227 int sotype; /* Socket type */ member in struct:nfs_args 275 int sotype; /* Socket type */ member in struct:user_nfs_args
|
H A D | nfs_subs.c | 1080 nfsm_rpchead2(struct nfsmount *nmp, int sotype, int prog, int vers, int proc, int auth_type, argument 1121 if (sotype == SOCK_STREAM) /* also include room for any RPC Record Mark */ 1152 if (sotype == SOCK_STREAM) 1240 if (sotype == SOCK_STREAM)
|
/macosx-10.10/NFS-82/nfsstat/ |
H A D | nfsstat.c | 758 char sotype[6]; /* socket type */ member in struct:mountargs 906 if (val >= sizeof(margs->sotype)) 909 error = xb_get_bytes(xb, margs->sotype, val, 0); 910 margs->sotype[val] = '\0'; 1107 socket_type(char *sotype) argument 1109 if (!strcmp(sotype, "tcp")) 1111 if (!strcmp(sotype, "udp")) 1113 if (!strcmp(sotype, "tcp4")) 1115 if (!strcmp(sotype, "udp4")) 1117 if (!strcmp(sotype, "tcp [all...] |
/macosx-10.10/xnu-2782.1.97/bsd/security/audit/ |
H A D | audit.h | 213 void audit_arg_socket(struct kaudit_record *ar, int sodomain, int sotype,
|
H A D | audit_arg.c | 329 audit_arg_socket(struct kaudit_record *ar, int sodomain, int sotype, argument 334 ar->k_ar.ar_arg_sockinfo.sai_type = sotype;
|