Home
last modified time | relevance | path

Searched refs:pr_type (Results 1 – 20 of 20) sorted by relevance

/xnu-8796.121.2/bsd/netinet/
H A Din_proto.c120 .pr_type = 0,
127 .pr_type = SOCK_DGRAM,
143 .pr_type = SOCK_STREAM,
161 .pr_type = SOCK_RAW,
173 .pr_type = SOCK_RAW,
184 .pr_type = SOCK_DGRAM,
195 .pr_type = SOCK_RAW,
207 .pr_type = SOCK_RAW,
220 .pr_type = SOCK_RAW,
228 .pr_type = SOCK_RAW,
[all …]
H A Dmp_proto.c46 .pr_type = SOCK_STREAM,
/xnu-8796.121.2/bsd/netinet6/
H A Din6_proto.c163 .pr_type = 0,
170 .pr_type = SOCK_DGRAM,
188 .pr_type = SOCK_STREAM,
208 .pr_type = SOCK_RAW,
224 .pr_type = SOCK_RAW,
238 .pr_type = SOCK_DGRAM,
252 .pr_type = SOCK_RAW,
259 .pr_type = SOCK_RAW,
266 .pr_type = SOCK_RAW,
274 .pr_type = SOCK_RAW,
[all …]
H A Dip6protosw.h159 u_int16_t pr_type; /* socket type used for */ member
/xnu-8796.121.2/bsd/kern/
H A Duipc_domain.c404 if (pp1->pr_type == pp->pr_type && in net_add_proto()
466 if (pp1->pr_type == opp->pr_type && in net_add_proto_old()
520 pp->pr_type = opp->pr_type; in net_add_proto_old()
574 if (pp->pr_type == type && pp->pr_protocol == protocol) { in net_del_proto()
625 if (pp->pr_type == type && pp->pr_protocol == protocol) { in net_del_proto_old()
779 if (pp->pr_type != 0 && pp->pr_type == type) { in pffindtype()
855 if ((pp->pr_protocol == protocol) && (pp->pr_type == type)) { in pffindproto_locked()
859 if (type == SOCK_RAW && pp->pr_type == SOCK_RAW && in pffindproto_locked()
H A Duipc_proto.c85 .pr_type = SOCK_STREAM,
94 .pr_type = SOCK_DGRAM,
H A Dkern_control.c186 .pr_type = SOCK_DGRAM,
196 .pr_type = SOCK_STREAM,
H A Dvsock_domain.c1419 .pr_type = SOCK_STREAM,
H A Dsocket_flows.c133 #define SOFLOW_IS_UDP(so) (so && so->so_proto && so->so_proto->pr_type == SOCK_DGRAM && so->so_prot…
H A Duipc_socket.c663 if (prp->pr_type != type) { in socreate_internal()
1840 …if (so->so_proto && so->so_proto->pr_type == SOCK_STREAM && so->so_proto->pr_protocol == IPPROTO_T… in soconnectxlocked()
H A Dkern_event.c8023 .pr_type = SOCK_RAW,
/xnu-8796.121.2/bsd/sys/
H A Dprotosw.h172 short pr_type; /* socket type used for */ member
259 u_int16_t pr_type; /* socket type used for */ member
H A Dsocketvar.h705 #define SOCK_TYPE(so) ((so)->so_proto->pr_type)
996 #define IS_TCP(so) (so != NULL && so->so_proto != NULL && so->so_proto->pr_type == SOCK_STREAM && s…
997 #define IS_UDP(so) (so != NULL && so->so_proto != NULL && so->so_proto->pr_type == SOCK_DGRAM && so…
/xnu-8796.121.2/bsd/net/
H A Dif_gif.c133 .pr_type = SOCK_RAW,
143 .pr_type = SOCK_RAW,
H A Dif_stf.c175 .pr_type = SOCK_RAW,
H A Dcontent_filter.c556 …ine IS_ICMP(so) (so && so->so_proto && (so->so_proto->pr_type == SOCK_RAW || so->so_proto->pr_type
558 #define IS_RAW(so) (so && so->so_proto && so->so_proto->pr_type == SOCK_RAW && so->so_proto->pr_p…
579 so->so_proto->pr_type != SOCK_STREAM || \
2214 sock_info->cfs_sock_type = sock->so_proto->pr_type; in cfil_ctl_getopt()
3276 msg_attached->cfs_sock_type = so->so_proto->pr_type; in cfil_dispatch_attach_event()
5689 stat.cfs_sock_type = so->so_proto->pr_type; in sysctl_cfil_sock_list()
H A Dndrv.c1108 .pr_type = SOCK_RAW,
H A Drtsock.c2242 .pr_type = SOCK_RAW,
/xnu-8796.121.2/bsd/netkey/
H A Dkeysock.c556 .pr_type = SOCK_RAW,
/xnu-8796.121.2/tools/lldbmacros/
H A Dnet.py2094 …out_string += "\ttype " + str(int(pr.pr_type)) + ", protocol " + str(int(pr.pr_protocol)) + ", pro…