Home
last modified time | relevance | path

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

/freebsd-14-stable/sys/nfs/
HDnfs_diskless.c125 nd->sotype = SOCK_STREAM; in nfs_parse_options()
127 nd->sotype = SOCK_DGRAM; in nfs_parse_options()
267 nd3->root_args.sotype = SOCK_STREAM; in nfs_setup_diskless()
306 nd->root_args.sotype = SOCK_STREAM; in nfs_setup_diskless()
332 args.sotype = nd->root_args.sotype; in nfs_setup_diskless()
337 nd->root_args.sotype = args.sotype; in nfs_setup_diskless()
HDnfsdiskless.h78 int sotype; /* Socket type */ member
HDbootp_subr.c1110 args->sotype = SOCK_DGRAM; in mountopts()
/freebsd-14-stable/sbin/mount_nfs/
HDmount_nfs.c89 int sotype; member
145 static const char *netidbytype(int af, int sotype);
776 int doconnect, nfsvers, mntvers, sotype; in nfs_tryproto() local
780 sotype = 0; in nfs_tryproto()
786 sotype = SOCK_STREAM; in nfs_tryproto()
788 sotype = SOCK_DGRAM; in nfs_tryproto()
790 if ((netid = netidbytype(ai->ai_family, sotype)) == NULL) { in nfs_tryproto()
792 "af %d sotype %d not supported", ai->ai_family, sotype); in nfs_tryproto()
863 if (sotype == SOCK_DGRAM && noconn == 0) { in nfs_tryproto()
1061 netidbytype(int af, int sotype) in netidbytype() argument
[all …]
/freebsd-14-stable/lib/libnv/tests/
HDnvlist_send_recv_test.c338 nvlist_send_recv__send_nvlist(short sotype) in nvlist_send_recv__send_nvlist() argument
343 ATF_REQUIRE(socketpair(PF_UNIX, sotype, 0, socks) == 0); in nvlist_send_recv__send_nvlist()
362 nvlist_send_recv__send_closed_fd(short sotype) in nvlist_send_recv__send_closed_fd() argument
367 ATF_REQUIRE(socketpair(PF_UNIX, sotype, 0, socks) == 0); in nvlist_send_recv__send_closed_fd()
429 nvlist_send_recv__send_many_fds(short sotype) in nvlist_send_recv__send_many_fds() argument
436 ATF_REQUIRE(socketpair(PF_UNIX, sotype, 0, socks) == 0); in nvlist_send_recv__send_many_fds()
/freebsd-14-stable/sys/security/audit/
HDaudit.h112 void audit_arg_socket(int sodomain, int sotype, int soprotocol);
297 #define AUDIT_ARG_SOCKET(sodomain, sotype, soprotocol) do { \ argument
299 audit_arg_socket((sodomain), (sotype), (soprotocol)); \
451 #define AUDIT_ARG_SOCKET(sodomain, sotype, soprotocol) argument
HDaudit_arg.c436 audit_arg_socket(int sodomain, int sotype, int soprotocol) in audit_arg_socket() argument
445 ar->k_ar.ar_arg_sockinfo.so_type = sotype; in audit_arg_socket()
/freebsd-14-stable/sys/fs/nfsclient/
HDnfs_clvfsops.c241 args->sotype = oargs->sotype; in nfs_convert_oargs()
461 error = socreate(nd->myif.ifra_addr.sa_family, &so, nd->root_args.sotype, 0, in nfs_mountroot()
629 if (argp->sotype == SOCK_STREAM) { in nfs_decode_args()
738 adjsock |= ((nmp->nm_sotype != argp->sotype) || in nfs_decode_args()
753 nmp->nm_sotype = argp->sotype; in nfs_decode_args()
763 nmp->nm_sotype = argp->sotype; in nfs_decode_args()
905 .sotype = SOCK_STREAM, in nfs_mount()
1005 args.sotype = SOCK_DGRAM; in nfs_mount()
1007 args.sotype = SOCK_DGRAM; in nfs_mount()
1009 args.sotype = SOCK_STREAM; in nfs_mount()
[all …]
/freebsd-14-stable/tools/regression/netinet/ipsockopt/
HDipsockopt.c645 int sotype; in test_ip_multicast_membership() local
648 sotypelen = sizeof(sotype); in test_ip_multicast_membership()
649 if (getsockopt(sock, SOL_SOCKET, SO_TYPE, &sotype, &sotypelen) < 0) in test_ip_multicast_membership()
656 if (sotype == SOCK_STREAM) in test_ip_multicast_membership()
/freebsd-14-stable/sys/nfsclient/
HDnfsargs.h48 int sotype; /* Socket type */ member
/freebsd-14-stable/sys/contrib/libnv/
HDnvlist.c1285 int *fds, soflags, sotype; in nvlist_recv() local
1288 solen = sizeof(sotype); in nvlist_recv()
1289 if (getsockopt(sock, SOL_SOCKET, SO_TYPE, &sotype, &solen) != 0) in nvlist_recv()
1292 soflags = sotype == SOCK_DGRAM ? MSG_PEEK : 0; in nvlist_recv()
1309 if (sotype == SOCK_DGRAM) in nvlist_recv()