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)
int ipfw_exec(int optname, void *optval, uintptr_t optlen)
int ipfw_validate_protocol(int value)
int ipfw_fetch_ruleset(struct ip_fw **rules, int *total_fetched, int count)
void ipfw_free_ruleset(struct ip_fw **rules)
mdb_size_t count(MDB_cursor *cur)
const GenericPointer< typename T::ValueType > T2 value
_W64 unsigned int uintptr_t