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

/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/
H A Dkrpc.h38 int krpc_call(struct sockaddr_in *sin, u_int sotype,
H A Dkrpc_subr.c208 krpc_call(sa, sotype, prog, vers, func, data, from_p)
210 u_int sotype, prog, vers, func;
238 if ((error = sock_socket(AF_INET, sotype, 0, 0, 0, &so)))
256 if (from_p && (sotype == SOCK_DGRAM)) {
298 if (sotype == SOCK_STREAM) {
326 if (sotype == SOCK_STREAM)
337 if (sotype == SOCK_STREAM) {
369 if (sotype == SOCK_STREAM) {
402 if (sotype == SOCK_STREAM) {
539 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,
313 nfs_boot_getfh(struct nfs_diskless *nd, int v3, int sotype) argument
318 nd->nd_root.ndm_sotype = sotype;
330 nd->nd_private.ndm_sotype = sotype;
686 md_mount(mdsin, path, v3, sotype, fhp, fhlenp)
690 int sotype;
703 int proto = (sotype == SOCK_STREAM) ? IPPROTO_TCP : IPPROTO_UDP;
731 error = krpc_call(mdsin, sotype, RPCPROG_MNT, mntversion, RPCMNT_MOUNT, &m, NULL);
H A Dnfs.h163 int sotype; /* Socket type */ member in struct:nfs_args
190 int sotype; /* Socket type */ member in struct:nfs_args4
216 int sotype; /* Socket type */ member in struct:nfs_args3
242 int sotype; /* Socket type */ member in struct:user_nfs_args
269 int sotype; /* Socket type */ member in struct:user_nfs_args4
294 int sotype; /* Socket type */ member in struct:user_nfs_args3
H A Dnfs_vfsops.c841 int v3, sotype; local
859 sotype = SOCK_STREAM;
862 error = nfs_boot_getfh(&nd, v3, sotype);
874 if (sotype == SOCK_STREAM) {
876 sotype = SOCK_DGRAM;
881 sotype = SOCK_STREAM;
883 } else if (sotype == SOCK_STREAM) {
885 sotype = SOCK_DGRAM;
922 if (sotype == SOCK_STREAM) {
924 sotype
[all...]
H A Dnfs_syscalls.c702 int error = 0, sodomain, sotype, soprotocol, on = 1; local
709 sock_gettype(so, &sodomain, &sotype, &soprotocol);
718 if (sotype == SOCK_STREAM)
722 if (sotype == SOCK_DGRAM) { /* set socket buffer sizes for UDP */
775 slp->ns_sotype = sotype;
H A Dnfs_socket.c693 int error, error2, sotype, rexmit, slpflag = 0, needrecon; local
711 sotype = nmp->nm_sotype;
773 if (sotype == SOCK_DGRAM) {
839 if (nmp->nm_nam && (sotype != SOCK_STREAM) && !sock_isconnected(so)) {
853 needrecon = ((sotype == SOCK_STREAM) && sentlen && (sentlen != req->r_mreqlen));
883 if (sotype == SOCK_DGRAM) {
909 if (sotype != SOCK_STREAM)
H A Dnfs_subs.c959 nfsm_rpchead2(int sotype, int prog, int vers, int proc, int auth_type, int auth_len, argument
971 if (sotype == SOCK_STREAM) /* also include room for any RPC Record Mark */
1024 if (sotype == SOCK_STREAM)
1102 if (sotype == SOCK_STREAM)
/macosx-10.5.8/xnu-1228.15.4/bsd/bsm/
H A Daudit_kernel.h359 void audit_arg_socket(int sodomain, int sotype,
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkern_audit.c2160 audit_arg_socket(int sodomain, int sotype, int soprotocol) argument
2170 ar->k_ar.ar_arg_sockinfo.so_type = sotype;

Completed in 202 milliseconds