Searched refs:sotype (Results 1 - 10 of 10) sorted by relevance

/darwin-on-arm/xnu/bsd/nfs/
H A Dkrpc.h38 int krpc_call(struct sockaddr_in *sin, u_int sotype,
H A Dkrpc_subr.c207 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 Dnfs_boot.c135 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 Dnfs_vfsops.c885 int v3, sotype; local
903 sotype = SOCK_STREAM;
906 error = nfs_boot_getfh(&nd, v3, sotype);
924 if (sotype == SOCK_STREAM) {
926 sotype = SOCK_DGRAM;
931 sotype = SOCK_STREAM;
933 } else if (sotype == SOCK_STREAM) {
935 sotype = SOCK_DGRAM;
974 if (sotype == SOCK_STREAM) {
976 sotype
2841 char sotype[6]; local
3904 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
4773 char sotype[6]; local
[all...]
H A Dnfs_syscalls.c735 int error = 0, sodomain, sotype, soprotocol, on = 1; local
743 sock_gettype(so, &sodomain, &sotype, &soprotocol);
756 if (sotype == SOCK_STREAM)
760 if (sotype == SOCK_DGRAM) { /* set socket buffer sizes for UDP */
826 slp->ns_sotype = sotype;
H A Dnfs_socket.c459 int sotype,
493 nso->nso_sotype = sotype;
535 vfs_statfs(nmp->nm_mountp)->f_mntfromname, error, nso, naddr, sotype,
541 sotype, resvport ? "r" : "", port, protocol, vers));
949 uint8_t sotype = nmp->nm_sotype ? nmp->nm_sotype : SOCK_STREAM; local
985 nss.nss_sotype = sotype;
1068 sotype = SOCK_DGRAM;
2774 int error, error2, sotype, rexmit, slpflag = 0, needrecon; local
2801 sotype = nmp->nm_sotype;
2892 if (sotype
456 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
4850 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 Dnfs.h224 int sotype; /* Socket type */ member in struct:nfs_args
272 int sotype; /* Socket type */ member in struct:user_nfs_args
H A Dnfs_subs.c1033 nfsm_rpchead2(struct nfsmount *nmp, int sotype, int prog, int vers, int proc, int auth_type, argument
1077 if (sotype == SOCK_STREAM) /* also include room for any RPC Record Mark */
1108 if (sotype == SOCK_STREAM)
1203 if (sotype == SOCK_STREAM)
/darwin-on-arm/xnu/bsd/security/audit/
H A Daudit.h213 void audit_arg_socket(struct kaudit_record *ar, int sodomain, int sotype,
H A Daudit_arg.c330 audit_arg_socket(struct kaudit_record *ar, int sodomain, int sotype, argument
335 ar->k_ar.ar_arg_sockinfo.sai_type = sotype;

Completed in 56 milliseconds