/external/ltp/testcases/kernel/syscalls/setsockopt/ |
setsockopt02.c | 45 #ifndef ETH_P_ALL 46 # define ETH_P_ALL 0x0003 98 sk = SAFE_SOCKET(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL));
|
/external/scapy/scapy/arch/ |
pcapdnet.py | 179 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: # PF_PACKET stuff. Need to emulate this for pca [all...] |
linux.py | 399 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/ |
if_ether.h | 93 #define ETH_P_ALL 0x0003 /* Every packet (be careful!!!) */
|
/external/wpa_supplicant_8/src/ap/ |
x_snoop.c | 75 l2 = l2_packet_init(conf->bridge, NULL, ETH_P_ALL, handler, hapd, 1);
|
iapp.c | 479 iapp->packet_sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL));
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
if_ether.h | 100 #define ETH_P_ALL 0x0003 /* Every packet (be careful!!!) */
|
/bionic/libc/kernel/uapi/linux/ |
if_ether.h | 96 #define ETH_P_ALL 0x0003
|
/external/iproute2/include/uapi/linux/ |
if_ether.h | 121 #define ETH_P_ALL 0x0003 /* Every packet (be careful!!!) */
|
/external/kernel-headers/original/uapi/linux/ |
if_ether.h | 122 #define ETH_P_ALL 0x0003 /* Every packet (be careful!!!) */
|
/external/ltp/testcases/kernel/containers/share/ |
ns_ifmove.c | 58 sock_fd = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL));
|
/external/scapy/scapy/arch/bpf/ |
supersocket.py | 20 from scapy.data import ETH_P_ALL 43 def __init__(self, iface=None, type=ETH_P_ALL, promisc=None, filter=None, nofilter=0):
|
/external/strace/xlat/ |
ethernet_protocols.h | 198 #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/ |
net_utils.py | 126 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 510 self._socket.bind((self._name, self.ETH_P_ALL)) 515 self._socket.bind((self._name, self.ETH_P_ALL))
|
net_utils_unittest.py | 91 s.bind.expect_call(('eth0', net_utils.raw_socket.ETH_P_ALL)) [all...] |
/frameworks/base/services/net/java/android/net/ip/ |
ConnectivityPacketTracker.java | 106 Os.bind(s, new PacketSocketAddress((short) ETH_P_ALL, mInterface.index));
|
/external/scapy/scapy/ |
sendrecv.py | 20 from scapy.data import ETH_P_ALL, MTU 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,
|
data.py | 30 ETH_P_ALL = 3
|
/external/wpa_supplicant_8/src/l2_packet/ |
l2_packet_linux.c | 352 * 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/ |
cls.c | 112 return ETH_P_ALL;
|
/external/ltp/testcases/network/stress/ns-tools/ |
ns-icmp_redirector.c | 229 if ((sd = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL))) < 0) 242 lla.sll_protocol = htons(ETH_P_ALL);
|
/external/wpa_supplicant_8/src/utils/ |
common.h | 322 #ifndef ETH_P_ALL 323 #define ETH_P_ALL 0x0003
|
/external/wpa_supplicant_8/src/drivers/ |
driver_nl80211_monitor.c | 395 drv->monitor_sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL));
|
driver_roboswitch.c | 215 drv->l2 = l2_packet_init(drv->ifname, NULL, ETH_P_ALL,
|
/external/linux-kselftest/tools/testing/selftests/net/ |
psock_tpacket.c | 411 rcv_sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); 749 ring->ll.sll_protocol = htons(ETH_P_ALL);
|