Source code for pcapkit.protocols.data.internet.ipv6_frag
# -*- coding: utf-8 -*-"""data models for IPv6 Fragment Header"""fromtypingimportTYPE_CHECKINGfrompcapkit.corekit.infoclassimportinfo_finalfrompcapkit.protocols.data.protocolimportProtocolifTYPE_CHECKING:frompcapkit.const.reg.transtypeimportTransType__all__=['IPv6_Frag']
[docs]@info_finalclassIPv6_Frag(Protocol):"""Data model for IPv6 fragment header."""#: Next header.next:'TransType'#: Fragment offset.offset:'int'#: More flag.mf:'bool'#: Identification.id:'int'ifTYPE_CHECKING:def__init__(self,next:'TransType',offset:'int',mf:'bool',id:'int')->'None':...# pylint: disable=unused-argument,super-init-not-called,redefined-builtin,multiple-statements