/external/scapy/scapy/contrib/ |
D | ldp.py | 63 def m2i(self, pkt, x): member in FecTLVField 105 return s[l:],self.m2i(pkt, s[:l]) 111 def m2i(self, pkt, x): member in LabelTLVField 125 return s[l:],self.m2i(pkt, s[:l]) 132 def m2i(self, pkt, x): member in AddressTLVField 155 return s[l:],self.m2i(pkt, s[:l]) 162 def m2i(self, pkt, x): member in StatusTLVField 193 return s[l:],self.m2i(pkt, s[:l]) 199 def m2i(self, pkt, x): member in CommonHelloTLVField 224 return s[l:],self.m2i(pkt, s[:l]) [all …]
|
D | bgp.py | 140 return s[length:], self.m2i(pkt, s[:length]) 142 def m2i(self, pkt, m): member in BGPFieldIPv4 184 return s[length:], self.m2i(pkt, s[:length]) 186 def m2i(self, pkt, m): member in BGPFieldIPv6 247 packet = self.m2i(pkt, current) 757 packet = self.m2i(pkt, current) 873 packet = self.m2i(pkt, current) 1080 packet = self.m2i(pkt, current) 1138 packet = self.m2i(pkt, current) 1659 def m2i(self, pkt, m): member in _ExtCommValuePacketField [all …]
|
D | coap.py | 168 opts = self.m2i(pkt, s) 174 def m2i(self, pkt, x): member in _CoAPOptsField 211 (u, m) = self.m2i(pkt, s) 214 def m2i(self, pkt, x): member in _CoAPPaymark
|
D | eigrp.py | 85 def m2i(self, pkt, x): member in EigrpIPField 117 return s[l:], self.m2i(pkt, s[:l]) 153 def m2i(self, pkt, x): member in EigrpIP6Field 181 return s[l:], self.m2i(pkt, s[:l]) 429 p = self.m2i(pkt, remain)
|
D | openflow3.py | 93 def m2i(self, pkt, s): member in HelloElemPacketListField 109 p = self.m2i(pkt, current) 579 def m2i(self, pkt, s): member in OXMPacketListField 607 p = self.m2i(pkt, current) 620 def m2i(self, pkt, s): member in OXMIDPacketListField 634 p = self.m2i(pkt, current) 671 i = self.m2i(pkt, s) 985 def m2i(self, pkt, s): member in ActionPacketListField 1005 p = self.m2i(pkt, current) 1202 def m2i(self, pkt, s): member in ActionIDPacketListField [all …]
|
D | isis.py | 137 def m2i(self, pkt, x): member in _ISIS_IdFieldBase 142 return self.m2i(pkt, x) 180 def m2i(self, pkt, x): member in ISIS_AreaIdField 196 return s[numbytes:], self.m2i(pkt, struct.unpack("!%is" % numbytes, s[:numbytes])[0])
|
D | send.py | 52 def m2i(self, pkt, x): member in HashField
|
D | http2.py | 138 def m2i(self, pkt, x): member in HPackMagicBitField 146 r = super(HPackMagicBitField, self).m2i(pkt, x) 281 def m2i(self, pkt, x): member in AbstractUVarIntField 351 ret = self.m2i(pkt, x) 470 ret = val[l:], self.m2i(pkt, s) 1244 def m2i(self, pkt, x): member in HPackStrLenField 1271 return self.m2i(pkt, x)
|
D | openflow.py | 336 def m2i(self, pkt, s): member in ActionPacketListField 352 p = self.m2i(pkt, current) 390 def m2i(self, pkt, s): member in QueuePropertyPacketListField 408 p = self.m2i(pkt, current)
|
D | dtp.py | 58 p = self.m2i(pkt,remain)
|
D | pnio_rtc.py | 111 def m2i(self, pkt, m): member in LowerLayerBoundPacketListField 457 return s[length:], self.m2i(pkt, val)
|
D | http2.uts | 39 = HTTP/2 UVarIntField.m2i on full byte 43 assert(f.m2i(None, b'\x00') == 0) 44 assert(f.m2i(None, b'\x03') == 3) 45 assert(f.m2i(None, b'\xFE') == 254) 46 assert(f.m2i(None, b'\xFF\x00') == 255) 47 assert(f.m2i(None, b'\xFF\xFF\x03') == 766) #0xFF + (0xFF ^ 0x80) + (3<<7) 49 = HTTP/2 UVarIntField.m2i on partial byte 53 assert(f.m2i(None, (b'\x00', 3)) == 0) 54 assert(f.m2i(None, (b'\x03', 3)) == 3) 55 assert(f.m2i(None, (b'\x1e', 3)) == 30) [all …]
|
/external/scapy/scapy/layers/ |
D | x509.py | 637 oid,s = extnID.m2i(pkt, s) 703 def m2i(self, pkt, x): member in ASN1F_X509_SubjectPublicKeyInfo 704 c,s = ASN1F_SEQUENCE.m2i(self, pkt, x) 707 return ASN1F_X509_SubjectPublicKeyInfoRSA().m2i(pkt, x) 709 return ASN1F_X509_SubjectPublicKeyInfoECDSA().m2i(pkt, x) 713 c,x = self.m2i(pkt, s) 764 i = self.m2i(pkt, s) 924 def m2i(self, pkt, x): member in ASN1F_X509_Cert 925 c,s = ASN1F_SEQUENCE.m2i(self, pkt, x) 930 return ASN1F_X509_CertECDSA().m2i(pkt, x) [all …]
|
D | ntp.py | 318 def m2i(self, pkt, m): member in NTPExtPacketListField 343 current_packet = self.m2i(pkt, current) 348 lst.append(self.m2i(pkt, extensions)) 701 def m2i(self, pkt, m): member in NTPControlStatusField 755 def m2i(self, pkt, m): member in NTPControlDataPacketLenField 785 i = self.m2i(pkt, s[:length]) 1504 def m2i(self, pkt, s): member in NTPPrivateRespPacketListField 1526 current_packet = self.m2i(pkt, current) 1598 def m2i(self, pkt, s): member in NTPPrivateReqPacketListField 1644 current_packet = self.m2i(pkt, current)
|
D | dhcp6.py | 290 def m2i(self, pkt, x): member in _DUIDField 299 return s[l:], self.m2i(pkt,s[:l]) 341 p = self.m2i(pkt,remain) 399 def m2i(self, pkt, x): member in _OptReqListField 555 p = self.m2i(pkt,remain) 731 return s[l:], self.m2i(pkt,s[:l]) 736 def m2i(self, pkt, x): member in DomainNameField
|
D | radius.py | 998 def m2i(self, pkt, m): member in _EAPPacketField 1077 packet = self.m2i(pkt, current)
|
D | eap.py | 708 def m2i(self, pkt, m): member in MKAParamSetPacketListField 720 current_packet = self.m2i(pkt, current)
|
D | dhcp.py | 212 return b"", self.m2i(pkt, s) 213 def m2i(self, pkt, x): member in DHCPOptionsField
|
/external/scapy/scapy/ |
D | asn1fields.py | 67 def m2i(self, pkt, s): member in ASN1F_field 128 v,s = self.m2i(pkt, s) 301 def m2i(self, pkt, s): member in ASN1F_SEQUENCE 334 _,x = self.m2i(pkt, s) 355 def m2i(self, pkt, s): member in ASN1F_SEQUENCE_OF 409 def m2i(self, pkt, s): member in ASN1F_optional 411 return self._field.m2i(pkt, s) 469 def m2i(self, pkt, s): member in ASN1F_CHOICE 491 return choice(self.name, b"").m2i(pkt, s) 494 return choice.m2i(pkt, s) [all …]
|
D | fields.py | 62 def m2i(self, pkt, x): member in Field 83 return s[self.sz:], self.m2i(pkt, struct.unpack(self.fmt, s[:self.sz])[0]) 214 def m2i(self, pkt, x): member in MACField 218 x = self.m2i(pkt, x) 256 def m2i(self, pkt, x): member in IPField 312 return s[3:], self.m2i(pkt, struct.unpack(self.fmt, b"\x00"+s[:3])[0]) 411 return b"", self.m2i(pkt, s) 413 return s[-self.remain:],self.m2i(pkt, s[:-self.remain]) 427 def m2i(self, pkt, m): member in PacketField 430 i = self.m2i(pkt, s) [all …]
|
/external/scapy/scapy/layers/tls/ |
D | basefields.py | 141 return s[l:], self.m2i(pkt, s[:l]) 168 return s[l:], self.m2i(pkt, s[:l]) 198 return s[l:], self.m2i(pkt, s[:l]) 247 return s[l:], self.m2i(pkt, s[:l])
|
D | handshake.py | 180 def m2i(self, pkt, m): member in _CipherSuitesField 500 return s[3:], self.m2i(pkt, struct.unpack(self.fmt, b"\x00" + s[:3])[0]) 634 def m2i(self, pkt, m): member in _ASN1CertAndExtListField 781 return s[l:], self.m2i(pkt, s[:l]) 783 def m2i(self, pkt, m): member in _CertAuthoritiesField 905 def m2i(self, pkt, m): member in _TLSCKExchKeysField 1099 return s[3:], self.m2i(pkt, struct.unpack(self.fmt, b"\x00"+s[:3])[0]) 1104 def m2i(self, pkt, m): member in _StatusField
|
D | extensions.py | 230 def m2i(self, pkt, m): member in _TAListField 277 def m2i(self, pkt, m): member in _StatusReqField 626 return s[l:], self.m2i(pkt, s[:l]) 643 def m2i(self, pkt, m): member in _ExtensionsField
|
D | keyexchange.py | 128 return m[sig_len:], self.m2i(pkt, m[:sig_len]) 212 def m2i(self, pkt, m): member in _TLSSignatureField 219 i = self.m2i(pkt, s) 246 def m2i(self, pkt, m): member in _TLSServerParamsField 429 def m2i(self, pkt, m): member in _ECBasisField
|
D | handshake_sslv2.py | 91 def m2i(self, pkt, m): member in _SSLv2CipherSuitesField 214 def m2i(self, pkt, m): member in _SSLv2CipherSuiteField 218 return s[3:], self.m2i(pkt, s)
|