| /freebsd-12.1/sys/kern/ |
| H A D | uipc_usrreq.c | 495 switch (so->so_type) { in uipc_attach() 535 switch (so->so_type) { in uipc_attach() 898 if (so->so_type != SOCK_STREAM && so->so_type != SOCK_SEQPACKET) in uipc_listen() 965 KASSERT(so->so_type == SOCK_STREAM || so->so_type == SOCK_SEQPACKET, in uipc_rcvd() 1039 KASSERT(so->so_type == SOCK_STREAM || so->so_type == SOCK_DGRAM || in uipc_send() 1040 so->so_type == SOCK_SEQPACKET, in uipc_send() 1052 switch (so->so_type) { in uipc_send() 1188 switch (so->so_type) { in uipc_send() 1585 if (so->so_type != so2->so_type) { in unp_connectat() 1683 if (so2->so_type != so->so_type) in unp_connect2() [all …]
|
| 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_socket.c | 530 so->so_type = type; in socreate() 618 so->so_type = head->so_type; 711 so->so_type = head->so_type; 1280 KASSERT(so->so_type == SOCK_DGRAM, ("sosend_dgram: !SOCK_DGRAM")); 1460 if (resid < 0 || (so->so_type == SOCK_STREAM && (flags & MSG_EOR))) { 2179 if (so->so_type != SOCK_STREAM) 2592 if (so->so_type != SOCK_DGRAM && !SOLISTENING(so)) 3035 optval = so->so_type; 4020 xso->so_type = so->so_type;
|
| H A D | sys_socket.c | 361 kif->kf_un.kf_sock.kf_sock_type0 = so->so_type; in soo_fill_kinfo()
|
| H A D | kern_sendfile.c | 484 if ((*so)->so_type != SOCK_STREAM) in sendfile_getsock()
|
| /freebsd-12.1/sys/security/mac_portacl/ |
| H A D | mac_portacl.c | 451 if (so->so_type != SOCK_DGRAM && in socket_check_bind() 452 so->so_type != SOCK_STREAM) in socket_check_bind() 460 type = so->so_type; in socket_check_bind()
|
| /freebsd-12.1/sys/security/audit/ |
| H A D | bsm_token.c | 928 au_to_socket_ex(u_short so_domain, u_short so_type, in au_to_socket_ex() argument 947 ADD_U_INT16(dptr, au_socket_type_to_bsm(so_type)); in au_to_socket_ex() 980 u_int16_t so_type; in kau_to_socket() local 987 so_type = soi->so_type; in kau_to_socket() 988 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-12.1/sys/sys/ |
| H A D | socketvar.h | 87 short so_type; /* (a) generic type, see socket.h */ member 490 int16_t so_type; member
|
| /freebsd-12.1/sys/fs/nfsserver/ |
| H A D | nfs_nfsdkrpc.c | 450 if (so->so_type == SOCK_DGRAM) in nfsrvd_addsock() 467 if (so->so_type == SOCK_STREAM) in nfsrvd_addsock()
|
| /freebsd-12.1/sys/fs/nfsclient/ |
| H A D | nfs_clkrpc.c | 190 if (so->so_type == SOCK_DGRAM) in nfscbd_addsock()
|
| /freebsd-12.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 | 165 xso->so_type = so->so_type; in sotoxsocket()
|
| /freebsd-12.1/sys/compat/cloudabi/ |
| H A D | cloudabi_fd.c | 208 switch (so->so_type) { in cloudabi_convert_filetype()
|
| /freebsd-12.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-12.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-12.1/sys/netinet/ |
| H A D | sctp_os_bsd.h | 380 #define SCTP_SO_TYPE(so) ((so)->so_type)
|
| /freebsd-12.1/sys/netinet6/ |
| H A D | in6_pcb.c | 227 (so->so_type != SOCK_STREAM || in in6_pcbbind() 259 (so->so_type != SOCK_STREAM || in in6_pcbbind()
|
| H A D | ip6_mroute.c | 560 so->so_type, so->so_proto->pr_protocol); in ip6_mrouter_init() 562 if (so->so_type != SOCK_RAW || in ip6_mrouter_init()
|
| /freebsd-12.1/sys/dev/iscsi/ |
| H A D | icl_soft.c | 1338 if (so->so_type != SOCK_STREAM) { in icl_soft_conn_handoff() 1478 if (so->so_type != SOCK_STREAM) in icl_soft_handoff_sock()
|
| /freebsd-12.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-12.1/sys/ofed/drivers/infiniband/ulp/sdp/ |
| H A D | sdp_main.c | 1086 if (resid < 0 || (so->so_type == SOCK_STREAM && (flags & MSG_EOR))) { in sdp_sosend() 1237 if (so->so_type != SOCK_STREAM) in sdp_sorecv()
|
| /freebsd-12.1/sys/netgraph/ |
| H A D | ng_ksocket.c | 1111 if (so->so_type == SOCK_STREAM) { in ng_ksocket_incoming2()
|
| /freebsd-12.1/sys/netgraph/bluetooth/socket/ |
| H A D | ng_btsocket_l2cap_raw.c | 619 if (so->so_type != SOCK_RAW) in ng_btsocket_l2cap_raw_attach()
|