Home
last modified time | relevance | path

Searched refs:i2h (Results 1 – 24 of 24) sorted by relevance

/external/scapy/scapy/contrib/
Dppi_geotag.py41 def i2h(self, pkt, x): member in Fixed3_6Field
72 y=self.i2h(pkt,x)
75 def i2h(self, pkt, x): member in Fixed3_7Field
105 y=self.i2h(pkt,x)
109 def i2h(self, pkt, x): member in Fixed6_4Field
139 y=self.i2h(pkt,x)
144 def i2h(self, pkt, x): #converts nano-seconds to seconds for output member in NSCounter_Field
168 y=self.i2h(pkt,x)
Dcoap.py163 def i2h(self, pkt, x): member in _CoAPOptsField
207 def i2h(self, pkt, x): member in _CoAPPaymark
Dskinny.py218 def i2h(self, pkt, x): member in SkinnyDateTimeField
225 return self.i2h(pkt, x)
Dhttp2.py126 def i2h(self, pkt, x): member in HPackMagicBitField
136 return super(HPackMagicBitField, self).i2h(pkt, self._magic)
222 def i2h(self, pkt, x): member in AbstractUVarIntField
363 return repr(self.i2h(pkt, x))
514 def i2h(self, pkt, x): member in UVarIntField
523 ret = super(UVarIntField, self).i2h(pkt, x)
1231 def i2h(self, pkt, x): member in HPackStrLenField
1285 return repr(self.i2h(pkt, x))
Dppi_cace.py50 def i2h(self, pkt, val): member in PPITSFTField
Dsend.py57 return self.i2h(pkt, x) # No specific information to return
Dikev2.py442 def i2h(self, pkt, x): member in IKEv2_Key_Length_Attribute
443 return IntField.i2h(self, pkt, x & 0xFFFF)
Dbgp.py115 def i2h(self, pkt, i): member in BGPFieldIPv4
122 return self.i2h(pkt, i)
161 def i2h(self, pkt, i): member in BGPFieldIPv6
167 return self.i2h(pkt, i)
Dgtp.py151 def i2h(self, pkt, val): member in TBCDByteField
Dhttp2.uts355 = HTTP/2 HPackStrLenField.i2h / i2repr
361 assert(f.i2h(None, h2.HPackLiteralString(s)) == 'HPackLiteralString(Test)')
364 assert(f.i2h(None, h2.HPackZString(s)) == 'HPackZString(Test)')
/external/scapy/scapy/
Dfields.py59 def i2h(self, pkt, x): member in Field
77 return repr(self.i2h(pkt,x))
221 x = self.i2h(pkt, x)
261 return self.resolve(self.i2h(pkt, x))
286 def i2h(self, pkt, x): member in SourceIPField
289 return IPField.i2h(self, pkt, x)
300 return lhex(self.i2h(pkt, x))
304 return "%03o"%self.i2h(pkt, x)
336 return lhex(self.i2h(pkt, x))
361 return lhex(self.i2h(pkt, x))
[all …]
Dasn1fields.py63 def i2h(self, pkt, x): member in ASN1F_field
Dpacket.py234 return fld.i2h(self, v)
/external/scapy/scapy/layers/
Dl2.py98 def i2h(self, pkt, x): member in DestMACField
107 return MACField.i2h(self, pkt, x)
109 return MACField.i2m(self, pkt, self.i2h(pkt, x))
118 def i2h(self, pkt, x): member in SourceMACField
130 return MACField.i2h(self, pkt, x)
132 return MACField.i2m(self, pkt, self.i2h(pkt, x))
Ddns.py92 def i2h(self, pkt, x): member in DNSRRCountField
258 def i2h(self, pkt, x): member in RDLenField
402 x = self.i2h(pkt, x)
506 x = self.i2h(pkt, x)
681 def i2h(self, pkt, packed_seconds): member in TimeSignedField
Ddhcp6.py379 def i2h(self, pkt, x): member in _OptReqListField
392 for y in self.i2h(pkt, x):
439 return "%.2f sec" % (self.i2h(pkt, x)/100.)
499 def i2h(self, pkt, x): member in _SrvAddrField
505 return inet_pton(socket.AF_INET6, self.i2h(pkt,x))
Dbluetooth.py32 return lhex(self.i2h(pkt, x))
38 return lhex(self.i2h(pkt, x))
55 x = self.i2h(pkt, x)
Dinet6.py253 return self.i2h(pkt,x)
257 return "%s [Teredo srv: %s cli: %s:%s]" % (self.i2h(pkt, x), server, maddr,mport)
260 return "%s [6to4 GW: %s]" % (self.i2h(pkt, x), vaddr)
261 return self.i2h(pkt, x) # No specific information to return
275 def i2h(self, pkt, x): member in SourceIP6Field
288 return IP6Field.i2h(self, pkt, x)
299 def i2h(self, pkt, x): member in DestIP6Field
302 return IP6Field.i2h(self, pkt, x)
2231 def i2h(self, pkt, x): member in NIQueryDataField
2379 def i2h(self, pkt, x): member in NIReplyDataField
Dntp.py66 return lhex(self.i2h(pkt, x))
80 val = self.i2h(pkt, val)
Dinet.py359 def i2h(self, pkt, x): member in DestIPField
362 return IPField.i2h(self, pkt, x)
/external/scapy/scapy/layers/tls/
Dbasefields.py50 def i2h(self, pkt, x): member in _TLSClientVersionField
72 def i2h(self, pkt, x): member in _TLSVersionField
Dhandshake.py114 def i2h(self, pkt, x): member in _GMTUnixTimeField
123 return repr_hex(self.i2h(pkt,x))
1095 return repr(self.i2h(pkt,x))
/external/scapy/doc/scapy/
Dbuild_dissect.rst134 single: i2h()
145 This explains the mysterious methods ``i2h()``, ``i2m()``, ``m2i()`` and so on
152 - ``i2repr()`` a nicer ``i2h()``
/external/scapy/test/
DdnssecRR.uts143 assert(TimeSignedField("", 0).i2h("", packed_data) == 853804800)