Searched refs:PadN (Results 1 – 2 of 2) sorted by relevance
2145 + Test PadN Class2147 = PadN - Basic Instantiation2148 raw(PadN()) == b'\x01\x00'2150 = PadN - Optlen Automatic computation2151 raw(PadN(optdata="B"*10)) == b'\x01\nBBBBBBBBBB'2153 = PadN - Basic Dissection2154 a=PadN(b'\x01\x00')2157 = PadN - Dissection with specific values 2158 a=PadN(b'\x01\x0cBBBBBBBBBB')2161 = PadN - Instantiation with forced optlen [all …]
795 class PadN(Packet): # IPv6 Hop-By-Hop Option class845 0x01: PadN,919 s += raw(PadN(optdata=b'\x00'*(d-2)))933 s += raw(PadN(optdata=b'\x00'*(d-2)))2807 1: PadN,2948 s += raw(PadN(optdata=b'\x00'*(d-2)))2962 s += raw(PadN(optdata=b'\x00'*(d-2)))