/external/scapy/scapy/layers/ |
D | vrrp.py | 43 def dispatch_hook(cls, _pkt=None, *args, **kargs): argument 44 if _pkt and len(_pkt) >= 9: 45 ver_n_type = orb(_pkt[0]) 79 def dispatch_hook(cls, _pkt=None, *args, **kargs): argument 80 if _pkt and len(_pkt) >= 16: 81 ver_n_type = orb(_pkt[0])
|
D | ppp.py | 210 def dispatch_hook(cls, _pkt=None, *args, **kargs): argument 211 if _pkt and orb(_pkt[0]) == 0xff: 257 def dispatch_hook(cls, _pkt=None, *args, **kargs): argument 258 if _pkt: 259 o = orb(_pkt[0]) 325 def dispatch_hook(cls, _pkt=None, *args, **kargs): argument 326 if _pkt: 327 o = orb(_pkt[0]) 377 def dispatch_hook(cls, _pkt = None, *args, **kargs): argument 378 if _pkt: [all …]
|
D | radius.py | 250 def dispatch_hook(cls, _pkt=None, *args, **kargs): argument 255 if _pkt: 256 attr_type = orb(_pkt[0]) 289 def __init__(self, _pkt="", post_transform=None, _internal=0, _underlayer=None, **fields): argument 291 _pkt, 498 def __init__(self, _pkt="", post_transform=None, _internal=0, _underlayer=None, **fields): argument 500 _pkt,
|
D | eap.py | 232 def dispatch_hook(cls, _pkt=None, *args, **kargs): argument 233 if _pkt: 234 c = orb(_pkt[0]) 235 if c in [1, 2] and len(_pkt) >= 5: 236 t = orb(_pkt[4]) 453 def dispatch_hook(cls, _pkt=None, *args, **kargs): argument 459 if _pkt is not None: 460 ptype = orb(_pkt[0])
|
D | l2.py | 164 def dispatch_hook(cls, _pkt=None, *args, **kargs): argument 165 if _pkt and len(_pkt) >= 14: 166 if struct.unpack("!H", _pkt[12:14])[0] <= 1500: 186 def dispatch_hook(cls, _pkt=None, *args, **kargs): argument 187 if _pkt and len(_pkt) >= 14: 188 if struct.unpack("!H", _pkt[12:14])[0] > 1500: 345 def dispatch_hook(cls, _pkt=None, *args, **kargs): argument 346 if _pkt and struct.unpack("!H", _pkt[2:4])[0] == 0x880b:
|
D | netflow.py | 340 def dispatch_hook(cls, _pkt=None, *args, **kargs): argument 341 if _pkt: 342 if _pkt[:2] == b"\x00\x01":
|
D | pptp.py | 70 def dispatch_hook(cls, _pkt=None, *args, **kargs): argument 71 if _pkt: 72 o = orb(_pkt[9])
|
D | lltd.py | 297 def dispatch_hook(cls, _pkt=None, *_, **kargs): argument 298 if _pkt: 299 cmd = orb(_pkt[0])
|
D | bluetooth.py | 278 def dispatch_hook(cls, _pkt=None, *args, **kargs): argument 279 if _pkt and len(_pkt) == 6:
|
D | dns.py | 29 def __init__(self, _pkt=None, _orig_s=None, _orig_p=None, *args, **kwargs): argument 32 Packet.__init__(self, _pkt=_pkt, *args, **kwargs)
|
D | ntp.py | 192 def dispatch_hook(cls, _pkt=None, *args, **kargs): argument 197 return _ntp_dispatcher(_pkt)
|
D | inet6.py | 561 def dispatch_hook(cls, _pkt=None, *_, **kargs): argument 562 if _pkt: 563 if orb(_pkt[0]) >> 4 == 6:
|
/external/scapy/scapy/contrib/ |
D | igmpv3.py | 102 def dispatch_hook(cls, _pkt=None, *args, **kargs): argument 103 if _pkt and len(_pkt) >= 4: 104 if orb(_pkt[0]) in [0x12, 0x16, 0x17]: 106 elif orb(_pkt[0]) == 0x11 and len(_pkt) < 12:
|
D | igmp.py | 81 def dispatch_hook(cls, _pkt=None, *args, **kargs): argument 82 if _pkt and len(_pkt) >= 4: 84 if orb(_pkt[0]) in [0x22, 0x30, 0x31, 0x32]: 86 if orb(_pkt[0]) == 0x11 and len(_pkt) >= 12:
|
D | pnio_rtc.py | 75 …def __init__(self, _pkt="", post_transform=None, _internal=0, _underlayer=None, config=None, **fie… argument 82 Packet.__init__(self, _pkt=_pkt, post_transform=post_transform, 173 def _pnio_rtc_guess_payload_class(_pkt, _underlayer=None, *args, **kargs): argument 181 cur_index = -len(_pkt) 184 return cls(_pkt, config=params, *args, **kargs) 187 return PNIORealTimeIOxS(_pkt, *args, **kargs) 190 return PNIORealTimeRawData(_pkt, 191 config={"length": len(_pkt)},
|
D | ikev2.py | 509 def dispatch_hook(cls, _pkt=None, *args, **kargs): argument 510 if _pkt and len(_pkt) >= 16: 511 ts_type = struct.unpack("!B", _pkt[0:1])[0] 713 def dispatch_hook(cls, _pkt=None, *args, **kargs): argument 714 if _pkt and len(_pkt) >= 16: 715 ts_type = struct.unpack("!B", _pkt[4:5])[0]
|
D | gtp.py | 182 def dispatch_hook(cls, _pkt=None, *args, **kargs): argument 183 if _pkt == None: 230 def dispatch_hook(cls, _pkt=None, *args, **kargs): argument 231 if _pkt and len(_pkt) >= 1: 232 if (orb(_pkt[0]) >> 5) & 0x7 == 2: 235 if _pkt and len(_pkt) >= 8: 236 _gtp_type = orb(_pkt[1:2])
|
D | bgp.py | 403 def dispatch_hook(cls, _pkt=None, *args, **kargs): argument 408 return _bgp_dispatcher(_pkt) 462 def dispatch_hook(cls, _pkt=None, *args, **kargs): argument 467 return _bgp_dispatcher(_pkt) 588 def dispatch_hook(cls, _pkt=None, *args, **kargs): argument 593 return _bgp_capability_dispatcher(_pkt)
|
/external/scapy/scapy/layers/tls/ |
D | record.py | 271 def dispatch_hook(cls, _pkt=None, *args, **kargs): argument 279 if _pkt and len(_pkt) >= 2: 280 byte0 = orb(_pkt[0]) 281 byte1 = orb(_pkt[1]) 291 if _pkt and len(_pkt) < 5:
|
D | handshake.py | 334 def dispatch_hook(cls, _pkt=None, *args, **kargs): argument 335 if _pkt and len(_pkt) >= 6: 336 version = struct.unpack("!H", _pkt[4:6])[0] 608 def dispatch_hook(cls, _pkt=None, *args, **kargs): argument 609 if _pkt: 1180 def dispatch_hook(cls, _pkt=None, *args, **kargs): argument
|
D | session.py | 815 def __init__(self, _pkt="", post_transform=None, _internal=0, argument 831 Packet.__init__(self, _pkt=_pkt, post_transform=post_transform,
|
D | keyexchange.py | 841 def dispatch_hook(cls, _pkt=None, *args, **kargs): argument
|
/external/scapy/scapy/ |
D | packet.py | 107 def __init__(self, _pkt=b"", post_transform=None, _internal=0, _underlayer=None, **fields): argument 122 self.original = _pkt 126 if _pkt: 127 self.dissect(_pkt)
|