Home
last modified time | relevance | path

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

12

/external/ltp/testcases/kernel/syscalls/setsockopt/
Dsetsockopt02.c33 #ifndef ETH_P_ALL
34 # define ETH_P_ALL 0x0003 macro
86 sk = SAFE_SOCKET(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in create_skbuf()
/external/scapy/scapy/arch/
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
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 …]
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/bcc/tests/python/
Dtest_xlate1.py36 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/strace/xlat/
Dethernet_protocols.h20 #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),
Dethernet_protocols.in4 ETH_P_ALL 0x0003 /* Every packet (be careful!!!) */
/external/iproute2/include/uapi/linux/
Dif_ether.h121 #define ETH_P_ALL 0x0003 /* Every packet (be careful!!!) */ macro
/external/libnl/include/linux-private/linux/
Dif_ether.h124 #define ETH_P_ALL 0x0003 /* Every packet (be careful!!!) */ macro
/external/kernel-headers/original/uapi/linux/
Dif_ether.h128 #define ETH_P_ALL 0x0003 /* Every packet (be careful!!!) */ macro
/external/scapy/scapy/
Dsendrecv.py20 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,
Ddata.py30 ETH_P_ALL = 3 variable
/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()
/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/scapy/scapy/arch/bpf/
Dsupersocket.py20 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/l2_packet/
Dl2_packet_linux.c386 htons(ETH_P_ALL)); in l2_packet_init_bridge()
397 ll.sll_protocol = htons(ETH_P_ALL); in l2_packet_init_bridge()
/external/wpa_supplicant_8/src/utils/
Dcommon.h323 #ifndef ETH_P_ALL
324 #define ETH_P_ALL 0x0003 macro
/external/libnl/lib/route/
Dcls.c113 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.c399 rcv_sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in walk_tx()
737 ring->ll.sll_protocol = htons(ETH_P_ALL); in bind_ring()
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211_monitor.c407 drv->monitor_sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in nl80211_create_monitor_interface()
Ddriver_roboswitch.c215 drv->l2 = l2_packet_init(drv->ifname, NULL, ETH_P_ALL, in wpa_driver_roboswitch_set_param()
/external/bcc/src/cc/
Dlibbpf.c640 sock = socket(PF_PACKET, SOCK_RAW | SOCK_NONBLOCK | SOCK_CLOEXEC, htons(ETH_P_ALL)); in bpf_open_raw_sock()
658 sll.sll_protocol = htons(ETH_P_ALL); in bpf_open_raw_sock()
/external/iproute2/tc/
Dtc_filter.c70 protocol = htons(ETH_P_ALL); in tc_filter_modify()
/external/strace/tests-m32/
Dnet-sockaddr.c498 .sll_protocol = htons(ETH_P_ALL), in check_ll()
/external/strace/tests-mx32/
Dnet-sockaddr.c498 .sll_protocol = htons(ETH_P_ALL), in check_ll()

12