Home
last modified time | relevance | path

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

/xnu-8796.121.2/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.c518 if (pr->pr_protocol != 0 && pr->pr_protocol != IPPROTO_RAW) { in ip_init()
520 if (pr->pr_protocol < IPPROTO_MAX) { in ip_init()
521 ip_protox[pr->pr_protocol] = pr; in ip_init()
H A Din_pcb.c918 (uint8_t)so->so_proto->pr_protocol, PORT_FLAGS_BSD)) { in in_pcbbind()
/xnu-8796.121.2/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.c404 if (pr->pr_protocol != 0 && pr->pr_protocol != IPPROTO_RAW) { in ip6_init()
406 if (pr->pr_protocol < IPPROTO_MAX) { in ip6_init()
407 ip6_protox[pr->pr_protocol] = in ip6_init()
2099 (so->so_proto == NULL || so->so_proto->pr_protocol == IPPROTO_TCP)) { in ip6_notify_pmtu()
H A Din6_pcb.c703 if (so->so_proto->pr_protocol == IPPROTO_UDP && in in6_pcbconnect()
/xnu-8796.121.2/bsd/kern/
H A Duipc_domain.c393 __func__, dp->dom_family, dp->dom_name, pp->pr_protocol); in net_add_proto()
399 __func__, dp->dom_family, dp->dom_name, pp->pr_protocol); in net_add_proto()
405 pp1->pr_protocol == pp->pr_protocol) { in net_add_proto()
467 pp1->pr_protocol == opp->pr_protocol) { in net_add_proto_old()
475 __func__, odp->dom_family, odp->dom_name, opp->pr_protocol); in net_add_proto_old()
511 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 pp->pr_protocol = opp->pr_protocol; in net_add_proto_old()
543 odp->dom_name, opp->pr_protocol, error); in net_add_proto_old()
574 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.c187 .pr_protocol = SYSPROTO_CONTROL,
197 .pr_protocol = SYSPROTO_CONTROL,
H A Dvsock_domain.c1420 .pr_protocol = 0,
H A Dkern_event.c8024 .pr_protocol = SYSPROTO_EVENT,
H A Duipc_socket.c1840 …if (so->so_proto && so->so_proto->pr_type == SOCK_STREAM && so->so_proto->pr_protocol == IPPROTO_T… in soconnectxlocked()
/xnu-8796.121.2/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-8796.121.2/bsd/sys/
H A Dprotosw.h174 short pr_protocol; /* protocol number */ member
260 u_int16_t pr_protocol; /* protocol number */ member
H A Dsocketvar.h706 #define SOCK_PROTO(so) ((so)->so_proto->pr_protocol)
996 …_proto != NULL && so->so_proto->pr_type == SOCK_STREAM && so->so_proto->pr_protocol == IPPROTO_TCP)
997 …o_proto != NULL && so->so_proto->pr_type == SOCK_DGRAM && so->so_proto->pr_protocol == IPPROTO_UDP)
/xnu-8796.121.2/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.c557 … (so->so_proto->pr_protocol == IPPROTO_ICMP || so->so_proto->pr_protocol == IPPROTO_ICMPV6))
558 … && so->so_proto && so->so_proto->pr_type == SOCK_RAW && so->so_proto->pr_protocol == IPPROTO_RAW)
561 #define GET_SO_PROTOCOL(so) ((so && so->so_proto) ? so->so_proto->pr_protocol : IPPROTO_IP)
580 so->so_proto->pr_protocol != IPPROTO_TCP || \
H A Drtsock.c2243 .pr_protocol = 0,
/xnu-8796.121.2/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:
2094 …out_string += "\ttype " + str(int(pr.pr_type)) + ", protocol " + str(int(pr.pr_protocol)) + ", pro…
/xnu-8796.121.2/bsd/netkey/
H A Dkeysock.c557 .pr_protocol = PF_KEY_V2,