| /xnu-11215.1.10/bsd/skywalk/namespace/ |
| H A D | netns.c | 62 #define NS_VERB_PROTO(proto) ((proto == IPPROTO_TCP) ? SK_VERB_NS_TCP : \ argument 66 #define PROTO_STR(proto) ((proto == IPPROTO_TCP) ? "tcp" : "udp") argument 173 #define NETNS_NS_GLOBAL_IDX(proto, addrlen) \ argument 456 _netns_get_ns(uint32_t *__sized_by(addr_len)addr, uint8_t addr_len, uint8_t proto, bool create) in _netns_get_ns() 557 uint8_t proto, addr_len; in _netns_reserve_common() local 873 netns_init_global_ns(struct ns **global_ptr, uint8_t proto, uint8_t addrlen) in netns_init_global_ns() 920 uint32_t *__sized_by(addr_len)addr, uint8_t addr_len, uint8_t proto, in _netns_reserve_kpi_common() 1221 uint8_t addr_len, uint8_t proto, in_port_t port, uint32_t flags, in netns_reserve() 1267 uint8_t addr_len, uint8_t proto, in_port_t *port, uint32_t flags, in netns_reserve_ephemeral() 1413 uint8_t proto, addr_len; in netns_release() local [all …]
|
| H A D | protons.c | 128 protons_find_token_with_protocol(uint8_t proto) in protons_find_token_with_protocol() 171 uint8_t proto) in protons_reserve_locked() 213 uint8_t proto) in protons_reserve() 240 uint8_t proto = 0; in protons_init_netinet_protocol() local
|
| H A D | netns.h | 227 netns_reserve_in(netns_token *token, struct in_addr addr, uint8_t proto, in netns_reserve_in() 236 netns_reserve_in6(netns_token *token, struct in6_addr addr, uint8_t proto, in netns_reserve_in6()
|
| /xnu-11215.1.10/bsd/netinet/ |
| H A D | in_gif.c | 108 int proto, error; in in_gif_output() local 243 int af, proto; in in_gif_input() local 344 __unused int proto, in gif_encapcheck4()
|
| H A D | ip_encap.c | 133 int proto; in encap4_input() local 233 encap6_input(struct mbuf **mp, int *offp, int proto) in encap6_input() 318 encap_attach(int af, int proto, const struct sockaddr *sp, in encap_attach() 391 encap_attach_func( int af, int proto, in encap_attach_func() argument
|
| H A D | ip_encap.h | 66 int proto; /* -1: don't care, I'll check myself */ member
|
| /xnu-11215.1.10/bsd/netinet6/ |
| H A D | in6_gif.c | 108 int proto; in in6_gif_output() local 240 in6_gif_input(struct mbuf **mp, int *offp, int proto) in in6_gif_input() 399 __unused int proto, in gif_encapcheck6()
|
| H A D | dest6.c | 84 dest6_input(struct mbuf **mp, int *offp, int proto) in dest6_input()
|
| H A D | route6.c | 77 route6_input(struct mbuf **mp, int *offp, int proto) in route6_input()
|
| H A D | esp_input.c | 182 u_int8_t proto = 0; in esp_input_log() local 917 esp6_input(struct mbuf **mp, int *offp, int proto) in esp6_input() 923 esp6_input_extended(struct mbuf **mp, int *offp, int proto, ifnet_t interface) in esp6_input_extended()
|
| H A D | raw_ip6.c | 154 int proto) in rip6_input() 993 rip6_attach(struct socket *so, int proto, struct proc *p) in rip6_attach()
|
| /xnu-11215.1.10/tests/ |
| H A D | inet_transfer.h | 47 ipproto_get_str(uint8_t proto) in ipproto_get_str() 72 uint8_t proto; member
|
| H A D | so_bindtodevice.c | 52 test_so_bindtodevice(int domain, int type, int proto) in test_so_bindtodevice()
|
| H A D | net_test_lib.h | 141 char proto; member 159 char proto; member 172 char proto; member
|
| H A D | udp_kao_opt.c | 66 int proto, const char *proto_str) in set_udp_kao_opt()
|
| H A D | inet_transfer.c | 80 uint8_t proto; member 176 proto_get_socket_type(uint8_t proto) in proto_get_socket_type() 641 for (uint8_t * proto = protos; *proto != 0; proto++) { in inet_test_traffic() local
|
| /xnu-11215.1.10/bsd/net/ |
| H A D | pktap.c | 919 pktap_fill_proc_info(struct pktap_header *hdr, protocol_family_t proto, in pktap_fill_proc_info() 1132 pktap_bpf_tap(struct ifnet *ifp, protocol_family_t proto, struct mbuf *m, in pktap_bpf_tap() 1179 u_int32_t proto; in pktap_bpf_tap() member 1330 pktap_input(struct ifnet *ifp, protocol_family_t proto, struct mbuf *m, in pktap_input() 1365 pktap_output(struct ifnet *ifp, protocol_family_t proto, struct mbuf *m, in pktap_output() 1386 pktap_bpf_tap_packet(struct ifnet *ifp, protocol_family_t proto, uint32_t dlt, in pktap_bpf_tap_packet() 1395 uint32_t proto; in pktap_bpf_tap_packet() member 1505 pktap_input_packet(struct ifnet *ifp, protocol_family_t proto, uint32_t dlt, in pktap_input_packet() 1524 pktap_output_packet(struct ifnet *ifp, protocol_family_t proto, uint32_t dlt, in pktap_output_packet()
|
| H A D | raw_usrreq.c | 90 raw_input(struct mbuf *m0, struct sockproto *proto, struct sockaddr *src, in raw_input() 192 raw_uattach(struct socket *so, int proto, __unused struct proc *p) in raw_uattach()
|
| H A D | raw_cb.c | 93 raw_attach(struct socket *so, int proto) in raw_attach()
|
| H A D | iptap.c | 515 iptap_ipf_input(void *arg, mbuf_t *mp, int off, u_int8_t proto) in iptap_ipf_input() 562 iptap_bpf_tap(struct mbuf *m, u_int32_t proto, int outgoing) in iptap_bpf_tap() 595 u_int32_t proto; in iptap_bpf_tap() member
|
| H A D | nat464_utils.c | 630 uint8_t *proto, uint8_t ttl, struct in_addr src_v4, in nat464_translate_64() 735 uint8_t proto, uint8_t ttl, struct in6_addr src_v6, in nat464_translate_46() 793 uint8_t *proto = 0; in nat464_translate_proto() local
|
| H A D | if_stf.c | 375 int proto, in stf_encapcheck() 749 int proto; in in_stf_input() local
|
| H A D | ether_inet6_pr_module.c | 261 struct ifnet_attach_proto_param proto = {}; in ether_attach_inet6() local
|
| /xnu-11215.1.10/tests/skywalk/ |
| H A D | skt_flowswitch_ns_reserve.c | 114 skt_flowswitch_ns_bsd(struct sktc_nexus_handles *handles, int proto, void *addr) in skt_flowswitch_ns_bsd() 236 skt_flowswitch_ns_sky(struct sktc_nexus_handles *handles, int proto, void *addr) in skt_flowswitch_ns_sky() 369 skt_ns_sky_bind(struct sktc_nexus_handles *handles, int proto, void *addr, in skt_ns_sky_bind() 422 skt_ns_sock_bind(struct sktc_nexus_handles *handles, int proto, void *addr, in skt_ns_sock_bind() 481 skt_flowswitch_ns_sky_bsd(struct sktc_nexus_handles *handles, int proto, in skt_flowswitch_ns_sky_bsd()
|
| H A D | skywalk_test_utils.h | 81 char proto; member 89 uint8_t proto; member 98 uint8_t proto; member 105 uint8_t proto; member 113 uint8_t proto; member 122 uint8_t proto; member
|