/external/scapy/scapy/arch/ |
D | pcapdnet.py | 135 def __init__(self, device, snaplen, promisc, to_ms): argument 138 self.pcap = pcap_open_live(self.iface, snaplen, promisc, to_ms, self.errbuf) 179 def __init__(self, iface = None, type = ETH_P_ALL, promisc=None, filter=None): argument 185 if promisc is None: 186 promisc = conf.sniff_promisc 187 self.promisc = promisc 188 self.ins = open_pcap(iface, 1600, self.promisc, 100) 241 def __init__(self, iface = None, type = ETH_P_ALL, promisc=None, filter=None, nofilter=0): argument 245 if promisc is None: 246 promisc = 0 [all …]
|
D | linux.py | 399 def __init__(self, type = ETH_P_ALL, filter=None, promisc=None, iface=None, nofilter=0): argument 417 self.promisc = conf.promisc if promisc is None else promisc 418 if self.promisc: 431 if self.promisc: 494 def __init__(self, iface=None, type=ETH_P_ALL, promisc=None, filter=None, nofilter=0): argument 506 self.promisc = conf.sniff_promisc if promisc is None else promisc 507 if self.promisc: 526 if self.promisc: 558 def __init__(self, iface = None, type = ETH_P_ALL, promisc=None, filter=None, nofilter=0): argument 573 if promisc is None: [all …]
|
/external/tcpdump/tests/ |
D | sflow_multiple_counter_30_pdus.out | 10 Out errors 0, promisc mode 2 22 Out errors 0, promisc mode 2 34 Out errors 0, promisc mode 2 46 Out errors 0, promisc mode 2 58 Out errors 0, promisc mode 2 70 Out errors 0, promisc mode 2 82 Out errors 0, promisc mode 2 96 Out errors 0, promisc mode 2 108 Out errors 0, promisc mode 2 120 Out errors 0, promisc mode 2 [all …]
|
/external/scapy/scapy/ |
D | sendrecv.py | 352 def sr(x, promisc=None, filter=None, iface=None, nofilter=0, *args,**kargs): argument 364 s = conf.L3socket(promisc=promisc, filter=filter, iface=iface, nofilter=nofilter) 370 def sr1(x, promisc=None, filter=None, iface=None, nofilter=0, *args,**kargs): argument 382 s=conf.L3socket(promisc=promisc, filter=filter, nofilter=nofilter, iface=iface) 391 def srp(x, promisc=None, iface=None, iface_hint=None, filter=None, nofilter=0, type=ETH_P_ALL, *arg… argument 405 s = conf.L2socket(promisc=promisc, iface=iface, filter=filter, nofilter=nofilter, type=type) 539 def srflood(x, promisc=None, filter=None, iface=None, nofilter=None, *args,**kargs): argument 546 s = conf.L3socket(promisc=promisc, filter=filter, iface=iface, nofilter=nofilter) 552 def sr1flood(x, promisc=None, filter=None, iface=None, nofilter=0, *args,**kargs): argument 559 s=conf.L3socket(promisc=promisc, filter=filter, nofilter=nofilter, iface=iface) [all …]
|
D | supersocket.py | 40 self.promisc=None 77 def __init__(self, type = ETH_P_IP, filter=None, iface=None, promisc=None, nofilter=0): argument 191 def __init__(self, iface=None, promisc=None, filter=None, nofilter=False, argument 205 if not promisc:
|
D | config.py | 397 promisc = 1 variable in Conf
|
/external/scapy/scapy/arch/bpf/ |
D | supersocket.py | 43 def __init__(self, iface=None, type=ETH_P_ALL, promisc=None, filter=None, nofilter=0): argument 46 if promisc is None: 47 self.promisc = conf.sniff_promisc 49 self.promisc = promisc 75 if self.promisc:
|
/external/libpcap/ |
D | pcap-dos.c | 111 static int first_init (const char *name, char *ebuf, int promisc); 209 !first_init(pcap->opt.device, pcap->errbuf, pcap->opt.promisc)) in pcap_activate_dos() 653 open_driver (const char *dev_name, char *ebuf, int promisc) in open_driver() argument 684 if (promisc) in open_driver() 703 if (promisc && dev->set_multicast_list) in open_driver() 799 static int first_init (const char *name, char *ebuf, int promisc) in first_init() argument 820 dev = open_driver (name, ebuf, promisc); in first_init()
|
D | pcap-libdlpi.c | 152 if (p->opt.promisc) { in pcap_activate_libdlpi() 190 if (p->opt.promisc) in pcap_activate_libdlpi()
|
D | pcap-int.h | 99 int promisc; member
|
D | pcap.c | 2204 p->opt.promisc = 0; 2248 pcap_set_promisc(pcap_t *p, int promisc) 2252 p->opt.promisc = promisc; 2453 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms, char *errbuf) 2483 promisc ? PCAP_OPENFLAG_PROMISCUOUS : 0, to_ms, 2511 status = pcap_set_promisc(p, promisc);
|
D | pcap-dlpi.c | 675 if (p->opt.promisc) { 707 if (!p->opt.promisc) { 717 if (p->opt.promisc) {
|
D | pcap-netmap.c | 258 if (p->opt.promisc && !(d->req.nr_ringid & NETMAP_SW_RING)) { in pcap_netmap_activate()
|
D | pcap-nit.c | 248 if (p->opt.promisc) in nit_setflags()
|
D | pcap-snit.c | 269 if (p->opt.promisc) in nit_setflags()
|
D | pcap-pf.c | 362 if (p->opt.promisc) in pcap_activate_pf()
|
D | pcap-linux.c | 1528 if (handle->opt.promisc) { 1529 handle->opt.promisc = 0; 1552 if (handle->opt.promisc) 2195 if (handle->opt.promisc) 3833 if (!is_any_device && handle->opt.promisc) { 6652 if (handle->opt.promisc) {
|
D | pcap-sita.c | 967 …acn_start_monitor(handle->fd, handle->snapshot, handle->opt.timeout, handle->opt.promisc, handle->… in pcap_read_acn()
|
D | pcap-npf.c | 1026 if (p->opt.promisc) in pcap_activate_npf()
|
D | pcap-bpf.c | 2427 if (p->opt.promisc) {
|
D | CHANGES | 694 - Document promisc argument to pcap_open_live(). Reported by Ian Marsh
|
/external/scapy/test/ |
D | bpf.uts | 77 L2bpfListenSocket(promisc=True) 79 L2bpfListenSocket(iface=conf.iface, promisc=True, filter="icmp")
|
/external/scapy/scapy/layers/ |
D | inet6.py | 3232 def __init__(self, type = ETH_P_IPV6, filter=None, iface=None, promisc=None, nofilter=0): argument 3233 L3RawSocket.__init__(self, type, filter, iface, promisc)
|
/external/libnl/lib/route/ |
D | link.c | 2520 __ADD(IFF_PROMISC, promisc)
|