MCPcopy Create free account
hub / github.com/secdev/scapy / PPP_ECP_Option_OUI

Class PPP_ECP_Option_OUI

scapy/layers/ppp.py:472–480  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

470
471
472class PPP_ECP_Option_OUI(PPP_ECP_Option):
473 fields_desc = [
474 ByteEnumField("type", 0, _PPP_ecpopttypes),
475 FieldLenField("len", None, length_of="data", fmt="B",
476 adjust=lambda _, val: val + 6),
477 OUIField("oui", 0),
478 ByteField("subtype", 0),
479 StrLenField("data", "", length_from=lambda pkt: pkt.len - 6),
480 ]
481
482
483class PPP_ECP(Packet):

Callers

nothing calls this directly

Calls 5

ByteEnumFieldClass · 0.90
FieldLenFieldClass · 0.90
OUIFieldClass · 0.90
ByteFieldClass · 0.90
StrLenFieldClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…