/third_party/ltp/testcases/kernel/syscalls/sendto/ |
H A D | sendto03.c | 44 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 D | if_ether.h | 15 #ifndef ETH_P_ALL 16 # define ETH_P_ALL 0x0003 macro
|
/third_party/ltp/testcases/kernel/syscalls/setsockopt/ |
H A D | setsockopt02.c | 53 sk = SAFE_SOCKET(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in create_skbuf()
|
H A D | setsockopt07.c | 77 sock = SAFE_SOCKET(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in run()
|
H A D | setsockopt06.c | 72 sock = SAFE_SOCKET(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in run()
|
/third_party/ltp/testcases/lib/ |
H A D | tst_ns_ifmove.c | 46 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 D | x_snoop.c | 75 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 D | x_snoop.c | 75 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 D | ns_ifmove.c | 58 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 D | if_ether.h | 90 #define ETH_P_ALL 0x0003 macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/netinet/ |
H A D | if_ether.h | 88 #define ETH_P_ALL 0x0003 macro
|
/third_party/musl/porting/uniproton/kernel/include/netinet/ |
H A D | if_ether.h | 88 #define ETH_P_ALL 0x0003 macro
|
/third_party/musl/porting/liteos_m/kernel/include/netinet/ |
H A D | if_ether.h | 88 #define ETH_P_ALL 0x0003 macro
|
/third_party/musl/include/netinet/ |
H A D | if_ether.h | 90 #define ETH_P_ALL 0x0003 macro
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/l2_packet/ |
H A D | l2_packet_linux.c | 383 * 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 D | common.h | 324 #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 D | l2_packet_linux.c | 452 * 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 D | netlink.c | 749 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 D | ns-icmp_redirector.c | 229 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 D | common.h | 336 #ifndef ETH_P_ALL 337 #define ETH_P_ALL 0x0003 macro
|
/third_party/ltp/testcases/kernel/pty/ |
H A D | pty04.c | 272 lla.sll_protocol = htons(ETH_P_ALL); in open_netdev()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
H A D | driver_nl80211_monitor.c | 404 drv->monitor_sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in nl80211_create_monitor_interface()
|
H A D | driver_roboswitch.c | 215 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 D | driver_nl80211_monitor.c | 407 drv->monitor_sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in nl80211_create_monitor_interface()
|
H A D | driver_roboswitch.c | 215 drv->l2 = l2_packet_init(drv->ifname, NULL, ETH_P_ALL, in wpa_driver_roboswitch_set_param()
|