def __init__(self): PacketListField.__init__( self, "tlvs", [], _ISIS_GuessTlvClass, count_from=None, length_from=lambda pkt: pkt.pdulength - pkt.underlayer.hdrlen)
def __init__(self, name, default, count_from=None, length_from=None): PacketListField.__init__(self, name, default, conf.raw_layer, count_from=count_from, length_from=length_from) # noqa: E501
def __init__(self): PacketListField.__init__( self, "tlvs", [], _ISIS_GuessTlvClass, count_from=None, length_from=lambda pkt: pkt.pdulength - pkt.underlayer.hdrlen, )
def __init__(self, name, default, cls, count_from=None, length_from=None, stop=None): PacketListField.__init__(self, name, default, cls, count_from=count_from, length_from=length_from) self.stop = stop
def __init__(self): PacketListField.__init__(self, "option", [], _guess_pimv2_hello_class)
def __init__(self, name, default, cls, count_from=None, length_from=None, stop=None): PacketListField.__init__(self, name, default, cls, count_from=count_from, length_from=length_from) self.stop = stop
def __init__(self, name, default, cls, spkt_len=None): """We need that spkt_len is specified to know how to chop""" assert spkt_len is not None PacketListField.__init__(self, name, default, cls) self.spkt_len = spkt_len
def __init__(self, name, default, count_from=None, length_from=None): PacketListField.__init__(self, name, default, conf.raw_layer, count_from=count_from, length_from=length_from) # noqa: E501