13 #include <sys/types.h> 14 #include <sys/socket.h> 15 #include <netinet/in.h> 16 #include <netinet/ip_fw.h> 18 #define IP_FW_BASE (IP_FW_ADD - 5) 19 #define IP_FW_INIT (IP_FW_BASE + 1) 20 #define IP_FW_TERM (IP_FW_BASE + 2) int ipfw_validate_ifname(const char *const value)
mdb_size_t count(MDB_cursor *cur)
_W64 unsigned int uintptr_t
int ipfw_exec(int optname, void *optval, uintptr_t optlen)
int ipfw_fetch_ruleset(struct ip_fw **rules, int *total_fetched, int count)
const GenericPointer< typename T::ValueType > T2 value
int ipfw_validate_protocol(int value)
void ipfw_free_ruleset(struct ip_fw **rules)