/external/bcc/examples/networking/neighbor_sharing/ |
D | tc_neighbor_sharing.c | 26 case ETH_P_IP: goto ip; in classify_wan() 51 case ETH_P_IP: goto ip; in classify_neighbor()
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | psock_snd.c | 109 tag[1] = htons(ETH_P_IP); in build_eth_header() 113 eth->h_proto = htons(ETH_P_IP); in build_eth_header() 175 laddr.sll_protocol = htons(ETH_P_IP); in do_bind() 202 laddr.sll_protocol = htons(ETH_P_IP); in do_send()
|
/external/iproute2/tc/ |
D | f_flower.c | 205 if (eth_type != htons(ETH_P_IP) && eth_type != htons(ETH_P_IPV6)) in flower_parse_ip_proto() 215 if (eth_type != htons(ETH_P_IP)) in flower_parse_ip_proto() 285 if (eth_type == htons(ETH_P_IP)) { in flower_parse_ip_addr() 401 if (eth_type == htons(ETH_P_IP) && ip_proto == IPPROTO_ICMP) in flower_icmp_attr_type() 416 if (eth_type == htons(ETH_P_IP) && ip_proto == IPPROTO_ICMP) in flower_icmp_attr_mask_type() 984 if (eth_type == htons(ETH_P_IP)) in flower_print_eth_type() 1080 if (eth_type == htons(ETH_P_IP)) { in flower_print_ip_addr() 1108 return flower_print_ip_addr(f, name, htons(ETH_P_IP), in flower_print_ip4_addr() 1278 htons(ETH_P_IP) : htons(ETH_P_IPV6), in flower_print_opt() 1286 htons(ETH_P_IP) : htons(ETH_P_IPV6), in flower_print_opt()
|
/external/bcc/tests/python/ |
D | test_xlate1.c | 26 case ETH_P_IP: goto ip; in on_packet() 36 case ETH_P_IP: goto ip; in on_packet()
|
D | test_clang_complex.c | 76 case ETH_P_IP: goto ip; in handle_packet() 85 case ETH_P_IP: goto ip; in handle_packet()
|
D | test_brb.c | 153 case ETH_P_IP: goto ip; in br_common() 163 case ETH_P_IP: goto ip; in br_common()
|
D | test_stat1.c | 22 case ETH_P_IP: goto ip; in on_packet()
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | bpf_flow.c | 97 case bpf_htons(ETH_P_IP): in parse_eth_proto() 148 return parse_eth_proto(skb, bpf_htons(ETH_P_IP)); in parse_ip_proto() 249 keys->addr_proto = ETH_P_IP; in PROG()
|
D | test_xdp.c | 128 set_ethhdr(new_eth, old_eth, tnl, bpf_htons(ETH_P_IP)); in handle_ipv4() 226 if (h_proto == bpf_htons(ETH_P_IP)) in _xdp_tx_iptunnel()
|
D | test_pkt_access.c | 36 if (eth->h_proto == bpf_htons(ETH_P_IP)) { in process()
|
D | test_sk_lookup_kern.c | 30 if (eth_proto == bpf_htons(ETH_P_IP)) { in get_tuple()
|
D | test_select_reuseport_kern.c | 85 if (data_check.eth_protocol == bpf_htons(ETH_P_IP)) { in _select_by_skb_data()
|
/external/strace/xlat/ |
D | ethernet_protocols.h | 216 #if defined(ETH_P_IP) || (defined(HAVE_DECL_ETH_P_IP) && HAVE_DECL_ETH_P_IP) 218 static_assert((ETH_P_IP) == (0x0800), "ETH_P_IP != 0x0800"); 221 # define ETH_P_IP 0x0800 680 XLAT(ETH_P_IP),
|
/external/libnl/tests/ |
D | test-u32-filter-with-actions.c | 124 rtnl_cls_set_protocol(cls, ETH_P_IP); in u32_add_filter_on_ht_with_hashmask() 173 rtnl_cls_set_protocol(cls, ETH_P_IP); in u32_add_ht()
|
D | test-complex-HTB-with-hash-filters.c | 163 rtnl_cls_set_protocol(cls, ETH_P_IP); in u32_add_filter_on_ht() 215 rtnl_cls_set_protocol(cls, ETH_P_IP); in u32_add_filter_on_ht_with_hashmask() 261 rtnl_cls_set_protocol(cls, ETH_P_IP); in u32_add_ht()
|
/external/libnl/include/linux-private/linux/ |
D | if_ether.h | 45 #define ETH_P_IP 0x0800 /* Internet Protocol packet */ macro
|
/external/bcc/examples/networking/dns_matching/ |
D | dns_matching.c | 62 if(ethernet->type == ETH_P_IP) { in dns_matching()
|
/external/iproute2/include/uapi/linux/ |
D | if_ether.h | 50 #define ETH_P_IP 0x0800 /* Internet Protocol packet */ macro
|
/external/kernel-headers/original/uapi/linux/ |
D | if_ether.h | 52 #define ETH_P_IP 0x0800 /* Internet Protocol packet */ macro
|
/external/toybox/toys/pending/ |
D | arping.c | 105 arp_h->ar_pro = htons(ETH_P_IP); in send_packet() 143 if (arp_hdr->ar_pro != htons(ETH_P_IP) || (arp_hdr->ar_pln != 4) in recv_from()
|
/external/ltp/testcases/network/stress/ns-tools/ |
D | ns-icmp_redirector.c | 332 sndarp_p->hdr.ar_pro = htons(ETH_P_IP); in return_arp_reply() 402 sndeth.hdr.h_proto = htons(ETH_P_IP); in return_icmp4_redirect() 775 case ETH_P_IP: in capture_frames()
|
D | ns-icmpv4_sender.c | 323 fake_p->saddr_ll.sll_protocol = htons(ETH_P_IP); /* IPv4 */ in complete_eth_addrs() 552 sock_fd = socket(AF_PACKET, SOCK_DGRAM, htons(ETH_P_IP)); in send_packets()
|
/external/iproute2/lib/ |
D | ll_proto.c | 85 { ETH_P_IP, "ipv4" },
|
/external/iproute2/bridge/ |
D | mdb.c | 141 af = e->addr.proto == htons(ETH_P_IP) ? AF_INET : AF_INET6; in print_mdb_entry() 438 entry.addr.proto = htons(ETH_P_IP); in mdb_modify()
|
/external/wpa_supplicant_8/src/utils/ |
D | common.h | 326 #ifndef ETH_P_IP 327 #define ETH_P_IP 0x0800 macro
|