| /src/sys/kern/ |
| H A D | uipc_debug.c | 47 db_print_sotype(short so_type) in db_print_sotype() argument 50 switch (so_type) { in db_print_sotype() 393 db_printf("so_type: %d (", so->so_type); in db_print_socket() 394 db_print_sotype(so->so_type); in db_print_socket()
|
| H A D | uipc_usrreq.c | 486 switch (so->so_type) { in uipc_attach() 538 switch (so->so_type) { in uipc_attach() 777 if (so1->so_type != so2->so_type) in uipc_connect2() 871 switch (so->so_type) { in uipc_detach() 926 MPASS(so->so_type != SOCK_DGRAM); in uipc_listen() 2405 MPASS(so->so_type == SOCK_STREAM); in uipc_sendfile_wait() 2465 MPASS(so->so_type == SOCK_STREAM); in uipc_sendfile() 2587 MPASS(so->so_type == SOCK_STREAM); in uipc_ready() 2671 if (so->so_type != SOCK_DGRAM) { in uipc_shutdown() 2681 if (so->so_type == SOCK_DGRAM) in uipc_shutdown() [all …]
|
| H A D | uipc_socket.c | 1019 so->so_type = type; in socreate() 1224 so->so_type = head->so_type; 1364 KASSERT(head->so_type == SOCK_SEQPACKET, 1365 ("%s: unexpecte so_type: %d", __func__, head->so_type)); 1373 so->so_type = SOCK_STREAM; 2211 KASSERT(so->so_type == SOCK_DGRAM, ("sosend_dgram: !SOCK_DGRAM")); 2402 if (resid < 0 || (so->so_type == SOCK_STREAM && (flags & MSG_EOR))) { 3480 if (so->so_type != SOCK_STREAM) 4181 optval = so->so_type; 5094 xso->so_type = so->so_type;
|
| H A D | sys_socket.c | 404 kif->kf_un.kf_sock.kf_sock_type0 = so->so_type; in soo_fill_kinfo()
|
| /src/sys/security/mac_portacl/ |
| H A D | mac_portacl.c | 450 if (so->so_type != SOCK_DGRAM && in socket_check_bind() 451 so->so_type != SOCK_STREAM) in socket_check_bind() 459 type = so->so_type; in socket_check_bind()
|
| /src/sys/security/audit/ |
| H A D | bsm_token.c | 923 au_to_socket_ex(u_short so_domain, u_short so_type, in au_to_socket_ex() argument 942 ADD_U_INT16(dptr, au_socket_type_to_bsm(so_type)); in au_to_socket_ex() 975 u_int16_t so_type; in kau_to_socket() local 982 so_type = soi->so_type; in kau_to_socket() 983 ADD_U_INT16(dptr, so_type); in kau_to_socket()
|
| H A D | audit_arg.c | 444 ar->k_ar.ar_arg_sockinfo.so_type = sotype; in audit_arg_socket() 697 ar->k_ar.ar_arg_sockinfo.so_type = in audit_arg_file() 698 so->so_type; in audit_arg_file()
|
| H A D | audit_private.h | 123 int so_type; member
|
| /src/sys/fs/nfsclient/ |
| H A D | nfs_clkrpc.c | 199 if (so->so_type == SOCK_DGRAM) in nfscbd_addsock()
|
| /src/sys/fs/nfsserver/ |
| H A D | nfs_nfsdkrpc.c | 543 if (so->so_type == SOCK_DGRAM) in nfsrvd_addsock() 561 if (so->so_type == SOCK_STREAM) in nfsrvd_addsock()
|
| /src/sys/sys/ |
| H A D | socketvar.h | 115 short so_type; /* (a) generic type, see socket.h */ member 624 int16_t so_type; member
|
| /src/usr.bin/netstat/ |
| H A D | unix.c | 310 (long)so->so_pcb, socktype[so->so_type], so->so_rcv.sb_cc, in unixdomainpr()
|
| H A D | inet.c | 158 xso->so_type = so->so_type; in sotoxsocket()
|
| /src/sys/dev/hyperv/hvsock/ |
| H A D | hv_sock.c | 353 if (so->so_type != SOCK_STREAM) in hvs_trans_attach() 630 if (so->so_type != SOCK_STREAM) in hvs_trans_soreceive() 795 if (so->so_type != SOCK_STREAM) in hvs_trans_sosend()
|
| /src/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,
|
| /src/sys/bsm/ |
| H A D | audit_record.h | 265 token_t *au_to_socket_ex(u_short so_domain, u_short so_type,
|
| /src/sys/netinet/ |
| H A D | sctp_os_bsd.h | 363 #define SCTP_SO_TYPE(so) ((so)->so_type)
|
| /src/sys/netinet6/ |
| H A D | in6_pcb.c | 244 (inp->inp_socket->so_type != SOCK_STREAM || in in6_pcbbind_avail() 259 (inp->inp_socket->so_type != SOCK_STREAM || in in6_pcbbind_avail()
|
| /src/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()
|
| /src/sys/dev/iscsi/ |
| H A D | icl_soft.c | 1543 if (so->so_type != SOCK_STREAM) { in icl_soft_conn_handoff() 1691 if (so->so_type != SOCK_STREAM) in icl_soft_handoff_sock()
|
| /src/sys/compat/linux/ |
| H A D | linux_socket.c | 1071 if (so->so_type == SOCK_DGRAM) in linux_accept_common() 1421 if (so->so_type != SOCK_STREAM) in linux_sendmsg_common() 2446 if (so->so_type != SOCK_STREAM) in is_sendfile()
|
| /src/sys/ofed/drivers/infiniband/ulp/sdp/ |
| H A D | sdp_main.c | 1077 if (resid < 0 || (so->so_type == SOCK_STREAM && (flags & MSG_EOR))) { in sdp_sosend() 1228 if (so->so_type != SOCK_STREAM) in sdp_sorecv()
|
| /src/sys/dev/cxgbe/cxgbei/ |
| H A D | icl_cxgbei.c | 1044 if (so->so_type != SOCK_STREAM || in icl_cxgbei_conn_handoff() 1714 if (so->so_type != SOCK_STREAM || in cxgbei_limits_fd()
|
| /src/sys/netgraph/bluetooth/socket/ |
| H A D | ng_btsocket_l2cap_raw.c | 616 if (so->so_type != SOCK_RAW) in ng_btsocket_l2cap_raw_attach()
|
| /src/sys/netgraph/ |
| H A D | ng_ksocket.c | 1200 if (so->so_type == SOCK_STREAM) { in ng_ksocket_incoming2()
|