Home
last modified time | relevance | path

Searched refs:ETH_P_ALL (Results 1 - 25 of 31) sorted by relevance

12

/third_party/ltp/testcases/kernel/syscalls/sendto/
H A Dsendto03.c44 sock = SAFE_SOCKET(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in setup()
54 bind_addr.sll_protocol = htons(ETH_P_ALL); in setup()
74 dst_sock = SAFE_SOCKET(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in check_tiny_frame()
140 dst_sock = SAFE_SOCKET(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in check_vnet_hdr()
/third_party/ltp/include/lapi/
H A Dif_ether.h15 #ifndef ETH_P_ALL
16 # define ETH_P_ALL 0x0003 macro
/third_party/ltp/testcases/kernel/syscalls/setsockopt/
H A Dsetsockopt02.c53 sk = SAFE_SOCKET(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in create_skbuf()
H A Dsetsockopt07.c77 sock = SAFE_SOCKET(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in run()
H A Dsetsockopt06.c72 sock = SAFE_SOCKET(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in run()
/third_party/ltp/testcases/lib/
H A Dtst_ns_ifmove.c46 sock_fd = SAFE_SOCKET(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in get_intf_index_from_name()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dx_snoop.c75 l2 = l2_packet_init(conf->bridge, NULL, ETH_P_ALL, handler, hapd, 1); in x_snoop_get_l2_packet()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dx_snoop.c75 l2 = l2_packet_init(conf->bridge, NULL, ETH_P_ALL, handler, hapd, 1); in x_snoop_get_l2_packet()
/third_party/ltp/testcases/kernel/containers/share/
H A Dns_ifmove.c58 sock_fd = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in get_intf_index_from_name()
/third_party/musl/porting/liteos_a/kernel/include/netinet/
H A Dif_ether.h90 #define ETH_P_ALL 0x0003 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/netinet/
H A Dif_ether.h88 #define ETH_P_ALL 0x0003 macro
/third_party/musl/porting/uniproton/kernel/include/netinet/
H A Dif_ether.h88 #define ETH_P_ALL 0x0003 macro
/third_party/musl/porting/liteos_m/kernel/include/netinet/
H A Dif_ether.h88 #define ETH_P_ALL 0x0003 macro
/third_party/musl/include/netinet/
H A Dif_ether.h90 #define ETH_P_ALL 0x0003 macro
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/l2_packet/
H A Dl2_packet_linux.c383 * authorization). To work around this, register ETH_P_ALL version of in l2_packet_init_bridge()
392 htons(ETH_P_ALL)); in l2_packet_init_bridge()
403 ll.sll_protocol = htons(ETH_P_ALL); in l2_packet_init_bridge()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
H A Dcommon.h324 #ifndef ETH_P_ALL
325 #define ETH_P_ALL 0x0003 macro
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/l2_packet/
H A Dl2_packet_linux.c452 * authorization). To work around this, register ETH_P_ALL version of in l2_packet_init_bridge()
461 htons(ETH_P_ALL)); in l2_packet_init_bridge()
472 ll.sll_protocol = htons(ETH_P_ALL); in l2_packet_init_bridge()
/third_party/libbpf/src/
H A Dnetlink.c749 protocol = ETH_P_ALL; in bpf_tc_attach()
822 protocol = ETH_P_ALL; in __bpf_tc_detach()
893 protocol = ETH_P_ALL; in bpf_tc_query()
/third_party/ltp/testcases/network/stress/ns-tools/
H A Dns-icmp_redirector.c229 if ((sd = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL))) < 0) in open_socket()
242 lla.sll_protocol = htons(ETH_P_ALL); in open_socket()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
H A Dcommon.h336 #ifndef ETH_P_ALL
337 #define ETH_P_ALL 0x0003 macro
/third_party/ltp/testcases/kernel/pty/
H A Dpty04.c272 lla.sll_protocol = htons(ETH_P_ALL); in open_netdev()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
H A Ddriver_nl80211_monitor.c404 drv->monitor_sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in nl80211_create_monitor_interface()
H A Ddriver_roboswitch.c215 drv->l2 = l2_packet_init(drv->ifname, NULL, ETH_P_ALL, in wpa_driver_roboswitch_set_param()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
H A Ddriver_nl80211_monitor.c407 drv->monitor_sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in nl80211_create_monitor_interface()
H A Ddriver_roboswitch.c215 drv->l2 = l2_packet_init(drv->ifname, NULL, ETH_P_ALL, in wpa_driver_roboswitch_set_param()

Completed in 16 milliseconds

12