Home
last modified time | relevance | path

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

/external/scapy/test/
Dregression.uts2145 + Test PadN Class
2147 = PadN - Basic Instantiation
2148 raw(PadN()) == b'\x01\x00'
2150 = PadN - Optlen Automatic computation
2151 raw(PadN(optdata="B"*10)) == b'\x01\nBBBBBBBBBB'
2153 = PadN - Basic Dissection
2154 a=PadN(b'\x01\x00')
2157 = PadN - Dissection with specific values
2158 a=PadN(b'\x01\x0cBBBBBBBBBB')
2161 = PadN - Instantiation with forced optlen
[all …]
/external/scapy/scapy/layers/
Dinet6.py795 class PadN(Packet): # IPv6 Hop-By-Hop Option class
845 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)))