MCPcopy Index your code
hub / github.com/secdev/scapy / RPLOptPIO

Class RPLOptPIO

scapy/contrib/rpl.py:142–157  ·  view source on GitHub ↗

Control Option: Prefix Information Option (PIO)

Source from the content-addressed store, hash-verified

140
141
142class RPLOptPIO(_RPLGuessOption):
143 """
144 Control Option: Prefix Information Option (PIO)
145 """
146 name = "Prefix Information"
147 fields_desc = [ByteEnumField("otype", 8, RPLOPTSSTR),
148 ByteField("len", 30),
149 ByteField("plen", 64),
150 BitField("L", 0, 1),
151 BitField("A", 0, 1),
152 BitField("R", 0, 1),
153 BitField("reserved1", 0, 5),
154 IntField("validlifetime", 0xffffffff),
155 IntField("preflifetime", 0xffffffff),
156 IntField("reserved2", 0),
157 IP6Field("prefix", "::1")]
158
159
160class RPLOptTgtDesc(_RPLGuessOption):

Callers

nothing calls this directly

Calls 5

ByteEnumFieldClass · 0.90
ByteFieldClass · 0.90
BitFieldClass · 0.90
IntFieldClass · 0.90
IP6FieldClass · 0.90

Tested by

no test coverage detected