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

Class ISIS_SIDLabelSubTLV

scapy/contrib/isis.py:422–431  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

420
421
422class ISIS_SIDLabelSubTLV(ISIS_GenericSubTlv):
423 name = "ISIS SID Label sub TLV"
424 fields_desc = [
425 ByteEnumField("type", 1, _isis_subtlv_names_3),
426 ByteField("len", 3),
427 ConditionalField(ThreeBytesField("sid", 0),
428 lambda pkt: pkt.len == 3),
429 ConditionalField(IntField("idx", 0),
430 lambda pkt: pkt.len == 4)
431 ]
432
433
434#######################################################################

Callers

nothing calls this directly

Calls 5

ByteEnumFieldClass · 0.90
ByteFieldClass · 0.90
ConditionalFieldClass · 0.90
ThreeBytesFieldClass · 0.90
IntFieldClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…