code: def get_packet_type(cls, type_):
          
          if type_ <= ether.ETH_TYPE_IEEE802_3:
              type_ = ether.ETH_TYPE_IEEE802_3
          return cls._TYPES.get(type_)
docs: Override method for the Length/Type field (self.ethertype).
          The Length/Type field means Length or Type interpretation,
          same as ethernet IEEE802.3.
          If the value of Length/Type field is less than or equal to
          1500 decimal(05DC hexadecimal), it means Length interpretation
          and be passed to the LLC sublayer.