| /freebsd-13.1/sys/kern/ |
| H A D | uipc_debug.c | 49 db_print_sotype(short so_type) in db_print_sotype() argument 52 switch (so_type) { in db_print_sotype() 441 db_printf("so_type: %d (", so->so_type); in db_print_socket() 442 db_print_sotype(so->so_type); in db_print_socket()
|
| H A D | uipc_usrreq.c | 526 switch (so->so_type) { in uipc_attach() 564 switch (so->so_type) { in uipc_attach() 889 if (so->so_type != SOCK_STREAM && so->so_type != SOCK_SEQPACKET) in uipc_listen() 956 KASSERT(so->so_type == SOCK_STREAM || so->so_type == SOCK_SEQPACKET, in uipc_rcvd() 1008 KASSERT(so->so_type == SOCK_STREAM || so->so_type == SOCK_DGRAM || in uipc_send() 1009 so->so_type == SOCK_SEQPACKET, in uipc_send() 1021 switch (so->so_type) { in uipc_send() 1121 switch (so->so_type) { in uipc_send() 1600 if (so->so_type != so2->so_type) { in unp_connectat() 1696 if (so2->so_type != so->so_type) in unp_connect2() [all …]
|
| H A D | uipc_socket.c | 538 so->so_type = type; in socreate() 720 so->so_type = head->so_type; 813 so->so_type = head->so_type; 1381 KASSERT(so->so_type == SOCK_DGRAM, ("sosend_dgram: !SOCK_DGRAM")); 1571 if (resid < 0 || (so->so_type == SOCK_STREAM && (flags & MSG_EOR))) { 2404 if (so->so_type != SOCK_STREAM) 2838 if (so->so_type != SOCK_DGRAM && !SOLISTENING(so)) 3286 optval = so->so_type; 4316 xso->so_type = so->so_type;
|
| H A D | sys_socket.c | 379 kif->kf_un.kf_sock.kf_sock_type0 = so->so_type; in soo_fill_kinfo()
|
| /freebsd-13.1/sys/security/mac_portacl/ |
| H A D | mac_portacl.c | 454 if (so->so_type != SOCK_DGRAM && in socket_check_bind() 455 so->so_type != SOCK_STREAM) in socket_check_bind() 463 type = so->so_type; in socket_check_bind()
|
| /freebsd-13.1/sys/security/audit/ |
| H A D | bsm_token.c | 926 au_to_socket_ex(u_short so_domain, u_short so_type, in au_to_socket_ex() argument 945 ADD_U_INT16(dptr, au_socket_type_to_bsm(so_type)); in au_to_socket_ex() 978 u_int16_t so_type; in kau_to_socket() local 985 so_type = soi->so_type; in kau_to_socket() 986 ADD_U_INT16(dptr, so_type); in kau_to_socket()
|
| H A D | audit_arg.c | 447 ar->k_ar.ar_arg_sockinfo.so_type = sotype; in audit_arg_socket() 700 ar->k_ar.ar_arg_sockinfo.so_type = in audit_arg_file() 701 so->so_type; in audit_arg_file()
|
| H A D | audit_private.h | 125 int so_type; member
|
| /freebsd-13.1/sys/sys/ |
| H A D | socketvar.h | 94 short so_type; /* (a) generic type, see socket.h */ member 534 int16_t so_type; member
|
| /freebsd-13.1/sys/fs/nfsserver/ |
| H A D | nfs_nfsdkrpc.c | 469 if (so->so_type == SOCK_DGRAM) in nfsrvd_addsock() 486 if (so->so_type == SOCK_STREAM) in nfsrvd_addsock()
|
| /freebsd-13.1/sys/fs/nfsclient/ |
| H A D | nfs_clkrpc.c | 201 if (so->so_type == SOCK_DGRAM) in nfscbd_addsock()
|
| /freebsd-13.1/usr.bin/netstat/ |
| H A D | unix.c | 319 (long)so->so_pcb, socktype[so->so_type], so->so_rcv.sb_cc, in unixdomainpr()
|
| H A D | inet.c | 167 xso->so_type = so->so_type; in sotoxsocket()
|
| /freebsd-13.1/sys/dev/hyperv/hvsock/ |
| H A D | hv_sock.c | 364 if (so->so_type != SOCK_STREAM) in hvs_trans_attach() 648 if (so->so_type != SOCK_STREAM) in hvs_trans_soreceive() 813 if (so->so_type != SOCK_STREAM) in hvs_trans_sosend()
|
| /freebsd-13.1/sys/compat/cloudabi/ |
| H A D | cloudabi_fd.c | 209 switch (so->so_type) { in cloudabi_convert_filetype()
|
| /freebsd-13.1/contrib/openbsm/sys/bsm/ |
| H A D | audit_record.h | 259 token_t *au_to_socket_ex(u_short so_domain, u_short so_type,
|
| /freebsd-13.1/sys/bsm/ |
| H A D | audit_record.h | 267 token_t *au_to_socket_ex(u_short so_domain, u_short so_type,
|
| /freebsd-13.1/sys/netinet/ |
| H A D | sctp_os_bsd.h | 374 #define SCTP_SO_TYPE(so) ((so)->so_type)
|
| /freebsd-13.1/sys/netinet6/ |
| H A D | in6_pcb.c | 221 (so->so_type != SOCK_STREAM || in in6_pcbbind() 253 (so->so_type != SOCK_STREAM || in in6_pcbbind()
|
| H A D | ip6_mroute.c | 559 so->so_type, so->so_proto->pr_protocol); in ip6_mrouter_init() 561 if (so->so_type != SOCK_RAW || in ip6_mrouter_init()
|
| /freebsd-13.1/sys/dev/iscsi/ |
| H A D | icl_soft.c | 1359 if (so->so_type != SOCK_STREAM) { in icl_soft_conn_handoff() 1507 if (so->so_type != SOCK_STREAM) in icl_soft_handoff_sock()
|
| /freebsd-13.1/contrib/openbsm/libbsm/ |
| H A D | bsm_token.c | 1006 au_to_socket_ex(u_short so_domain, u_short so_type, in au_to_socket_ex() argument 1029 ADD_U_INT16(dptr, au_socket_type_to_bsm(so_type)); in au_to_socket_ex()
|
| /freebsd-13.1/sys/ofed/drivers/infiniband/ulp/sdp/ |
| H A D | sdp_main.c | 1098 if (resid < 0 || (so->so_type == SOCK_STREAM && (flags & MSG_EOR))) { in sdp_sosend() 1249 if (so->so_type != SOCK_STREAM) in sdp_sorecv()
|
| /freebsd-13.1/sys/compat/linux/ |
| H A D | linux_socket.c | 1037 if (so->so_type == SOCK_DGRAM) in linux_accept_common() 1370 if (so->so_type != SOCK_STREAM) in linux_sendmsg_common()
|
| /freebsd-13.1/sys/netgraph/ |
| H A D | ng_ksocket.c | 1109 if (so->so_type == SOCK_STREAM) { in ng_ksocket_incoming2()
|