Monero
Loading...
Searching...
No Matches
ipfwaux.h File Reference
#include <stdint.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/ip_fw.h>
Include dependency graph for ipfwaux.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define IP_FW_BASE   (IP_FW_ADD - 5)
#define IP_FW_INIT   (IP_FW_BASE + 1)
#define IP_FW_TERM   (IP_FW_BASE + 2)

Functions

int ipfw_exec (int optname, void *optval, uintptr_t optlen)
void ipfw_free_ruleset (struct ip_fw **rules)
int ipfw_fetch_ruleset (struct ip_fw **rules, int *total_fetched, int count)
int ipfw_validate_protocol (int value)
int ipfw_validate_ifname (const char *const value)

Macro Definition Documentation

◆ IP_FW_BASE

#define IP_FW_BASE   (IP_FW_ADD - 5)

◆ IP_FW_INIT

#define IP_FW_INIT   (IP_FW_BASE + 1)

◆ IP_FW_TERM

#define IP_FW_TERM   (IP_FW_BASE + 2)

Function Documentation

◆ ipfw_exec()

int ipfw_exec ( int optname,
void * optval,
uintptr_t optlen )

◆ ipfw_fetch_ruleset()

int ipfw_fetch_ruleset ( struct ip_fw ** rules,
int * total_fetched,
int count )

◆ ipfw_free_ruleset()

void ipfw_free_ruleset ( struct ip_fw ** rules)

◆ ipfw_validate_ifname()

int ipfw_validate_ifname ( const char *const value)

◆ ipfw_validate_protocol()

int ipfw_validate_protocol ( int value)