def enqueue_event(self, event):
LOG.debug('<STR_LIT>', event)<EOL>if event.get('<STR_LIT:status>') == '<STR_LIT>':<EOL><INDENT>for rule in self.rule_info:<EOL><INDENT>if (rule.mac == event.get('<STR_LIT>').lower() and<EOL>rule.port == event.get('<STR_LIT:port>')):<EOL><INDENT>if rule.ip != event.get('<STR_LIT>'):<EOL><INDENT>LOG.debug('<STR_LIT>'<EOL>'<STR_LIT>' % (rule.ip, event.get('<STR_LIT>')))<EOL>rule.ip = event.get('<STR_LIT>')<EOL>return<EOL><DEDENT><DEDENT><DEDENT><DEDENT>self._iptq.put(event)<EOL>
Enqueue the given event.

        The event contains host data (ip, mac, port) which will be used to
        update the spoofing rule for the host in the iptables.