Home
last modified time | relevance | path

Searched refs:ICMPv6ND_NS (Results 1 – 2 of 2) sorted by relevance

/external/scapy/scapy/layers/
Dinet6.py108 p /= ICMPv6ND_NS(tgt=addr)
2005 class ICMPv6ND_NS(_ICMPv6NDGuessPayload, _ICMPv6, Packet): class
2039 return isinstance(other, ICMPv6ND_NS) and self.tgt == other.tgt
3301 if not (Ether in req and IPv6 in req and ICMPv6ND_NS in req):
3315 tgt = inet_pton(socket.AF_INET6, req[ICMPv6ND_NS].tgt)
3386 tgt = req[ICMPv6ND_NS].tgt
3387 rep = Ether(src=reply_mac)/IPv6(src="::", dst=dst)/ICMPv6ND_NS(tgt=tgt)
3445 tgt = req[ICMPv6ND_NS].tgt
3523 if not (Ether in req and IPv6 in req and ICMPv6ND_NS in req):
3534 tgt = inet_pton(socket.AF_INET6, req[ICMPv6ND_NS].tgt)
[all …]
/external/scapy/test/
Dregression.uts2313 + ICMPv6ND_NS Class Test
2315 = ICMPv6ND_NS - Basic Instantiation
2316 raw(ICMPv6ND_NS()) == b'\x87\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0…
2318 = ICMPv6ND_NS - Instantiation with specific values
2319 raw(ICMPv6ND_NS(code=0x11, res=3758096385, tgt="ffff::1111")) == b'\x87\x11\x00\x00\xe0\x00\x00\x01…
2321 = ICMPv6ND_NS - Basic Dissection
2322 a=ICMPv6ND_NS(b'\x87\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0…
2325 = ICMPv6ND_NS - Dissection with specific values
2326 a=ICMPv6ND_NS(b'\x87\x11\x00\x00\xe0\x00\x00\x01\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0…
2329 = ICMPv6ND_NS - IPv6 layer fields overloading
[all …]