Home
last modified time | relevance | path

Searched refs:i2len (Results 1 – 14 of 14) sorted by relevance

/external/scapy/scapy/contrib/
Deigrp.uts36 f.i2len(None, "") == 1
40 f.i2len(None, "") == 2
44 f.i2len(None, "") == 3
48 f.i2len(None, "") == 4
52 f.i2len(None, "") == 2
56 f.i2len(None, "") == 13
60 f.i2len(None, "") == 16
Dhttp2.py420 def i2len(self, pkt, x): member in AbstractUVarIntField
626 val = fld.i2len(pkt, fval)
1279 def i2len(self, pkt, x): member in HPackStrLenField
1462 padding_len_len = fld.i2len(self, fval)
1542 padding_len_len = fld.i2len(self, fval)
1612 padding_len_len = fld.i2len(self, fval)
1616 weight_len = fld.i2len(self, fval)
1822 padding_len_len = fld.i2len(self, padding_len)
Deigrp.py109 def i2len(self, pkt, x): member in EigrpIPField
173 def i2len(self, pkt, x): member in EigrpIP6Field
Dhttp2.uts151 = HTTP/2 UVarIntField.i2len on full byte
156 assert(f.i2len(None, 0) == 1)
157 assert(f.i2len(None, 3) == 1)
158 assert(f.i2len(None, 254) == 1)
159 assert(f.i2len(None, 255) == 2)
160 assert(f.i2len(None, 766) == 3)
162 = HTTP/2 UVarIntField.i2len on partial byte
167 assert(f.i2len(None, 0) == 1)
168 assert(f.i2len(None, 3) == 1)
169 assert(f.i2len(None, 30) == 1)
[all …]
Dbgp.py124 def i2len(self, pkt, i): member in BGPFieldIPv4
169 def i2len(self, pkt, i): member in BGPFieldIPv6
Disis.py183 def i2len(self, pkt, x): member in ISIS_AreaIdField
/external/scapy/scapy/layers/tls/
Dbasefields.py115 def i2len(self, pkt, i): member in _TLSIVField
148 def i2len(self, pkt, i): member in _TLSMACField
176 def i2len(self, pkt, i): member in _TLSPadField
Dhandshake.py188 def i2len(self, pkt, i): member in _CipherSuitesField
492 f = fld.i2len(pkt, fval)
505 def i2len(self, pkt, i): member in _ASN1CertListField
556 def i2len(self, pkt, i): member in _ASN1CertField
801 def i2len(self, pkt, val): member in _CertAuthoritiesField
Dextensions.py605 f = fld.i2len(pkt, fval)
617 def i2len(self, pkt, i): member in _ExtensionsField
Dhandshake_sslv2.py145 def i2len(self, pkt, i): member in _SSLv2CertDataField
/external/scapy/scapy/
Dfields.py49 def i2len(self, pkt, x): member in Field
390 def i2len(self, pkt, i): member in StrField
533 def i2len(self, pkt, val): member in PacketListField
711 def i2len(self, pkt, val): member in FieldListField
712 return int(sum(self.field.i2len(pkt,v) for v in val))
769 f = fld.i2len(pkt, fval)
890 def i2len(self, pkt, x): member in BitField
1429 def i2len(self, pkt, x): member in _IPPrefixFieldBase
/external/scapy/scapy/layers/
Ddhcp6.py331 def i2len(self, pkt, z): member in _IANAOptField
384 def i2len(self, pkt, x): member in _OptReqListField
545 def i2len(self, pkt, z): member in _UserClassDataField
733 def i2len(self, pkt, x): member in DomainNameField
Dinet6.py343 def i2len(self, pkt, i): member in IP6ListField
859 def i2len(self, pkt, i): member in _HopByHopOptionsField
1742 def i2len(self, pkt, i): member in TruncPktLenField
1859 def i2len(self, pkt, x): member in _IP6PrefixField
1921 def i2len(self, pkt, x): member in DomainNameListField
2908 def i2len(self, pkt, i): member in _MobilityOptionsField
/external/scapy/doc/scapy/
Dbuild_dissect.rst224 x = f.i2len(pkt, pkt.getfieldval(self.fld))
959i2len()`` or ``i2count()`` method will be called on the varfield value. The returned value will th…