Lines Matching refs:length_from
173 def __init__(self, name, default, length_from): argument
175 self.length_from = length_from
195 numbytes = self.length_from(pkt)
247 BoundStrLenField("val", "", length_from=lambda pkt: pkt.len)]
431 ISIS_AreaIdField("areaid", "49", length_from=lambda pkt: pkt.arealen)]
441 PacketListField("areas", [], ISIS_AreaEntry, length_from=lambda x: x.len)]
449 … BoundStrLenField("password", "", maxlen= 254, length_from=lambda pkt: pkt.len - 1)]
470 BoundStrLenField("hostname", "", length_from=lambda pkt: pkt.len)]
480 IPPrefixField("pfx", None, wordbytes=1, length_from=lambda x: x.pfxlen),
482 …ConditionalField(PacketListField("subtlvs", [], _ISIS_GuessSubTlvClass_2, length_from=lambda x: x.…
493 … PacketListField("pfxs", [], ISIS_ExtendedIpPrefix, length_from= lambda pkt: pkt.len)]
502 PacketListField("subtlvs", [], _ISIS_GuessSubTlvClass_1, length_from=lambda x: x.subtlvslen)
513 … PacketListField("neighbours", [], ISIS_ExtendedIsNeighbourEntry, length_from=lambda x: x.len)]
541 IP6PrefixField("pfx", None, wordbytes=1, length_from=lambda x: x.pfxlen),
543 …ConditionalField(PacketListField("subtlvs", [], _ISIS_GuessSubTlvClass_2, length_from=lambda x: x.…
554 PacketListField("pfxs", [], ISIS_Ipv6Prefix, length_from= lambda pkt: pkt.len)]
614 BoundStrLenField("padding", "", length_from=lambda pkt: pkt.len)
748 …PacketListField.__init__(self, "tlvs", [], _ISIS_GuessTlvClass, length_from= lambda pkt: pkt.pdule…