Home
last modified time | relevance | path

Searched refs:lfilter (Results 1 – 5 of 5) sorted by relevance

/external/scapy/scapy/
Dplist.py95 def summary(self, prn=None, lfilter=None): argument
100 if lfilter is not None:
101 if not lfilter(r):
107 def nsummary(self, prn=None, lfilter=None): argument
112 if lfilter is not None:
113 if not lfilter(res):
142 def plot(self, f, lfilter=None, plot_xy=False, **kargs): argument
150 if lfilter is None:
153 l = [f(e) for e in self.res if lfilter(e)]
169 def diffplot(self, f, delay=1, lfilter=None, **kargs): argument
[all …]
Dsendrecv.py601 def sniff(count=0, store=True, offline=None, prn=None, lfilter=None, argument
750 if lfilter and not lfilter(p):
/external/scapy/test/
Dsendsniff.uts30 "lfilter": lambda p: IP in p and p[IP].src == "1.2.3.4"}
38 "lfilter": lambda p: IP in p and p[IP].src == "1.2.3.4"})
55 "lfilter": lambda p: IP in p and p[IP].src == "2.3.4.5"}
71 "lfilter": lambda p: IP in p and p[IP].src == "1.2.3.4"})
112 "lfilter": lambda p: IP in p and p[IP].src == "1.2.3.4"}
121 "lfilter": lambda p: IP in p and p[IP].src == "1.2.3.4"})
139 "lfilter": lambda p: IP in p and p[IP].src == "2.3.4.5"}
155 "lfilter": lambda p: IP in p and p[IP].src == "1.2.3.4"})
/external/scapy/scapy/layers/
Dinet6.py3335 lfilter=lambda x: is_request(x, mac_src_filter, tgt_filter),
3589 lfilter=lambda x: is_request(x, mac_src_filter, tgt_filter),
3819 lfilter=lambda x: is_request(x, mac_src_filter, ip_src_filter),
3900 lfilter=lambda x: is_request(x, mac_src_filter, ip_src_filter),
/external/scapy/doc/scapy/
Dusage.rst424 >>> ans.nsummary(lfilter = lambda (s,r): r.sprintf("%TCP.flags%") == "SA")
429 …>>> ans.summary(lfilter = lambda (s,r): r.sprintf("%TCP.flags%") == "SA",prn=lambda(s,r):r.sprintf…
1232 >>> res.nsummary( lfilter=lambda (s,r): (r.haslayer(TCP) and (r.getlayer(TCP).flags & 2)) )
1248 >>> res.nsummary(prn=lambda (s,r): r.src, lfilter=lambda (s,r): r.haslayer(ISAKMP) )