/external/ltp/testcases/kernel/syscalls/setsockopt/ |
D | setsockopt02.c | 45 #ifndef ETH_P_ALL 46 # define ETH_P_ALL 0x0003 macro 98 sk = SAFE_SOCKET(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in create_skbuf()
|
/external/scapy/scapy/arch/ |
D | 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 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 pcap 604 if type != ETH_P_ALL: # PF_PACKET stuff. Need to emulate this for pcap [all …]
|
D | 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/bcc/tests/python/ |
D | test_xlate1.py | 36 protocol=protocols.ETH_P_ALL, classid=1, target=0x10002, keys=['0x0/0x0+0']) 38 protocol=protocols.ETH_P_ALL, classid=1, target=0x10002, keys=['0x0/0x0+0'])
|
/external/autotest/client/bin/net/ |
D | 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 variable in raw_socket 510 self._socket.bind((self._name, self.ETH_P_ALL)) 515 self._socket.bind((self._name, self.ETH_P_ALL))
|
D | net_utils_unittest.py | 91 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/strace/xlat/ |
D | ethernet_protocols.h | 20 #if defined(ETH_P_ALL) || (defined(HAVE_DECL_ETH_P_ALL) && HAVE_DECL_ETH_P_ALL) 22 static_assert((ETH_P_ALL) == (0x0003), "ETH_P_ALL != 0x0003"); 25 # define ETH_P_ALL 0x0003 652 XLAT(ETH_P_ALL),
|
/external/syzkaller/sys/linux/ |
D | socket_packet_386.const | 6 ETH_P_ALL = 3
|
D | socket_packet_ppc64le.const | 6 ETH_P_ALL = 3
|
D | socket_packet_arm64.const | 6 ETH_P_ALL = 3
|
D | socket_packet_amd64.const | 6 ETH_P_ALL = 3
|
D | socket_packet_arm.const | 6 ETH_P_ALL = 3
|
D | socket_packet.txt | 14 define ETH_P_ALL_BE htons(ETH_P_ALL) 31 packet_protocols = ETH_P_802_3, ETH_P_AX25, ETH_P_ALL, ETH_P_802_2, ETH_P_SNAP, ETH_P_DDCMP, ETH_P_…
|
D | vnet_arm64.const | 102 ETH_P_ALL = 3
|
/external/libnl/include/linux-private/linux/ |
D | if_ether.h | 93 #define ETH_P_ALL 0x0003 /* Every packet (be careful!!!) */ macro
|
/external/scapy/scapy/ |
D | 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, *arg… 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,
|
/external/iproute2/include/uapi/linux/ |
D | if_ether.h | 121 #define ETH_P_ALL 0x0003 /* Every packet (be careful!!!) */ macro
|
/external/kernel-headers/original/uapi/linux/ |
D | if_ether.h | 124 #define ETH_P_ALL 0x0003 /* Every packet (be careful!!!) */ macro
|
/external/scapy/scapy/arch/bpf/ |
D | 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/wpa_supplicant_8/src/ap/ |
D | x_snoop.c | 75 l2 = l2_packet_init(conf->bridge, NULL, ETH_P_ALL, handler, hapd, 1); in x_snoop_get_l2_packet()
|
/external/ltp/testcases/kernel/containers/share/ |
D | ns_ifmove.c | 58 sock_fd = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in get_intf_index_from_name()
|
/external/wpa_supplicant_8/src/l2_packet/ |
D | l2_packet_linux.c | 381 htons(ETH_P_ALL)); in l2_packet_init_bridge() 392 ll.sll_protocol = htons(ETH_P_ALL); in l2_packet_init_bridge()
|
/external/wpa_supplicant_8/src/utils/ |
D | common.h | 323 #ifndef ETH_P_ALL 324 #define ETH_P_ALL 0x0003 macro
|
/external/u-boot/arch/sandbox/cpu/ |
D | eth-raw-os.c | 48 priv->sd = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in _raw_packet_start()
|
/external/libnl/lib/route/ |
D | cls.c | 112 return ETH_P_ALL; in rtnl_cls_get_protocol()
|