Run any additional functions that want to process this type of packet.
        These can be internal parser hooks, or external hooks that process
        information

def run_hooks(self, packet):
        """
        Run any additional functions that want to process this type of packet.
        These can be internal parser hooks, or external hooks that process
        information
        """

        if packet.__class__ in self.internal_hooks:
            self.internal_hooks[packet.__class__](packet)

        if packet.__class__ in self.hooks:
            self.hooks[packet.__class__](packet)