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

Class ISIS_ExtendedIsNeighbourEntry

scapy/contrib/isis.py:649–659  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

647
648
649class ISIS_ExtendedIsNeighbourEntry(Packet):
650 name = "ISIS Extended IS Neighbour Entry"
651 fields_desc = [
652 ISIS_NodeIdField("neighbourid", "0102.0304.0506.07"),
653 ThreeBytesField("metric", 1),
654 FieldLenField("subtlvslen", None, length_of="subtlvs", fmt="B"),
655 PacketListField("subtlvs", [], _ISIS_GuessSubTlvClass_1, length_from=lambda x: x.subtlvslen) # noqa: E501
656 ]
657
658 def extract_padding(self, s):
659 return "", s
660
661
662class ISIS_ExtendedIsReachabilityTlv(ISIS_GenericTlv):

Callers

nothing calls this directly

Calls 4

ThreeBytesFieldClass · 0.90
FieldLenFieldClass · 0.90
PacketListFieldClass · 0.90
ISIS_NodeIdFieldClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…