| /freebsd/sys/nfs/ |
| H A D | nfs_diskless.c | 129 nd->sotype = SOCK_STREAM; in nfs_parse_options() 131 nd->sotype = SOCK_STREAM; in nfs_parse_options() 133 nd->sotype = SOCK_DGRAM; in nfs_parse_options() 273 nd3->root_args.sotype = SOCK_STREAM; in nfs_setup_diskless() 361 nd->root_args.sotype = SOCK_STREAM; in nfs_setup_diskless() 387 args.sotype = nd->root_args.sotype; in nfs_setup_diskless() 392 nd->root_args.sotype = args.sotype; in nfs_setup_diskless()
|
| H A D | nfsdiskless.h | 76 int sotype; /* Socket type */ member
|
| H A D | bootp_subr.c | 1110 args->sotype = SOCK_DGRAM; in mountopts()
|
| /freebsd/sbin/mount_nfs/ |
| H A D | mount_nfs.c | 77 int sotype; member 133 static const char *netidbytype(int af, int sotype); 773 int doconnect, nfsvers, mntvers, sotype; in nfs_tryproto() local 777 sotype = 0; in nfs_tryproto() 783 sotype = SOCK_STREAM; in nfs_tryproto() 785 sotype = SOCK_DGRAM; in nfs_tryproto() 787 if ((netid = netidbytype(ai->ai_family, sotype)) == NULL) { in nfs_tryproto() 789 "af %d sotype %d not supported", ai->ai_family, sotype); in nfs_tryproto() 860 if (sotype == SOCK_DGRAM && noconn == 0) { in nfs_tryproto() 1058 netidbytype(int af, int sotype) in netidbytype() argument [all …]
|
| /freebsd/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 | 435 audit_arg_socket(int sodomain, int sotype, int soprotocol) in audit_arg_socket() argument 444 ar->k_ar.ar_arg_sockinfo.so_type = sotype; in audit_arg_socket()
|
| /freebsd/sys/fs/nfsclient/ |
| H A D | nfs_clvfsops.c | 241 args->sotype = oargs->sotype; in nfs_convert_oargs() 463 error = socreate(nd->myif.ifra_addr.sa_family, &so, nd->root_args.sotype, 0, in nfs_mountroot() 634 if (argp->sotype == SOCK_STREAM) { in nfs_decode_args() 743 adjsock |= ((nmp->nm_sotype != argp->sotype) || in nfs_decode_args() 758 nmp->nm_sotype = argp->sotype; in nfs_decode_args() 768 nmp->nm_sotype = argp->sotype; in nfs_decode_args() 910 .sotype = SOCK_STREAM, in nfs_mount() 1011 args.sotype = SOCK_DGRAM; in nfs_mount() 1013 args.sotype = SOCK_DGRAM; in nfs_mount() 1015 args.sotype = SOCK_STREAM; in nfs_mount() [all …]
|
| /freebsd/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/lib/libnv/tests/ |
| H A D | nvlist_send_recv_test.c | 345 nvlist_send_recv__send_nvlist(short sotype) in nvlist_send_recv__send_nvlist() argument 350 ATF_REQUIRE(socketpair(PF_UNIX, sotype, 0, socks) == 0); in nvlist_send_recv__send_nvlist() 369 nvlist_send_recv__send_closed_fd(short sotype) in nvlist_send_recv__send_closed_fd() argument 374 ATF_REQUIRE(socketpair(PF_UNIX, sotype, 0, socks) == 0); in nvlist_send_recv__send_closed_fd() 436 nvlist_send_recv__send_many_fds(short sotype) in nvlist_send_recv__send_many_fds() argument 443 ATF_REQUIRE(socketpair(PF_UNIX, sotype, 0, socks) == 0); in nvlist_send_recv__send_many_fds()
|
| /freebsd/sys/nfsclient/ |
| H A D | nfsargs.h | 46 int sotype; /* Socket type */ member
|
| /freebsd/tools/test/stress2/misc/ |
| H A D | syzkaller94.sh | 108 // sotype: sock_type_newnfs_vnodeops_nosig = 0x2 (4 bytes)
|
| H A D | syzkaller98.sh | 107 // sotype: sock_type_newnfs_vnodeops_nosig = 0x4 (4 bytes)
|
| /freebsd/sys/contrib/libnv/ |
| H A D | nvlist.c | 1284 int *fds, soflags, sotype; in nvlist_recv() local 1287 solen = sizeof(sotype); in nvlist_recv() 1288 if (getsockopt(sock, SOL_SOCKET, SO_TYPE, &sotype, &solen) != 0) in nvlist_recv() 1291 soflags = sotype == SOCK_DGRAM ? MSG_PEEK : 0; in nvlist_recv() 1308 if (sotype == SOCK_DGRAM) in nvlist_recv()
|