/* fwcomm.h */ /* Max number of log entries */ #define MAX_LOG 4096 /* Firewall log mgmt ioctls */ #define FW_DUMPLOG 11 #define FW_CLEARLOG 12 #define FW_SET_TTL 13 #define FW_SET_PFX 14 /* Firewall action codes */ #define FW_INPUT 10 #define FW_OUTPUT 11 #define FW_FORWARD 12 #define FW_ADDPFX 13 /* Firewall log record */ struct fwlrtype { unsigned int time; unsigned int addr; unsigned short port; unsigned char proto; unsigned char action; };