Home
last modified time | relevance | path

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

12

/f-stack/freebsd/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.c540 so->so_type = type; in socreate()
722 so->so_type = head->so_type;
815 so->so_type = head->so_type;
1385 KASSERT(so->so_type == SOCK_DGRAM, ("sosend_dgram: !SOCK_DGRAM"));
1575 if (resid < 0 || (so->so_type == SOCK_STREAM && (flags & MSG_EOR))) {
2401 if (so->so_type != SOCK_STREAM)
2836 if (so->so_type != SOCK_DGRAM && !SOLISTENING(so))
3279 optval = so->so_type;
4265 xso->so_type = so->so_type;
H A Dsys_socket.c384 kif->kf_un.kf_sock.kf_sock_type0 = so->so_type; in soo_fill_kinfo()
H A Dkern_sendfile.c663 if ((*so)->so_type != SOCK_STREAM) in sendfile_getsock()
/f-stack/freebsd/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()
/f-stack/freebsd/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
H A Daudit_bsm.c618 ar->ar_arg_sockinfo.so_type); in kaudit_to_bsm()
/f-stack/tools/compat/include/sys/
H A Dsocketvar.h94 short so_type; /* (a) generic type, see socket.h */ member
519 int16_t so_type; member
/f-stack/freebsd/sys/
H A Dsocketvar.h94 short so_type; /* (a) generic type, see socket.h */ member
519 int16_t so_type; member
/f-stack/tools/netstat/
H A Dunix.c327 (long)so->so_pcb, socktype[so->so_type], so->so_rcv.sb_cc, in unixdomainpr()
H A Dinet.c168 xso->so_type = so->so_type; in sotoxsocket()
/f-stack/freebsd/bsm/
H A Daudit_record.h267 token_t *au_to_socket_ex(u_short so_domain, u_short so_type,
/f-stack/freebsd/netinet/
H A Dsctp_os_bsd.h375 #define SCTP_SO_TYPE(so) ((so)->so_type)
H A Dip_input.c1356 if (so->so_type != SOCK_RAW || in ip_rsvp_init()
H A Dip_mroute.c659 so->so_type, so->so_proto->pr_protocol); in ip_mrouter_init()
661 if (so->so_type != SOCK_RAW || so->so_proto->pr_protocol != IPPROTO_IGMP) in ip_mrouter_init()
H A Dudp_usrreq.c1597 KASSERT(so->so_type == SOCK_DGRAM, in udp_set_kernel_tunneling()
/f-stack/freebsd/netinet6/
H A Din6_pcb.c226 (so->so_type != SOCK_STREAM || in in6_pcbbind()
258 (so->so_type != SOCK_STREAM || in in6_pcbbind()
H A Dip6_mroute.c562 so->so_type, so->so_proto->pr_protocol); in ip6_mrouter_init()
564 if (so->so_type != SOCK_RAW || in ip6_mrouter_init()
/f-stack/freebsd/netgraph/
H A Dng_ksocket.c1109 if (so->so_type == SOCK_STREAM) { in ng_ksocket_incoming2()
/f-stack/freebsd/netgraph/bluetooth/socket/
H A Dng_btsocket_l2cap_raw.c619 if (so->so_type != SOCK_RAW) in ng_btsocket_l2cap_raw_attach()
H A Dng_btsocket_hci_raw.c923 if (so->so_type != SOCK_RAW) in ng_btsocket_hci_raw_attach()
H A Dng_btsocket_sco.c1209 if (so->so_type != SOCK_SEQPACKET) in ng_btsocket_sco_attach()

12