Home
last modified time | relevance | path

Searched refs:so_type (Results 1 – 25 of 36) sorted by relevance

12

/freebsd-14.2/sys/kern/
H A Duipc_debug.c47 db_print_sotype(short so_type) in db_print_sotype() argument
50 switch (so_type) { in db_print_sotype()
413 db_printf("so_type: %d (", so->so_type); in db_print_socket()
414 db_print_sotype(so->so_type); in db_print_socket()
H A Duipc_usrreq.c476 switch (so->so_type) { in uipc_attach()
521 switch (so->so_type) { in uipc_attach()
737 if (so1->so_type != so2->so_type) in uipc_connect2()
824 switch (so->so_type) { in uipc_detach()
924 KASSERT(so->so_type == SOCK_STREAM || so->so_type == SOCK_SEQPACKET, in uipc_rcvd()
976 KASSERT(so->so_type == SOCK_STREAM || so->so_type == SOCK_SEQPACKET, in uipc_send()
1036 switch (so->so_type) { in uipc_send()
1959 if (so->so_type != so2->so_type) { in unp_connectat()
2058 MPASS(so2->so_type == so->so_type); in unp_connect2()
2072 switch (so->so_type) { in unp_connect2()
[all …]
H A Duipc_socket.c935 so->so_type = type; in socreate()
1148 so->so_type = head->so_type;
1292 so->so_type = head->so_type;
2064 KASSERT(so->so_type == SOCK_DGRAM, ("sosend_dgram: !SOCK_DGRAM"));
2256 if (resid < 0 || (so->so_type == SOCK_STREAM && (flags & MSG_EOR))) {
3346 if (so->so_type != SOCK_STREAM)
3615 if (so->so_type != SOCK_DGRAM && !SOLISTENING(so)) {
4095 optval = so->so_type;
5011 xso->so_type = so->so_type;
H A Dsys_socket.c373 kif->kf_un.kf_sock.kf_sock_type0 = so->so_type; in soo_fill_kinfo()
/freebsd-14.2/sys/security/mac_portacl/
H A Dmac_portacl.c452 if (so->so_type != SOCK_DGRAM && in socket_check_bind()
453 so->so_type != SOCK_STREAM) in socket_check_bind()
461 type = so->so_type; in socket_check_bind()
/freebsd-14.2/sys/security/audit/
H A Dbsm_token.c924 au_to_socket_ex(u_short so_domain, u_short so_type, in au_to_socket_ex() argument
943 ADD_U_INT16(dptr, au_socket_type_to_bsm(so_type)); in au_to_socket_ex()
976 u_int16_t so_type; in kau_to_socket() local
983 so_type = soi->so_type; in kau_to_socket()
984 ADD_U_INT16(dptr, so_type); in kau_to_socket()
H A Daudit_arg.c445 ar->k_ar.ar_arg_sockinfo.so_type = sotype; in audit_arg_socket()
698 ar->k_ar.ar_arg_sockinfo.so_type = in audit_arg_file()
699 so->so_type; in audit_arg_file()
H A Daudit_private.h123 int so_type; member
/freebsd-14.2/sys/fs/nfsclient/
H A Dnfs_clkrpc.c199 if (so->so_type == SOCK_DGRAM) in nfscbd_addsock()
/freebsd-14.2/sys/sys/
H A Dsocketvar.h116 short so_type; /* (a) generic type, see socket.h */ member
619 int16_t so_type; member
/freebsd-14.2/sys/fs/nfsserver/
H A Dnfs_nfsdkrpc.c543 if (so->so_type == SOCK_DGRAM) in nfsrvd_addsock()
561 if (so->so_type == SOCK_STREAM) in nfsrvd_addsock()
/freebsd-14.2/usr.bin/netstat/
H A Dunix.c317 (long)so->so_pcb, socktype[so->so_type], so->so_rcv.sb_cc, in unixdomainpr()
H A Dinet.c163 xso->so_type = so->so_type; in sotoxsocket()
/freebsd-14.2/sys/dev/hyperv/hvsock/
H A Dhv_sock.c354 if (so->so_type != SOCK_STREAM) in hvs_trans_attach()
632 if (so->so_type != SOCK_STREAM) in hvs_trans_soreceive()
797 if (so->so_type != SOCK_STREAM) in hvs_trans_sosend()
/freebsd-14.2/sys/bsm/
H A Daudit_record.h265 token_t *au_to_socket_ex(u_short so_domain, u_short so_type,
/freebsd-14.2/contrib/openbsm/sys/bsm/
H A Daudit_record.h259 token_t *au_to_socket_ex(u_short so_domain, u_short so_type,
/freebsd-14.2/sys/netinet/
H A Dsctp_os_bsd.h370 #define SCTP_SO_TYPE(so) ((so)->so_type)
/freebsd-14.2/sys/netinet6/
H A Din6_pcb.c263 (so->so_type != SOCK_STREAM || in in6_pcbbind()
283 (so->so_type != SOCK_STREAM || in in6_pcbbind()
/freebsd-14.2/sys/dev/iscsi/
H A Dicl_soft.c1544 if (so->so_type != SOCK_STREAM) { in icl_soft_conn_handoff()
1692 if (so->so_type != SOCK_STREAM) in icl_soft_handoff_sock()
/freebsd-14.2/contrib/openbsm/libbsm/
H A Dbsm_token.c1006 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-14.2/sys/compat/linux/
H A Dlinux_socket.c1071 if (so->so_type == SOCK_DGRAM) in linux_accept_common()
1418 if (so->so_type != SOCK_STREAM) in linux_sendmsg_common()
2416 if (so->so_type != SOCK_STREAM) in is_sendfile()
/freebsd-14.2/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_main.c1072 if (resid < 0 || (so->so_type == SOCK_STREAM && (flags & MSG_EOR))) { in sdp_sosend()
1223 if (so->so_type != SOCK_STREAM) in sdp_sorecv()
/freebsd-14.2/sys/dev/cxgbe/cxgbei/
H A Dicl_cxgbei.c1121 if (so->so_type != SOCK_STREAM || in icl_cxgbei_conn_handoff()
1796 if (so->so_type != SOCK_STREAM || in cxgbei_limits_fd()
/freebsd-14.2/sys/netgraph/
H A Dng_ksocket.c1123 if (so->so_type == SOCK_STREAM) { in ng_ksocket_incoming2()
/freebsd-14.2/sys/netgraph/bluetooth/socket/
H A Dng_btsocket_l2cap_raw.c616 if (so->so_type != SOCK_RAW) in ng_btsocket_l2cap_raw_attach()

12