Home
last modified time | relevance | path

Searched refs:pr_protocol (Results 1 – 24 of 24) sorted by relevance

/xnu-10002.41.9/bsd/netinet/
H A Din_proto.c121 .pr_protocol = 0,
128 .pr_protocol = IPPROTO_UDP,
144 .pr_protocol = IPPROTO_TCP,
162 .pr_protocol = IPPROTO_RAW,
174 .pr_protocol = IPPROTO_ICMP,
185 .pr_protocol = IPPROTO_ICMP,
196 .pr_protocol = IPPROTO_IGMP,
208 .pr_protocol = IPPROTO_GRE,
221 .pr_protocol = IPPROTO_AH,
229 .pr_protocol = IPPROTO_ESP,
[all …]
H A Dmp_proto.c47 .pr_protocol = IPPROTO_TCP,
H A Dip_input.c515 if (pr->pr_protocol != 0 && pr->pr_protocol != IPPROTO_RAW) { in ip_init()
517 if (pr->pr_protocol < IPPROTO_MAX) { in ip_init()
518 ip_protox[pr->pr_protocol] = pr; in ip_init()
H A Din_pcb.c606 proto = inp->inp_socket->so_proto->pr_protocol; in inp_snprintf_tuple()
1015 (uint8_t)so->so_proto->pr_protocol, PORT_FLAGS_BSD)) { in in_pcbbind()
/xnu-10002.41.9/bsd/netinet6/
H A Din6_proto.c164 .pr_protocol = IPPROTO_IPV6,
171 .pr_protocol = IPPROTO_UDP,
189 .pr_protocol = IPPROTO_TCP,
209 .pr_protocol = IPPROTO_RAW,
225 .pr_protocol = IPPROTO_ICMPV6,
239 .pr_protocol = IPPROTO_ICMPV6,
253 .pr_protocol = IPPROTO_DSTOPTS,
260 .pr_protocol = IPPROTO_ROUTING,
267 .pr_protocol = IPPROTO_FRAGMENT,
275 .pr_protocol = IPPROTO_AH,
[all …]
H A Dip6protosw.h160 u_int16_t pr_protocol; /* protocol number */ member
H A Dip6_input.c407 if (pr->pr_protocol != 0 && pr->pr_protocol != IPPROTO_RAW) { in ip6_init()
409 if (pr->pr_protocol < IPPROTO_MAX) { in ip6_init()
410 ip6_protox[pr->pr_protocol] = in ip6_init()
2102 (so->so_proto == NULL || so->so_proto->pr_protocol == IPPROTO_TCP)) { in ip6_notify_pmtu()
H A Din6_pcb.c738 if (so->so_proto->pr_protocol == IPPROTO_UDP && in in6_pcbconnect()
/xnu-10002.41.9/bsd/kern/
H A Duipc_domain.c398 __func__, dp->dom_family, dp->dom_name, pp->pr_protocol); in net_add_proto()
404 __func__, dp->dom_family, dp->dom_name, pp->pr_protocol); in net_add_proto()
410 pp1->pr_protocol == pp->pr_protocol) { in net_add_proto()
472 pp1->pr_protocol == opp->pr_protocol) { in net_add_proto_old()
480 __func__, odp->dom_family, odp->dom_name, opp->pr_protocol); in net_add_proto_old()
516 odp->dom_family, odp->dom_name, opp->pr_protocol); in net_add_proto_old()
521 odp->dom_family, odp->dom_name, opp->pr_protocol); in net_add_proto_old()
526 pp->pr_protocol = opp->pr_protocol; in net_add_proto_old()
548 odp->dom_name, opp->pr_protocol, error); in net_add_proto_old()
579 if (pp->pr_type == type && pp->pr_protocol == protocol) { in net_del_proto()
[all …]
H A Dsocket_flows.c133 …&& so->so_proto && so->so_proto->pr_type == SOCK_DGRAM && so->so_proto->pr_protocol == IPPROTO_UDP)
134 #define SOFLOW_GET_SO_PROTO(so) ((so && so->so_proto) ? so->so_proto->pr_protocol : IPPROTO_MAX)
H A Dkern_control.c185 .pr_protocol = SYSPROTO_CONTROL,
195 .pr_protocol = SYSPROTO_CONTROL,
H A Dvsock_domain.c1420 .pr_protocol = 0,
H A Duipc_socket.c1844 …if (so->so_proto && so->so_proto->pr_type == SOCK_STREAM && so->so_proto->pr_protocol == IPPROTO_T… in soconnectxlocked()
H A Dkern_event.c8063 .pr_protocol = SYSPROTO_EVENT,
/xnu-10002.41.9/bsd/skywalk/namespace/
H A Dprotons.c246 proto = (uint8_t)pp->pr_protocol; in protons_init_netinet_protocol()
254 proto = (uint8_t)pp->pr_protocol; in protons_init_netinet_protocol()
/xnu-10002.41.9/bsd/sys/
H A Dprotosw.h174 short pr_protocol; /* protocol number */ member
260 u_int16_t pr_protocol; /* protocol number */ member
H A Dsocketvar.h715 #define SOCK_PROTO(so) ((so)->so_proto->pr_protocol)
1009 …_proto != NULL && so->so_proto->pr_type == SOCK_STREAM && so->so_proto->pr_protocol == IPPROTO_TCP)
1010 …o_proto != NULL && so->so_proto->pr_type == SOCK_DGRAM && so->so_proto->pr_protocol == IPPROTO_UDP)
/xnu-10002.41.9/bsd/net/
H A Dif_gif.c134 .pr_protocol = 0, /* IPPROTO_IPV[46] */
144 .pr_protocol = 0, /* IPPROTO_IPV[46] */
H A Dif_stf.c176 .pr_protocol = IPPROTO_IPV6,
H A Dndrv.c1109 .pr_protocol = NDRVPROTO_NDRV,
H A Dcontent_filter.c560 … (so->so_proto->pr_protocol == IPPROTO_ICMP || so->so_proto->pr_protocol == IPPROTO_ICMPV6))
561 … && so->so_proto && so->so_proto->pr_type == SOCK_RAW && so->so_proto->pr_protocol == IPPROTO_RAW)
564 #define GET_SO_PROTOCOL(so) ((so && so->so_proto) ? so->so_proto->pr_protocol : IPPROTO_IP)
583 so->so_proto->pr_protocol != IPPROTO_TCP || \
H A Drtsock.c2264 .pr_protocol = 0,
/xnu-10002.41.9/tools/lldbmacros/
H A Dnet.py477 if sock.so_proto.pr_protocol == 6:
480 if sock.so_proto.pr_protocol == 17:
482 if sock.so_proto.pr_protocol == 1:
484 if sock.so_proto.pr_protocol == 254:
486 if sock.so_proto.pr_protocol == 255:
2146 …out_string += "\ttype " + str(int(pr.pr_type)) + ", protocol " + str(int(pr.pr_protocol)) + ", pro…
/xnu-10002.41.9/bsd/netkey/
H A Dkeysock.c557 .pr_protocol = PF_KEY_V2,