code: def to_bytes(self):
          '''
          Return packed byte representation of the Ethernet header.
          '''
          return struct.pack(Ethernet._PACKFMT, self._dst.packed, 
              self._src.packed, self._ethertype.valuef to_bytes(self):
          '''
          Return packed byte representation of the Ethernet header.
          '''
          return struct.pack(Ethernet._PACKFMT, self._dst.packed, 
              self._src.packed, self._ethertype.value)
docs: Return packed byte representation of the Ethernet header.