| /xnu-8020.121.3/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 | 912 (uint8_t)so->so_proto->pr_protocol, PORT_FLAGS_BSD)) { in in_pcbbind()
|
| /xnu-8020.121.3/bsd/netinet6/ |
| H A D | in6_proto.c | 163 .pr_protocol = IPPROTO_IPV6, 170 .pr_protocol = IPPROTO_UDP, 188 .pr_protocol = IPPROTO_TCP, 208 .pr_protocol = IPPROTO_RAW, 224 .pr_protocol = IPPROTO_ICMPV6, 238 .pr_protocol = IPPROTO_ICMPV6, 252 .pr_protocol = IPPROTO_DSTOPTS, 259 .pr_protocol = IPPROTO_ROUTING, 266 .pr_protocol = IPPROTO_FRAGMENT, 274 .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 | 403 if (pr->pr_protocol != 0 && pr->pr_protocol != IPPROTO_RAW) { in ip6_init() 405 if (pr->pr_protocol < IPPROTO_MAX) { in ip6_init() 406 ip6_protox[pr->pr_protocol] = in ip6_init() 2093 (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-8020.121.3/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 | 128 …&& so->so_proto && so->so_proto->pr_type == SOCK_DGRAM && so->so_proto->pr_protocol == IPPROTO_UDP) 129 #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 | uipc_socket.c | 1820 …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 | 7984 .pr_protocol = SYSPROTO_EVENT,
|
| /xnu-8020.121.3/bsd/skywalk/namespace/ |
| H A D | protons.c | 247 proto = (uint8_t)pp->pr_protocol; in protons_init_netinet_protocol() 255 proto = (uint8_t)pp->pr_protocol; in protons_init_netinet_protocol()
|
| /xnu-8020.121.3/bsd/sys/ |
| H A D | protosw.h | 172 short pr_protocol; /* protocol number */ member 258 u_int16_t pr_protocol; /* protocol number */ member
|
| H A D | socketvar.h | 682 #define SOCK_PROTO(so) ((so)->so_proto->pr_protocol) 965 …_proto != NULL && so->so_proto->pr_type == SOCK_STREAM && so->so_proto->pr_protocol == IPPROTO_TCP) 966 …o_proto != NULL && so->so_proto->pr_type == SOCK_DGRAM && so->so_proto->pr_protocol == IPPROTO_UDP)
|
| /xnu-8020.121.3/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 | content_filter.c | 562 … (so->so_proto->pr_protocol == IPPROTO_ICMP || so->so_proto->pr_protocol == IPPROTO_ICMPV6)) 563 … && so->so_proto && so->so_proto->pr_type == SOCK_RAW && so->so_proto->pr_protocol == IPPROTO_RAW) 566 #define GET_SO_PROTO(so) ((so && so->so_proto) ? so->so_proto->pr_protocol : IPPROTO_MAX) 583 so->so_proto->pr_protocol != IPPROTO_TCP || \ 2210 sock_info->cfs_sock_protocol = sock->so_proto->pr_protocol; in cfil_ctl_getopt() 3023 data.socketProtocol = so->so_proto->pr_protocol; in cfil_dispatch_data_event_sign() 3078 data.socketProtocol = so->so_proto->pr_protocol; in cfil_dispatch_closed_event_sign() 3180 msg_attached.cfs_sock_protocol = so->so_proto->pr_protocol; in cfil_dispatch_attach_event() 5570 stat.cfs_sock_protocol = so->so_proto->pr_protocol; in sysctl_cfil_sock_list()
|
| H A D | if_stf.c | 176 .pr_protocol = IPPROTO_IPV6,
|
| H A D | ndrv.c | 1083 .pr_protocol = NDRVPROTO_NDRV,
|
| H A D | rtsock.c | 2223 .pr_protocol = 0,
|
| /xnu-8020.121.3/tools/lldbmacros/ |
| H A D | net.py | 475 if sock.so_proto.pr_protocol == 6: 478 if sock.so_proto.pr_protocol == 17: 480 if sock.so_proto.pr_protocol == 1: 482 if sock.so_proto.pr_protocol == 254: 484 if sock.so_proto.pr_protocol == 255: 2092 …out_string += "\ttype " + str(int(pr.pr_type)) + ", protocol " + str(int(pr.pr_protocol)) + ", pro…
|
| /xnu-8020.121.3/bsd/netkey/ |
| H A D | keysock.c | 557 .pr_protocol = PF_KEY_V2,
|