Searched refs:IPv6ExtHdrDestOpt (Results 1 – 4 of 4) sorted by relevance
/external/scapy/scapy/layers/ |
D | ipsec.py | 59 from scapy.layers.inet6 import IPv6, IPv6ExtHdrHopByHop, IPv6ExtHdrDestOpt, \ 99 IPv6ExtHdrDestOpt: {'nh': socket.IPPROTO_AH}, 127 IPv6ExtHdrDestOpt: {'nh': socket.IPPROTO_ESP}, 653 while isinstance(next_hdr, (IPv6ExtHdrHopByHop, IPv6ExtHdrRouting, IPv6ExtHdrDestOpt)): 658 elif isinstance(next_hdr, IPv6ExtHdrDestOpt) and found_rt_hdr: 730 while isinstance(next_hdr, (IPv6ExtHdrHopByHop, IPv6ExtHdrRouting, IPv6ExtHdrDestOpt)): 731 if isinstance(next_hdr, (IPv6ExtHdrHopByHop, IPv6ExtHdrDestOpt)):
|
D | inet6.py | 483 if self.nh == 60 and isinstance(self.payload, IPv6ExtHdrDestOpt): 545 elif other.nh == 60 and isinstance(other.payload, IPv6ExtHdrDestOpt): 547 …elif self.nh == 60 and isinstance(self.payload, IPv6ExtHdrDestOpt): # BU in reply to BRR, for inst… 706 elif (isinstance(u, IPv6ExtHdrDestOpt) and (len(u.options) == 1) and 966 class IPv6ExtHdrDestOpt(_IPv6ExtHdr): class
|
/external/scapy/test/ |
D | ipsec.uts | 3682 p /= IPv6ExtHdrDestOpt() 3684 p /= IPv6ExtHdrDestOpt() 3700 assert(isinstance(e[AH].payload, IPv6ExtHdrDestOpt))
|
D | regression.uts | 2223 p = IPv6()/IPv6ExtHdrDestOpt(options=HAO(hoa="2001:db8::1"))/ICMPv6EchoRequest() 5211 b=IPv6(raw(IPv6(src=coa, dst=cn)/IPv6ExtHdrDestOpt(options=HAO(hoa=hoa))/MIP6MH_BU(flags=0x01))) 5212 b2=IPv6(raw(IPv6(src=coa, dst=cn)/IPv6ExtHdrDestOpt(options=HAO(hoa=hoa))/MIP6MH_BU(flags=~0x01))) 5216 len(b[IPv6ExtHdrDestOpt].options) == 2 5319 raw(IPv6()/IPv6ExtHdrDestOpt(options=[HAO()])/MIP6MH_BU()) == s 5327 raw(IPv6()/IPv6ExtHdrDestOpt(options=[HAO(hoa='2001:db8::cafe')])/MIP6MH_BU(mhtime=42, options=[MIP…
|