Home
last modified time | relevance | path

Searched refs:sotype (Results 1 – 12 of 12) sorted by relevance

/NextBSD/sys/nfs/
HDnfs_diskless.c125 nd->sotype = SOCK_STREAM; in nfs_parse_options()
127 nd->sotype = SOCK_DGRAM; in nfs_parse_options()
260 nd3->root_args.sotype = SOCK_STREAM; in nfs_setup_diskless()
299 nd->root_args.sotype = SOCK_STREAM; in nfs_setup_diskless()
325 args.sotype = nd->root_args.sotype; in nfs_setup_diskless()
330 nd->root_args.sotype = args.sotype; in nfs_setup_diskless()
HDnfsdiskless.h77 int sotype; /* Socket type */ member
HDbootp_subr.c1158 args->sotype = SOCK_DGRAM; in mountopts()
/NextBSD/sbin/mount_nfs/
HDmount_nfs.c85 int sotype; member
139 static const char *netidbytype(int af, int sotype);
684 int doconnect, nfsvers, mntvers, sotype; in nfs_tryproto() local
688 sotype = 0; in nfs_tryproto()
694 sotype = SOCK_STREAM; in nfs_tryproto()
696 sotype = SOCK_DGRAM; in nfs_tryproto()
698 if ((netid = netidbytype(ai->ai_family, sotype)) == NULL) { in nfs_tryproto()
700 "af %d sotype %d not supported", ai->ai_family, sotype); in nfs_tryproto()
771 if (sotype == SOCK_DGRAM && noconn == 0) { in nfs_tryproto()
935 netidbytype(int af, int sotype) in netidbytype() argument
[all …]
/NextBSD/sys/security/audit/
HDaudit.h98 void audit_arg_socket(int sodomain, int sotype, int soprotocol);
273 #define AUDIT_ARG_SOCKET(sodomain, sotype, soprotocol) do { \ argument
275 audit_arg_socket((sodomain), (sotype), (soprotocol)); \
387 #define AUDIT_ARG_SOCKET(sodomain, sotype, soprotocol) argument
HDaudit_arg.c430 audit_arg_socket(int sodomain, int sotype, int soprotocol) in audit_arg_socket() argument
439 ar->k_ar.ar_arg_sockinfo.so_type = sotype; in audit_arg_socket()
/NextBSD/sys/fs/nfsclient/
HDnfs_clvfsops.c236 args->sotype = oargs->sotype; in nfs_convert_oargs()
427 error = socreate(nd->myif.ifra_addr.sa_family, &so, nd->root_args.sotype, 0, in nfs_mountroot()
589 if (argp->sotype == SOCK_STREAM) { in nfs_decode_args()
693 adjsock |= ((nmp->nm_sotype != argp->sotype) || in nfs_decode_args()
708 nmp->nm_sotype = argp->sotype; in nfs_decode_args()
718 nmp->nm_sotype = argp->sotype; in nfs_decode_args()
760 .sotype = SOCK_STREAM, in nfs_mount()
852 args.sotype = SOCK_DGRAM; in nfs_mount()
854 args.sotype = SOCK_DGRAM; in nfs_mount()
856 args.sotype = SOCK_STREAM; in nfs_mount()
[all …]
/NextBSD/tools/regression/netinet/ipsockopt/
HDipsockopt.c647 int sotype; in test_ip_multicast_membership() local
650 sotypelen = sizeof(sotype); in test_ip_multicast_membership()
651 if (getsockopt(sock, SOL_SOCKET, SO_TYPE, &sotype, &sotypelen) < 0) in test_ip_multicast_membership()
658 if (sotype == SOCK_STREAM) in test_ip_multicast_membership()
/NextBSD/sys/nfsclient/
HDnfsargs.h47 int sotype; /* Socket type */ member
/NextBSD/contrib/amd/libamu/
HDmount_fs.c558 nap->sotype = SOCK_STREAM; in compute_nfs_args()
560 nap->sotype = SOCK_DGRAM; in compute_nfs_args()
966 plog(XLOG_DEBUG, "NA->sotype = %d", nap->sotype); in print_nfs_args()
/NextBSD/sys/i386/ibcs2/
HDibcs2_misc.c294 na.sotype = SOCK_DGRAM;
/NextBSD/contrib/amd/
HDChangeLog11042 nfs_args's fields proto and sotype (bsdi3).
11045 nfs_args.flags for bsdi3. Set field proto to 0. Set sotype field