Home
last modified time | relevance | path

Searched refs:ETH_P_ALL (Results 1 – 24 of 24) sorted by relevance

/external/autotest/client/bin/net/
Dnet_utils.py126 self._socket.bind((name, raw_socket.ETH_P_ALL))
386 self._socket.bind((self._name, raw_socket.ETH_P_ALL))
464 ETH_P_ALL = 0x0003 # Use for binding a RAW Socket to all protocols variable in raw_socket
510 self._socket.bind((self._name, self.ETH_P_ALL))
515 self._socket.bind((self._name, self.ETH_P_ALL))
Dnet_utils_unittest.py91 s.bind.expect_call(('eth0', net_utils.raw_socket.ETH_P_ALL))
891 s.bind.expect_call(('eth0', net_utils.raw_socket.ETH_P_ALL))
1025 s.bind.expect_call(('eth0', net_utils.raw_socket.ETH_P_ALL))
1047 s.bind.expect_call(('eth0', net_utils.raw_socket.ETH_P_ALL))
1075 s.bind.expect_call(('eth0', net_utils.raw_socket.ETH_P_ALL))
1113 s.bind.expect_call(('eth0', net_utils.raw_socket.ETH_P_ALL))
1176 s.bind.expect_call(('eth0', net_utils.raw_socket.ETH_P_ALL))
1209 s.bind.expect_call(('eth0', net_utils.raw_socket.ETH_P_ALL))
1264 s.bind.expect_call(('eth0', net_utils.raw_socket.ETH_P_ALL))
/external/libnl/include/linux-private/linux/
Dif_ether.h93 #define ETH_P_ALL 0x0003 /* Every packet (be careful!!!) */ macro
/external/strace/xlat/
Dethernet_protocols.in62 ETH_P_ALL
Dethernet_protocols.h189 #if defined(ETH_P_ALL) || (defined(HAVE_DECL_ETH_P_ALL) && HAVE_DECL_ETH_P_ALL)
190 XLAT(ETH_P_ALL),
/external/kernel-headers/original/uapi/linux/
Dif_ether.h116 #define ETH_P_ALL 0x0003 /* Every packet (be careful!!!) */ macro
/external/iproute2/include/linux/
Dif_ether.h110 #define ETH_P_ALL 0x0003 /* Every packet (be careful!!!) */ macro
/external/wpa_supplicant_8/src/ap/
Dx_snoop.c75 l2 = l2_packet_init(conf->bridge, NULL, ETH_P_ALL, handler, hapd, 1); in x_snoop_get_l2_packet()
Diapp.c479 iapp->packet_sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in iapp_init()
/external/ltp/testcases/kernel/containers/share/
Dns_ifmove.c58 sock_fd = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in get_intf_index_from_name()
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_linux.c358 htons(ETH_P_ALL)); in l2_packet_init_bridge()
369 ll.sll_protocol = htons(ETH_P_ALL); in l2_packet_init_bridge()
/external/wpa_supplicant_8/src/utils/
Dcommon.h313 #ifndef ETH_P_ALL
314 #define ETH_P_ALL 0x0003 macro
/external/libnl/lib/route/
Dcls.c112 return ETH_P_ALL; in rtnl_cls_get_protocol()
/external/ltp/testcases/network/stress/ns-tools/
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()
/external/linux-kselftest/tools/testing/selftests/net/
Dpsock_tpacket.c411 rcv_sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in walk_tx()
749 ring->ll.sll_protocol = htons(ETH_P_ALL); in bind_ring()
/external/wpa_supplicant_8/src/drivers/
Ddriver_roboswitch.c215 drv->l2 = l2_packet_init(drv->ifname, NULL, ETH_P_ALL, in wpa_driver_roboswitch_set_param()
Ddriver_nl80211_monitor.c395 drv->monitor_sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in nl80211_create_monitor_interface()
Ddriver_hostap.c221 drv->sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in hostap_init_sockets()
/external/iproute2/tc/
Dtc_filter.c72 protocol = htons(ETH_P_ALL); in tc_filter_modify()
/external/libpcap/
Dpcap-linux.c1062 sock_fd = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL));
3338 socket(PF_PACKET, SOCK_DGRAM, htons(ETH_P_ALL)) :
3339 socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL));
3457 htons(ETH_P_ALL));
5283 sll.sll_protocol = htons(ETH_P_ALL);
6328 handle->fd = socket(PF_INET, SOCK_PACKET, htons(ETH_P_ALL));
/external/strace/tests-m32/
Dnet-sockaddr.c328 .sll_protocol = htons(ETH_P_ALL), in check_ll()
/external/strace/tests/
Dnet-sockaddr.c328 .sll_protocol = htons(ETH_P_ALL), in check_ll()
/external/strace/tests-mx32/
Dnet-sockaddr.c328 .sll_protocol = htons(ETH_P_ALL), in check_ll()
/external/libnl/lib/
Dutils.c796 __ADD(ETH_P_ALL,all)