/external/syslinux/gpxe/src/core/ |
D | gdbudp.c | 83 arphdr->ar_pro != htons ( ETH_P_IP ) || in gdbudp_recv() 106 if ( ethhdr->h_protocol != htons ( ETH_P_IP ) ) { in gdbudp_recv() 201 ethhdr->h_protocol = htons ( ETH_P_IP ); in gdbudp_send()
|
/external/iproute2/tc/ |
D | f_flower.c | 69 if (eth_type != htons(ETH_P_IP) && eth_type != htons(ETH_P_IPV6)) { in flower_parse_ip_proto() 98 if (eth_type == htons(ETH_P_IP)) { in flower_parse_ip_addr() 363 if (eth_type == htons(ETH_P_IP)) in flower_print_eth_type() 404 if (eth_type == htons(ETH_P_IP)) { in flower_print_ip_addr()
|
/external/syslinux/gpxe/src/include/gpxe/ |
D | if_ether.h | 18 #define ETH_P_IP 0x0800 /* Internet Protocl Packet */ macro
|
/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/strace/xlat/ |
D | ethernet_protocols.in | 5 ETH_P_IP
|
D | ethernet_protocols.h | 18 #if defined(ETH_P_IP) || (defined(HAVE_DECL_ETH_P_IP) && HAVE_DECL_ETH_P_IP) 19 XLAT(ETH_P_IP),
|
/external/kernel-headers/original/uapi/linux/ |
D | if_ether.h | 49 #define ETH_P_IP 0x0800 /* Internet Protocol packet */ macro
|
/external/iproute2/include/linux/ |
D | if_ether.h | 46 #define ETH_P_IP 0x0800 /* Internet Protocol packet */ macro
|
/external/iproute2/examples/bpf/ |
D | bpf_prog.c | 322 if (likely(proto == htons(ETH_P_IP))) in flow_dissector() 358 if (gre_proto == ETH_P_IP) in flow_dissector()
|
/external/iproute2/bridge/ |
D | mdb.c | 58 af = e->addr.proto == htons(ETH_P_IP) ? AF_INET : AF_INET6; in print_mdb_entry() 247 entry.addr.proto = htons(ETH_P_IP); in mdb_modify()
|
/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()
|
D | dhcp.c | 586 state->sockfd = socket(PF_PACKET, SOCK_DGRAM, htons(ETH_P_IP)); in mode_raw() 594 sock.sll_protocol = htons(ETH_P_IP); in mode_raw() 729 if ((fd = socket(PF_PACKET, SOCK_DGRAM, htons(ETH_P_IP))) < 0) { in send_raw() 735 dest_sll.sll_protocol = htons(ETH_P_IP); in send_raw()
|
/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()
|
D | ns-common.c | 266 ll->sll_protocol = htons(ETH_P_IP); /* IPv4 */ in eth_pton()
|
/external/iproute2/lib/ |
D | ll_proto.c | 86 { ETH_P_IP, "ipv4" },
|
/external/wpa_supplicant_8/src/utils/ |
D | common.h | 316 #ifndef ETH_P_IP 317 #define ETH_P_IP 0x0800 macro
|
/external/android-clat/ |
D | clatd_microbenchmark.c | 88 struct tun_pi tun = { 0, htons(ETH_P_IP) }; in send_packet()
|
/external/wpa_supplicant_8/src/ap/ |
D | fils_hlp.c | 260 wpabuf_put_be16(resp, ETH_P_IP); in fils_dhcp_handler() 562 case ETH_P_IP: in fils_process_hlp_req()
|
/external/iproute2/misc/ |
D | arpd.c | 213 ah->ar_pro = htons(ETH_P_IP); in send_probe() 512 a->ar_pro != htons(ETH_P_IP) || in get_arp_pkt()
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | psock_fanout.c | 78 fd = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_IP)); in sock_fanout_open()
|
D | psock_tpacket.c | 149 if (eth->h_proto != htons(ETH_P_IP)) { in test_payload() 169 eth->h_proto = htons(ETH_P_IP); in create_payload()
|
/external/iputils/ |
D | arping.c | 282 ah->ar_pro = htons(ETH_P_IP); in send_pack() 402 if (ah->ar_pro != htons(ETH_P_IP)) in recv_pack()
|