Home
last modified time | relevance | path

Searched refs:IPv6ExtHdrFragment (Results 1 – 3 of 3) sorted by relevance

/external/scapy/scapy/layers/
Dinet6.py477 if self.nh == 44 and isinstance(self.payload, IPv6ExtHdrFragment):
539 elif other.nh == 44 and isinstance(other.payload, IPv6ExtHdrFragment):
1103 class IPv6ExtHdrFragment(_IPv6ExtHdr): class
1120 l = [x for x in packets if IPv6ExtHdrFragment in x] # remove non fragments
1124 id = l[0][IPv6ExtHdrFragment].id
1127 l = [x for x in l if x[IPv6ExtHdrFragment].id == id]
1136 min_offset = l[0][IPv6ExtHdrFragment].offset
1138 cur_offset = p[IPv6ExtHdrFragment].offset
1148 q=p[IPv6ExtHdrFragment]
1157 nh = q[IPv6ExtHdrFragment].nh
[all …]
/external/scapy/test/
Dregression.uts3272 + IPv6ExtHdrFragment Class Test
3274 = IPv6ExtHdrFragment - Basic Instantiation
3275 raw(IPv6ExtHdrFragment()) == b';\x00\x00\x00\x00\x00\x00\x00'
3277 = IPv6ExtHdrFragment - Instantiation with specific values
3278 raw(IPv6ExtHdrFragment(nh=0xff, res1=0xee, offset=0x1fff, res2=1, m=1, id=0x11111111)) == b'\xff\xe…
3280 = IPv6ExtHdrFragment - Basic Dissection
3281 a=IPv6ExtHdrFragment(b';\x00\x00\x00\x00\x00\x00\x00')
3284 = IPv6ExtHdrFragment - Instantiation with specific values
3285 a=IPv6ExtHdrFragment(b'\xff\xee\xff\xfb\x11\x11\x11\x11')
3294 l=fragment6(IPv6()/IPv6ExtHdrFragment()/TCP()/Raw(load="A"*40000), 1280)
[all …]
Dipsec.uts3685 p /= IPv6ExtHdrFragment()