Home
last modified time | relevance | path

Searched refs:ETH_P_IP (Results 1 - 19 of 19) sorted by relevance

/third_party/ltp/testcases/cve/
H A Dtcindex01.c92 NETDEV_ADD_TRAFFIC_FILTER(DEVNAME, qd_handle, 10, ETH_P_IP, 1, in run()
94 NETDEV_REMOVE_TRAFFIC_FILTER(DEVNAME, qd_handle, 10, ETH_P_IP, in run()
97 qd_handle, 10, ETH_P_IP, 1, "tcindex", f_config); in run()
/third_party/toybox/toys/pending/
H A 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()
H A 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()
H A Ddhcpd.c915 if ((fd = socket(PF_PACKET, SOCK_DGRAM, htons(ETH_P_IP))) < 0) { in send_packet()
921 dest_sll.sll_protocol = htons(ETH_P_IP); in send_packet()
/third_party/ltp/testcases/network/stress/ns-tools/
H A 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()
H A 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()
H A Dns-common.c266 ll->sll_protocol = htons(ETH_P_IP); /* IPv4 */ in eth_pton()
/third_party/musl/porting/liteos_a/kernel/include/netinet/
H A Dif_ether.h22 #define ETH_P_IP 0x0800 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/netinet/
H A Dif_ether.h22 #define ETH_P_IP 0x0800 macro
/third_party/musl/porting/uniproton/kernel/include/netinet/
H A Dif_ether.h22 #define ETH_P_IP 0x0800 macro
/third_party/musl/porting/liteos_m/kernel/include/netinet/
H A Dif_ether.h22 #define ETH_P_IP 0x0800 macro
/third_party/musl/include/netinet/
H A Dif_ether.h22 #define ETH_P_IP 0x0800 macro
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
H A Dcommon.h327 #ifndef ETH_P_IP
328 #define ETH_P_IP 0x0800 macro
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dfils_hlp.c260 wpabuf_put_be16(resp, ETH_P_IP); in fils_dhcp_handler()
567 case ETH_P_IP: in fils_process_hlp_req()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
H A Dcommon.h339 #ifndef ETH_P_IP
340 #define ETH_P_IP 0x0800 macro
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dfils_hlp.c260 wpabuf_put_be16(resp, ETH_P_IP); in fils_dhcp_handler()
567 case ETH_P_IP: in fils_process_hlp_req()
/third_party/rust/crates/libc/src/unix/linux_like/android/
H A Dmod.rs2454 pub const ETH_P_IP: ::c_int = 0x0800; consts
/third_party/rust/crates/libc/src/fuchsia/
H A Dmod.rs2681 pub const ETH_P_IP: ::c_int = 0x0800; consts
/third_party/rust/crates/libc/src/unix/linux_like/linux/
H A Dmod.rs2229 pub const ETH_P_IP: ::c_int = 0x0800; consts

Completed in 50 milliseconds