Home
last modified time | relevance | path

Searched refs:any2i (Results 1 – 21 of 21) sorted by relevance

/external/scapy/test/
Dfields.uts542 = Test calls on MultiFlagsField.any2i
562 x = f.any2i(mp, set())
565 x = f.any2i(mp, {'A'})
571 x = f.any2i(mp, {'A', 'B'})
578 x = f.any2i(mp, 3)
585 x = f.any2i(mp, 7)
594 x = f.any2i(mp, {'+', '*'})
602 x = f.any2i(mp, {'A'})
609 x = f.any2i(None, {'Toto'})
777 = EnumField.any2i
[all …]
Dregression.uts9148 value = test.any2i("", "07:28:28.07")
/external/scapy/scapy/
Dfields.py42 self.default = self.any2i(None,default)
72 def any2i(self, pkt, x): member in Field
132 def any2i(self, pkt, val): member in ActionField
216 def any2i(self, pkt, x): member in MACField
258 def any2i(self, pkt, x): member in IPField
392 def any2i(self, pkt, x): member in StrField
395 return super(StrField, self).any2i(pkt, x)
524 def any2i(self, pkt, x): member in PacketListField
718 def any2i(self, pkt, x): member in FieldListField
720 return [self.field.any2i(pkt, x)]
[all …]
Dasn1fields.py65 def any2i(self, pkt, x): member in ASN1F_field
425 def any2i(self, pkt, x): member in ASN1F_optional
426 return self._field.any2i(pkt, x)
Dpacket.py131 self.fields[f] = self.get_field(f).any2i(self, v)
241 any2i = lambda x,y: y function
243 any2i = fld.any2i
244 self.fields[attr] = any2i(self, val)
/external/scapy/scapy/contrib/
Dsend.py54 def any2i(self, pkt, x): member in HashField
Deigrp.py137 def any2i(self, pkt, x): member in EigrpIP6Field
138 return IP6Field.any2i(self, pkt, x)
Dhttp2.py162 def any2i(self, pkt, x): member in HPackMagicBitField
172 return super(HPackMagicBitField, self).any2i(pkt, self._magic)
332 def any2i(self, pkt, x): member in AbstractUVarIntField
527 def any2i(self, pkt, x): member in UVarIntField
536 ret = super(UVarIntField, self).any2i(pkt, x)
1261 def any2i(self, pkt, x): member in HPackStrLenField
Dhttp2.uts27 = HTTP/2 UVarIntField.any2i
31 expect_exception(AssertionError, 'f.any2i(None, None)')
32 assert(f.any2i(None, 0) == 0)
33 assert(f.any2i(None, 3) == 3)
34 assert(f.any2i(None, 1<<5) == 1<<5)
35 assert(f.any2i(None, 1<<16) == 1<<16)
37 assert(f.any2i(None, b'\x1E') == 30)
264 = HTTP/2 HPackStrLenField.any2i
276 s = f.any2i(TrivialPacket(type=0, len=4), b'Test')
280 s = f.any2i(TrivialPacket(type=1, len=3), b"\xdeT'")
[all …]
Dppi_geotag.py215 def any2i(self, pkt, x): member in VectorFlags_Field
Disis.py140 def any2i(self, pkt, x): member in _ISIS_IdFieldBase
Ddiameter.py261 def any2i(self, pkt, x): member in Address
316 def any2i(self, pkt, x): member in ISDN
/external/scapy/scapy/layers/
Dntp.py85 def any2i(self, pkt, val): member in TimeStampField
90 return FixedPointField.any2i(self, pkt, val)
94 val = FixedPointField.any2i(self, pkt, time.time() + _NTP_BASETIME)
Ddhcp.py269 lval = [f.addfield(pkt,b"",f.any2i(pkt,val)) for val in lval]
Dsctp.py544 def any2i(self, pkt, x): member in GapAckField
Dbluetooth.py50 def any2i(self, pkt, x): member in LEMACField
Ddns.py393 def any2i(self, pkt, x): member in TimeField
Dinet.py336 def any2i(self, pkt, val): member in ICMPTimeStampField
1024 c.append((p.time, tsf.any2i("", o[1][0])))
Ddhcp6.py387 def any2i(self, pkt, x): member in _OptReqListField
Dinet6.py249 def any2i(self, pkt, x): member in IP6Field
/external/scapy/scapy/layers/tls/
Dhandshake.py158 def any2i(self, pkt, x): member in _CipherSuitesField
552 def any2i(self, pkt, x): member in _ASN1CertListField
592 def any2i(self, pkt, x): member in _ASN1CertField