Module Import alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num Num Num Num body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpRShift NameLoad Num Assign NameStore BinOpBitAnd BinOpRShift NameLoad Num Num Assign NameStore BinOpBitAnd BinOpRShift NameLoad Num Num Assign NameStore BinOpBitAnd NameLoad Num ImportFrom alias Return TupleLoad Call NameLoad NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore BinOpBitOr BinOpBitOr BinOpBitOr BinOpLShift AttributeLoad NameLoad attr Num BinOpLShift AttributeLoad NameLoad attr Num BinOpLShift AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A struct ryu.lib.packet packet_base itag N/A N/A packet_base PacketBase N/A N/A I-TAG (IEEE 802.1ah-2008) header encoder/decoder class.

    An instance has the following attributes at least.
    Most of them are same to the on-wire counterparts but in host byte order.
    __init__ takes the corresponding args in this order.

    ============== ====================
    Attribute      Description
    ============== ====================
    pcp            Priority Code Point
    dei            Drop Eligible Indication
    uca            Use Customer Address
    sid            Service Instance ID
    ============== ====================
     N/A _PACK_STR !I N/A _MIN_LEN N/A N/A struct calcsize _PACK_STR __init__ N/A N/A self pcp dei uca sid N/A 0 0 0 0 N/A N/A N/A N/A N/A super itag self __init__ N/A N/A self pcp pcp N/A N/A self dei dei N/A N/A self uca uca N/A N/A self sid sid N/A parser N/A N/A cls buf N/A N/A N/A N/A data N/A N/A struct unpack_from N/A cls _PACK_STR buf N/A pcp N/A data 29 N/A dei N/A N/A data 28 1 N/A uca N/A N/A data 27 1 N/A sid N/A data 16777215 ryu.lib.packet ethernet N/A N/A N/A cls pcp dei uca sid N/A ethernet ethernet N/A buf N/A N/A cls _MIN_LEN N/A classmethod serialize N/A N/A self payload prev N/A N/A N/A data N/A N/A N/A N/A N/A self pcp 29 N/A N/A self dei 28 N/A N/A self uca 27 N/A self sid N/A N/A N/A struct pack N/A self _PACK_STR data N/A N/A