Define interface for firewall code