mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-05 04:16:11 +02:00
packet lib: provide llc._MIN_LEN
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
b34a6821be
commit
8b8608d726
@ -124,6 +124,8 @@ class llc(packet_base.PacketBase):
|
||||
_CTR_TYPES = {}
|
||||
_CTR_PACK_STR = '!2xB'
|
||||
|
||||
_MIN_LEN = _PACK_LEN
|
||||
|
||||
@staticmethod
|
||||
def register_control_type(register_cls):
|
||||
llc._CTR_TYPES[register_cls.TYPE] = register_cls
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user