def unpack(self, buf):
        dpkt.Packet.unpack(self, buf)
        try:
            self.data = self._typesw[self.type](self.data)
            setattr(self, self.data.__class__.__name__.lower(), self.data)
        except (__HOLE__, dpkt.UnpackError):
            self.data = buf
dataset/ETHPy150Open dragondjf/QMarkdowner/dpkt/icmp6.py/ICMP6.unpack