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

12

/external/ltp/testcases/kernel/syscalls/setsockopt/
H A Dsetsockopt02.c45 #ifndef ETH_P_ALL
46 # define ETH_P_ALL 0x0003 macro
98 sk = SAFE_SOCKET(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL));
/external/scapy/scapy/arch/
H A Dpcapdnet.py179 def __init__(self, iface = None, type = ETH_P_ALL, promisc=None, filter=None):
193 if type == ETH_P_ALL: # Do not apply any filter if Ethernet type is given
241 def __init__(self, iface = None, type = ETH_P_ALL, promisc=None, filter=None, nofilter=0):
258 if type != ETH_P_ALL: # PF_PACKET stuff. Need to emulate this for pcap
268 if type != ETH_P_ALL: # PF_PACKET stuff. Need to emulate this for pcap
325 #def __init__(self, iface = None, type = ETH_P_ALL, filter=None, nofilter=0):
440 def __init__(self, iface = None, type = ETH_P_ALL, promisc=None, filter=None):
454 if type == ETH_P_ALL: # Do not apply any filter if Ethernet type is given
579 def __init__(self, type = ETH_P_ALL, promisc=None, filter=None, iface=None, nofilter=0):
594 if type != ETH_P_ALL
[all...]
H A Dlinux.py399 def __init__(self, type = ETH_P_ALL, filter=None, promisc=None, iface=None, nofilter=0):
494 def __init__(self, iface=None, type=ETH_P_ALL, promisc=None, filter=None, nofilter=0):
558 def __init__(self, iface = None, type = ETH_P_ALL, promisc=None, filter=None, nofilter=0):
/external/libnl/include/linux-private/linux/
H A Dif_ether.h93 #define ETH_P_ALL 0x0003 /* Every packet (be careful!!!) */ macro
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dx_snoop.c75 l2 = l2_packet_init(conf->bridge, NULL, ETH_P_ALL, handler, hapd, 1);
H A Diapp.c479 iapp->packet_sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL));
/external/wpa_supplicant_8/src/ap/
H A Dx_snoop.c75 l2 = l2_packet_init(conf->bridge, NULL, ETH_P_ALL, handler, hapd, 1);
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dx_snoop.c75 l2 = l2_packet_init(conf->bridge, NULL, ETH_P_ALL, handler, hapd, 1);
/external/iproute2/include/uapi/linux/
H A Dif_ether.h121 #define ETH_P_ALL 0x0003 /* Every packet (be careful!!!) */ macro
/external/kernel-headers/original/uapi/linux/
H A Dif_ether.h122 #define ETH_P_ALL 0x0003 /* Every packet (be careful!!!) */ macro
/external/ltp/testcases/kernel/containers/share/
H A Dns_ifmove.c58 sock_fd = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL));
/external/strace/xlat/
H A Dethernet_protocols.h198 #if defined(ETH_P_ALL) || (defined(HAVE_DECL_ETH_P_ALL) && HAVE_DECL_ETH_P_ALL)
199 XLAT(ETH_P_ALL),
/external/autotest/client/bin/net/
H A 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 class:raw_socket
510 self._socket.bind((self._name, self.ETH_P_ALL))
515 self._socket.bind((self._name, self.ETH_P_ALL))
H A 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/scapy/scapy/arch/bpf/
H A Dsupersocket.py20 from scapy.data import ETH_P_ALL namespace
43 def __init__(self, iface=None, type=ETH_P_ALL, promisc=None, filter=None, nofilter=0):
/external/scapy/scapy/
H A Dsendrecv.py20 from scapy.data import ETH_P_ALL, MTU namespace
391 def srp(x, promisc=None, iface=None, iface_hint=None, filter=None, nofilter=0, type=ETH_P_ALL, *args,**kargs):
698 (L2socket(type=ETH_P_ALL, iface=ifname, *arg, **karg), ifname)
703 (L2socket(type=ETH_P_ALL, iface=ifname, *arg, **karg), iflabel)
707 sniff_sockets[L2socket(type=ETH_P_ALL, iface=iface,
H A Ddata.py30 ETH_P_ALL = 3 variable
/external/wpa_supplicant_8/hostapd/src/l2_packet/
H A Dl2_packet_linux.c352 * authorization). To work around this, register ETH_P_ALL version of
361 htons(ETH_P_ALL));
372 ll.sll_protocol = htons(ETH_P_ALL);
/external/wpa_supplicant_8/src/l2_packet/
H A Dl2_packet_linux.c352 * authorization). To work around this, register ETH_P_ALL version of
361 htons(ETH_P_ALL));
372 ll.sll_protocol = htons(ETH_P_ALL);
/external/wpa_supplicant_8/wpa_supplicant/src/l2_packet/
H A Dl2_packet_linux.c352 * authorization). To work around this, register ETH_P_ALL version of
361 htons(ETH_P_ALL));
372 ll.sll_protocol = htons(ETH_P_ALL);
/external/libnl/lib/route/
H A Dcls.c112 return ETH_P_ALL;
/external/ltp/testcases/network/stress/ns-tools/
H A Dns-icmp_redirector.c229 if ((sd = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL))) < 0)
242 lla.sll_protocol = htons(ETH_P_ALL);
/external/wpa_supplicant_8/hostapd/src/utils/
H A Dcommon.h322 #ifndef ETH_P_ALL
323 #define ETH_P_ALL 0x0003 macro
/external/wpa_supplicant_8/src/utils/
H A Dcommon.h322 #ifndef ETH_P_ALL
323 #define ETH_P_ALL 0x0003 macro
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Dcommon.h322 #ifndef ETH_P_ALL
323 #define ETH_P_ALL 0x0003 macro

Completed in 693 milliseconds

12