Home
last modified time | relevance | path

Searched refs:IPv6ExtHdrHopByHop (Results 1 – 4 of 4) sorted by relevance

/external/scapy/scapy/layers/
Dipsec.py59 from scapy.layers.inet6 import IPv6, IPv6ExtHdrHopByHop, IPv6ExtHdrDestOpt, \
98 IPv6ExtHdrHopByHop: {'nh': socket.IPPROTO_AH},
126 IPv6ExtHdrHopByHop: {'nh': socket.IPPROTO_ESP},
653 while isinstance(next_hdr, (IPv6ExtHdrHopByHop, IPv6ExtHdrRouting, IPv6ExtHdrDestOpt)):
654 if isinstance(next_hdr, IPv6ExtHdrHopByHop):
730 while isinstance(next_hdr, (IPv6ExtHdrHopByHop, IPv6ExtHdrRouting, IPv6ExtHdrDestOpt)):
731 if isinstance(next_hdr, (IPv6ExtHdrHopByHop, IPv6ExtHdrDestOpt)):
Dinet6.py480 if self.nh == 0 and isinstance(self.payload, IPv6ExtHdrHopByHop):
537 elif other.nh == 0 and isinstance(other.payload, IPv6ExtHdrHopByHop):
953 class IPv6ExtHdrHopByHop(_IPv6ExtHdr): class
/external/scapy/test/
Dregression.uts2229 + Test IPv6ExtHdrHopByHop()
2231 = IPv6ExtHdrHopByHop - Basic Instantiation
2232 raw(IPv6ExtHdrHopByHop()) == b';\x00\x01\x04\x00\x00\x00\x00'
2234 = IPv6ExtHdrHopByHop - Instantiation with HAO option
2235 raw(IPv6ExtHdrHopByHop(options=[HAO()])) == b';\x02\x01\x02\x00\x00\xc9\x10\x00\x00\x00\x00\x00\x00…
2237 = IPv6ExtHdrHopByHop - Instantiation with RouterAlert option
2238 raw(IPv6ExtHdrHopByHop(options=[RouterAlert()])) == b';\x00\x05\x02\x00\x00\x01\x00'
2240 = IPv6ExtHdrHopByHop - Instantiation with Jumbo option
2241 raw(IPv6ExtHdrHopByHop(options=[Jumbo()])) == b';\x00\xc2\x04\x00\x00\x00\x00'
2243 = IPv6ExtHdrHopByHop - Instantiation with Pad1 option
[all …]
Dipsec.uts3681 p /= IPv6ExtHdrHopByHop()
3706 p /= IPv6ExtHdrHopByHop()