/external/scapy/scapy/layers/tls/ |
D | basefields.py | 130 def addfield(self, pkt, s, val): member in _TLSIVField 158 def addfield(self, pkt, s, val): member in _TLSMACField 186 def addfield(self, pkt, s, val): member in _TLSPadField 207 def addfield(self, pkt, s, val): member in _TLSPadLenField
|
D | keyexchange.py | 87 addfield = phantom_decorate(EnumField.addfield, False) variable in SigAndHashAlgField 93 addfield = phantom_decorate(FieldLenField.addfield, False) variable in SigAndHashAlgsLenField 99 addfield = phantom_decorate(FieldListField.addfield, False) variable in SigAndHashAlgsField 110 def addfield(self, pkt, s, val): member in SigLenField 115 return super(SigLenField, self).addfield(pkt, s, val)
|
D | extensions.py | 150 def addfield(self, pkt, s, val): member in ServerLenField 154 return super(ServerLenField, self).addfield(pkt, s, val) 589 def addfield(self, pkt, s, i): member in _ExtensionsLenField
|
D | handshake.py | 496 def addfield(self, pkt, s, val): member in _ASN1CertLenField 798 def addfield(self, pkt, s, val): member in _CertAuthoritiesField 1096 def addfield(self, pkt, s, val): member in ThreeBytesLenField
|
D | record_sslv2.py | 59 def addfield(self, pkt, s, val): member in _SSLv2MsgListField
|
D | handshake_sslv2.py | 211 def addfield(self, pkt, s, val): member in _SSLv2CipherSuiteField
|
D | record.py | 183 def addfield(self, pkt, s, val): member in _TLSMsgListField
|
/external/scapy/scapy/contrib/ |
D | pnio_rtc.py | 123 def addfield(self, pkt, s, val): member in NotionalLenField 230 return max(0, pkt_len - len(fld.addfield(self, b"", val)) - 4) 234 return max(0, 12 - len(fld.addfield(self, b"", val))) 236 return max(0, 40 - len(fld.addfield(self, b"", val))) 450 def addfield(self, pkt, s, val): member in XVarBytesField
|
D | dtp.py | 68 def addfield(self, pkt, s, val): member in RepeatedTlvListField
|
D | http2.uts | 129 = HTTP/2 UVarIntField.addfield on full byte 134 assert(f.addfield(None, b'Toto', 0) == b'Toto\x00') 135 assert(f.addfield(None, b'Toto', 3) == b'Toto\x03') 136 assert(f.addfield(None, b'Toto', 254).lower() == b'toto\xfe') 137 assert(f.addfield(None, b'Toto', 255).lower() == b'toto\xff\x00') 138 assert(f.addfield(None, b'Toto', 766).lower() == b'toto\xff\xff\x03') 140 = HTTP/2 UVarIntField.addfield on partial byte 145 assert(f.addfield(None, (b'Toto', 3, 4), 0) == b'Toto\x80') 146 assert(f.addfield(None, (b'Toto', 3, 4), 3) == b'Toto\x83') 147 assert(f.addfield(None, (b'Toto', 3, 4), 30).lower() == b'toto\x9e') [all …]
|
D | http2.py | 82 def addfield(self, pkt, s, val): member in HPackMagicBitField 93 return super(HPackMagicBitField, self).addfield(pkt, s, self._magic) 365 def addfield(self, pkt, s, val): member in AbstractUVarIntField 579 def addfield(self, pkt, s, val): member in FieldUVarLenField 596 return super(FieldUVarLenField, self).addfield(pkt, s, val) 1199 def addfield(self, pkt, s, val): member in HPackStrLenField
|
D | mqtt.py | 19 def addfield(self, pkt, s, val): member in VariableFieldLenField
|
D | eigrp.py | 439 def addfield(self, pkt, s, val): member in RepeatedTlvListField
|
D | bgp.py | 135 def addfield(self, pkt, s, val): member in BGPFieldIPv4 179 def addfield(self, pkt, s, val): member in BGPFieldIPv6
|
D | isis.py | 190 def addfield(self, pkt, s, val): member in ISIS_AreaIdField
|
D | openflow3.py | 590 def addfield(self, pkt, s, val): member in OXMPacketListField
|
/external/scapy/scapy/ |
D | fields.py | 78 def addfield(self, pkt, s, val): member in Field 153 def addfield(self, pkt, s, val): member in ConditionalField 155 return self.fld.addfield(pkt,s,val) 179 def addfield(self, pkt, s, val): member in PadField 180 sval = self._fld.addfield(pkt, b"", val) 309 def addfield(self, pkt, s, val): member in X3BytesField 407 def addfield(self, pkt, s, val): member in StrField 583 def addfield(self, pkt, s, val): member in PacketListField 601 def addfield(self, pkt, s, val): member in StrFixedLenField 729 def addfield(self, pkt, s, val): member in FieldListField [all …]
|
D | packet.py | 399 p = f.addfield(self, p, val) 461 p = f.addfield(self, p, self.getfieldval(f.name) )
|
/external/lua/src/ |
D | ltablib.c | 160 static void addfield (lua_State *L, luaL_Buffer *b, lua_Integer i) { in addfield() function 178 addfield(L, &b, i); in tconcat() 182 addfield(L, &b, i); in tconcat()
|
/external/scapy/doc/scapy/ |
D | build_dissect.rst | 157 - ``addfield(self, pkt, s, val)``: copy the network representation of 161 def addfield(self, pkt, s, val): 175 ``*2*()`` methods, and sometimes also the ``addfield()`` and ``getfield()``. 233 def addfield(self, pkt, s, val): 569 p = f.addfield(self, p, self.getfieldval(f)) 572 The core function to build a field is ``addfield()``. It takes the 606 def addfield(self, pkt, s, val): 617 The glue is provided by ``Packet.do_build()`` which calls ``Field.addfield()``
|
/external/scapy/test/ |
D | fields.uts | 13 #Field("foo", None, fmt="B").addfield(None, "FOO", 0x12) 25 assert LELongField("test", None).addfield(None, b"", 0x44434241) == b'ABCD\x00\x00\x00\x00' 34 m.addfield(None, b"FOO", "c0:01:be:ef:ba:be") 58 i.addfield(None, b"FOO", "1.2.3.4")
|
/external/scapy/scapy/layers/ |
D | inet6.py | 937 def addfield(self, pkt, s, val): member in _HopByHopOptionsField 941 def addfield(self, pkt, s, val): member in _PhantomAutoPadField 1849 def addfield(self, pkt, s, val): member in _IP6PrefixField 2294 def addfield(self, pkt, s, val): member in NIQueryDataField 2434 def addfield(self, pkt, s, val): member in NIReplyDataField 2966 def addfield(self, pkt, s, val): member in _MobilityOptionsField
|
D | dhcp.py | 269 lval = [f.addfield(pkt,b"",f.any2i(pkt,val)) for val in lval]
|