Home
last modified time | relevance | path

Searched refs:getfieldval (Results 1 – 18 of 18) sorted by relevance

/external/scapy/scapy/contrib/
Dhttp2.py1228 t = pkt.getfieldval(self._type_from) == 1
1254 t = pkt.getfieldval(self._type_from)
1301 length_from=lambda pkt: pkt.getfieldval('len'),
1318 if self.getfieldval('type') is None:
1319 self.type = 1 if isinstance(self.getfieldval('data'), HPackZString) else 0
1369 lambda pkt: pkt.getfieldval('index') == 0
1389 lambda pkt: pkt.getfieldval('index') == 0
1446 length_from=lambda pkt: pkt.getfieldval('padlen')
1460 padding_len = self.getfieldval('padlen')
1526 length_from=lambda pkt: pkt.getfieldval('padlen')
[all …]
Dppi_cace.py53 flags = pkt.getfieldval("Pkt_Flags")
65 flags = pkt.getfieldval("Pkt_Flags")
Dcoap.py237 def getfieldval(self, attr): member in CoAP
241 return Packet.getfieldval(self, attr)
Dhttp2.uts457 assert(isinstance(p.getfieldval('data'), h2.HPackLiteralString))
458 assert(p.getfieldval('data').origin() == 'Test')
463 assert(isinstance(p.getfieldval('data'), h2.HPackZString))
464 assert(p.getfieldval('data').origin() == 'Test')
512 assert(p.hdr_name.getfieldval('data').origin() == 'Test')
516 assert(p.hdr_value.getfieldval('data').origin() == 'Toto')
528 assert(p.hdr_value.getfieldval('data').origin() == 'Toto')
561 assert(isinstance(p.hdr_name.getfieldval('data'), h2.HPackLiteralString))
562 assert(p.hdr_name.getfieldval('data').origin() == 'Test')
566 assert(isinstance(p.hdr_value.getfieldval('data'), h2.HPackLiteralString))
[all …]
Dppi_geotag.py244 value = pkt.getfieldval(name)
298 return (pkt.getfieldval(name) is not None)
Dicmp_extensions.py71 if not hasattr(ieo, k) or v != ieo.getfieldval(k):
Dpnio_rtc.py228 pkt_len = self.getfieldval("len")
/external/scapy/scapy/
Dpacket.py211 def getfieldval(self, attr): member in Packet
218 return self.payload.getfieldval(attr)
384 if self.getfieldval(fname) != fval:
392 val = self.getfieldval(f.name)
461 p = f.addfield(self, p, self.getfieldval(f.name) )
467 pl.append( (f, f.i2repr(self,self.getfieldval(f.name)), r) )
756 if not hasattr(self, k) or v != self.getfieldval(k):
803 elt = self.getfieldval(eltname)
859 if self.getfieldval(f.name) != other.getfieldval(f.name):
880 fvalue_gen = self.getfieldval(f.name)
[all …]
Dplist.py530 if len(scheme) == 2 or p[o].getfieldval(fld.name) == old:
Dfields.py196 if all(pkt.payload.getfieldval(field) == value
/external/scapy/scapy/layers/tls/
Dhandshake_sslv2.py395 fval = self.getfieldval("challenge")
451 sig = self.getfieldval("responsedata")
504 fval = self.getfieldval("connection_id")
527 fval = self.getfieldval("sid")
Dhandshake.py696 fval = self.getfieldval("params")
713 fval = self.getfieldval("sig")
851 sig = self.getfieldval("sig")
938 fval = self.getfieldval("exchkeys")
971 fval = self.getfieldval("vdata")
Dextensions.py97 fvalue = self.getfieldval(f.name)
110 fvalue = self.getfieldval(f.name)
/external/scapy/doc/scapy/
Dbuild_dissect.rst224 x = f.i2len(pkt, pkt.getfieldval(self.fld))
569 p = f.addfield(self, p, self.getfieldval(f))
575 ``val=self.getfieldval(f)``).
779 ``getfieldval()`` will return the value inserted in
794 def getfieldval(self, attr):
798 return self.payload.getfieldval(attr)
/external/scapy/scapy/layers/
Ddns.py517 lrrname = len(self.fields_desc[0].i2m("", self.getfieldval("rrname")))
Dinet6.py2309 d = pkt.getfieldval("data")
/external/scapy/test/
Dregression.uts2814 a=ICMPv6NIQueryName(data="abricot").getfieldval("data")
2821 a=ICMPv6NIQueryName(data="n.d.org").getfieldval("data")
2828 a=ICMPv6NIQueryName(data="2001:db8::1").getfieldval("data")
2835 a=ICMPv6NIQueryName(data="169.254.253.252").getfieldval("data")
2854 a = a.getfieldval("data")
2861 a=ICMPv6NIQueryIPv6(data="n.d.org").getfieldval("data")
2868 a=ICMPv6NIQueryIPv6(data="2001:db8::1").getfieldval("data")
2875 a=ICMPv6NIQueryIPv6(data="169.254.253.252").getfieldval("data")
2887 a=ICMPv6NIQueryIPv4(data="abricot").getfieldval("data")
2894 a=ICMPv6NIQueryIPv4(data="n.d.org").getfieldval("data")
[all …]
/external/scapy/doc/notebooks/
DHTTP_2_Tuto.ipynb342 " new_flags = new_frame.getfieldval('flags')\n",
770 " new_flags = new_frame.getfieldval('flags')\n",