| /freebsd-14.2/sys/nfs/ |
| H A D | nfs_diskless.c | 125 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()
|
| H A D | nfsdiskless.h | 78 int sotype; /* Socket type */ member
|
| H A D | bootp_subr.c | 1110 args->sotype = SOCK_DGRAM; in mountopts()
|
| /freebsd-14.2/sbin/mount_nfs/ |
| H A D | mount_nfs.c | 89 int sotype; member 144 static const char *netidbytype(int af, int sotype); 768 int doconnect, nfsvers, mntvers, sotype; in nfs_tryproto() local 772 sotype = 0; in nfs_tryproto() 778 sotype = SOCK_STREAM; in nfs_tryproto() 780 sotype = SOCK_DGRAM; in nfs_tryproto() 782 if ((netid = netidbytype(ai->ai_family, sotype)) == NULL) { in nfs_tryproto() 784 "af %d sotype %d not supported", ai->ai_family, sotype); in nfs_tryproto() 855 if (sotype == SOCK_DGRAM && noconn == 0) { in nfs_tryproto() 1019 netidbytype(int af, int sotype) in netidbytype() argument [all …]
|
| /freebsd-14.2/lib/libnv/tests/ |
| H A D | nvlist_send_recv_test.c | 338 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.2/sys/security/audit/ |
| H A D | audit.h | 112 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
|
| H A D | audit_arg.c | 436 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.2/sys/fs/nfsclient/ |
| H A D | nfs_clvfsops.c | 241 args->sotype = oargs->sotype; in nfs_convert_oargs() 629 if (argp->sotype == SOCK_STREAM) { 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() 1014 args.sotype = SOCK_STREAM; in nfs_mount() 1340 args.sotype = SOCK_STREAM; in nfs_mount() [all …]
|
| /freebsd-14.2/tools/regression/netinet/ipsockopt/ |
| H A D | ipsockopt.c | 645 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.2/sys/nfsclient/ |
| H A D | nfsargs.h | 48 int sotype; /* Socket type */ member
|
| /freebsd-14.2/sys/contrib/libnv/ |
| H A D | nvlist.c | 1285 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()
|