Home
last modified time | relevance | path

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

12

/freebsd-13.1/sys/kern/
H A Duipc_debug.c49 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 Duipc_usrreq.c526 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 Duipc_socket.c538 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 Dsys_socket.c379 kif->kf_un.kf_sock.kf_sock_type0 = so->so_type; in soo_fill_kinfo()
/freebsd-13.1/sys/security/mac_portacl/
H A Dmac_portacl.c454 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 Dbsm_token.c926 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 Daudit_arg.c447 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 Daudit_private.h125 int so_type; member
/freebsd-13.1/sys/sys/
H A Dsocketvar.h94 short so_type; /* (a) generic type, see socket.h */ member
534 int16_t so_type; member
/freebsd-13.1/sys/fs/nfsserver/
H A Dnfs_nfsdkrpc.c469 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 Dnfs_clkrpc.c201 if (so->so_type == SOCK_DGRAM) in nfscbd_addsock()
/freebsd-13.1/usr.bin/netstat/
H A Dunix.c319 (long)so->so_pcb, socktype[so->so_type], so->so_rcv.sb_cc, in unixdomainpr()
H A Dinet.c167 xso->so_type = so->so_type; in sotoxsocket()
/freebsd-13.1/sys/dev/hyperv/hvsock/
H A Dhv_sock.c364 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 Dcloudabi_fd.c209 switch (so->so_type) { in cloudabi_convert_filetype()
/freebsd-13.1/contrib/openbsm/sys/bsm/
H A Daudit_record.h259 token_t *au_to_socket_ex(u_short so_domain, u_short so_type,
/freebsd-13.1/sys/bsm/
H A Daudit_record.h267 token_t *au_to_socket_ex(u_short so_domain, u_short so_type,
/freebsd-13.1/sys/netinet/
H A Dsctp_os_bsd.h374 #define SCTP_SO_TYPE(so) ((so)->so_type)
/freebsd-13.1/sys/netinet6/
H A Din6_pcb.c221 (so->so_type != SOCK_STREAM || in in6_pcbbind()
253 (so->so_type != SOCK_STREAM || in in6_pcbbind()
H A Dip6_mroute.c559 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 Dicl_soft.c1359 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 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-13.1/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_main.c1098 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 Dlinux_socket.c1037 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 Dng_ksocket.c1109 if (so->so_type == SOCK_STREAM) { in ng_ksocket_incoming2()

12