| /xnu-8796.121.2/bsd/netinet/ |
| H A D | in_proto.c | 121 .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 D | mp_proto.c | 47 .pr_protocol = IPPROTO_TCP,
|
| H A D | ip_input.c | 518 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 D | in_pcb.c | 918 (uint8_t)so->so_proto->pr_protocol, PORT_FLAGS_BSD)) { in in_pcbbind()
|
| /xnu-8796.121.2/bsd/netinet6/ |
| H A D | in6_proto.c | 164 .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 D | ip6protosw.h | 160 u_int16_t pr_protocol; /* protocol number */ member
|
| H A D | ip6_input.c | 404 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 D | in6_pcb.c | 703 if (so->so_proto->pr_protocol == IPPROTO_UDP && in in6_pcbconnect()
|
| /xnu-8796.121.2/bsd/kern/ |
| H A D | uipc_domain.c | 393 __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 D | socket_flows.c | 133 …&& 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 D | kern_control.c | 187 .pr_protocol = SYSPROTO_CONTROL, 197 .pr_protocol = SYSPROTO_CONTROL,
|
| H A D | vsock_domain.c | 1420 .pr_protocol = 0,
|
| H A D | kern_event.c | 8024 .pr_protocol = SYSPROTO_EVENT,
|
| H A D | uipc_socket.c | 1840 …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 D | protons.c | 246 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 D | protosw.h | 174 short pr_protocol; /* protocol number */ member 260 u_int16_t pr_protocol; /* protocol number */ member
|
| H A D | socketvar.h | 706 #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 D | if_gif.c | 134 .pr_protocol = 0, /* IPPROTO_IPV[46] */ 144 .pr_protocol = 0, /* IPPROTO_IPV[46] */
|
| H A D | if_stf.c | 176 .pr_protocol = IPPROTO_IPV6,
|
| H A D | ndrv.c | 1109 .pr_protocol = NDRVPROTO_NDRV,
|
| H A D | content_filter.c | 557 … (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 D | rtsock.c | 2243 .pr_protocol = 0,
|
| /xnu-8796.121.2/tools/lldbmacros/ |
| H A D | net.py | 477 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 D | keysock.c | 557 .pr_protocol = PF_KEY_V2,
|