Home
last modified time | relevance | path

Searched refs:ETH_P_IP (Results 1 – 25 of 35) sorted by relevance

12

/external/syslinux/gpxe/src/core/
Dgdbudp.c83 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/
Df_flower.c69 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/
Dif_ether.h18 #define ETH_P_IP 0x0800 /* Internet Protocl Packet */ macro
/external/libnl/tests/
Dtest-u32-filter-with-actions.c124 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()
Dtest-complex-HTB-with-hash-filters.c163 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/
Dif_ether.h45 #define ETH_P_IP 0x0800 /* Internet Protocol packet */ macro
/external/strace/xlat/
Dethernet_protocols.in5 ETH_P_IP
Dethernet_protocols.h18 #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/
Dif_ether.h49 #define ETH_P_IP 0x0800 /* Internet Protocol packet */ macro
/external/iproute2/include/linux/
Dif_ether.h46 #define ETH_P_IP 0x0800 /* Internet Protocol packet */ macro
/external/iproute2/examples/bpf/
Dbpf_prog.c322 if (likely(proto == htons(ETH_P_IP))) in flow_dissector()
358 if (gre_proto == ETH_P_IP) in flow_dissector()
/external/iproute2/bridge/
Dmdb.c58 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/
Darping.c105 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()
Ddhcp.c586 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/
Dns-icmp_redirector.c332 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()
Dns-icmpv4_sender.c323 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()
Dns-common.c266 ll->sll_protocol = htons(ETH_P_IP); /* IPv4 */ in eth_pton()
/external/iproute2/lib/
Dll_proto.c86 { ETH_P_IP, "ipv4" },
/external/wpa_supplicant_8/src/utils/
Dcommon.h316 #ifndef ETH_P_IP
317 #define ETH_P_IP 0x0800 macro
/external/android-clat/
Dclatd_microbenchmark.c88 struct tun_pi tun = { 0, htons(ETH_P_IP) }; in send_packet()
/external/wpa_supplicant_8/src/ap/
Dfils_hlp.c260 wpabuf_put_be16(resp, ETH_P_IP); in fils_dhcp_handler()
562 case ETH_P_IP: in fils_process_hlp_req()
/external/iproute2/misc/
Darpd.c213 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/
Dpsock_fanout.c78 fd = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_IP)); in sock_fanout_open()
Dpsock_tpacket.c149 if (eth->h_proto != htons(ETH_P_IP)) { in test_payload()
169 eth->h_proto = htons(ETH_P_IP); in create_payload()
/external/iputils/
Darping.c282 ah->ar_pro = htons(ETH_P_IP); in send_pack()
402 if (ah->ar_pro != htons(ETH_P_IP)) in recv_pack()

12