| /xnu-10002.41.9/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 | 515 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 D | in_pcb.c | 606 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 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 | 407 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 D | in6_pcb.c | 738 if (so->so_proto->pr_protocol == IPPROTO_UDP && in in6_pcbconnect()
|
| /xnu-10002.41.9/bsd/kern/ |
| H A D | uipc_domain.c | 398 __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 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 | 185 .pr_protocol = SYSPROTO_CONTROL, 195 .pr_protocol = SYSPROTO_CONTROL,
|
| H A D | vsock_domain.c | 1420 .pr_protocol = 0,
|
| H A D | uipc_socket.c | 1844 …if (so->so_proto && so->so_proto->pr_type == SOCK_STREAM && so->so_proto->pr_protocol == IPPROTO_T… in soconnectxlocked()
|
| H A D | kern_event.c | 8063 .pr_protocol = SYSPROTO_EVENT,
|
| /xnu-10002.41.9/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-10002.41.9/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 | 715 #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 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 | 560 … (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 D | rtsock.c | 2264 .pr_protocol = 0,
|
| /xnu-10002.41.9/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: 2146 …out_string += "\ttype " + str(int(pr.pr_type)) + ", protocol " + str(int(pr.pr_protocol)) + ", pro…
|
| /xnu-10002.41.9/bsd/netkey/ |
| H A D | keysock.c | 557 .pr_protocol = PF_KEY_V2,
|