node_host
struct node_host *h = NULL, *hh;
struct node_host *h, *nh;
struct node_host *n;
struct node_host *host;
struct node_host *host;
struct node_host *addr;
struct node_host *n;
struct node_host *n;
$$ = calloc(1, sizeof(struct node_host));
$$ = calloc(1, sizeof(struct node_host));
struct node_host *b, *e;
struct node_host *n;
$$ = calloc(1, sizeof(struct node_host));
int disallow_table(struct node_host *, const char *);
$$ = calloc(1, sizeof(struct node_host));
int disallow_urpf_failed(struct node_host *, const char *);
int disallow_alias(struct node_host *, const char *);
struct node_host *, struct node_host *, const char *,
int check_binat_redirspec(struct node_host *, struct pfctl_rule *, sa_family_t);
struct node_host *, struct pfctl_rule *, struct redirspec **,
struct node_host **);
struct node_proto *, struct node_os *, struct node_host *,
struct node_port *, struct node_host *, struct node_port *,
void decide_address_family(struct node_host *, sa_family_t *);
void remove_invalid_hosts(struct node_host **, sa_family_t *);
int invalid_redirect(struct node_host *, sa_family_t);
struct node_host *host;
$$ = calloc(1, sizeof(struct node_host));
struct node_host *n;
disallow_table(struct node_host *h, const char *fmt)
disallow_urpf_failed(struct node_host *h, const char *fmt)
disallow_alias(struct node_host *h, const char *fmt)
struct node_host *ipsrcs, struct node_host *ipdsts,
LOOP_THROUGH(struct node_host, ipsrc, ipsrcs,
LOOP_THROUGH(struct node_host, ipdst, ipdsts,
FREE_LIST(struct node_host, ipsrcs);
FREE_LIST(struct node_host, ipdsts);
struct node_host *h;
check_binat_redirspec(struct node_host *src_host, struct pfctl_rule *r,
struct redirspec *binat_nat_redirspec, struct node_host *binat_src_host,
struct node_host **rdr_dst_host)
struct node_host *rdr_src_host;
struct node_os *src_oses, struct node_host *src_hosts,
struct node_port *src_ports, struct node_host *dst_hosts,
struct node_host *osrch, *odsth;
LOOP_THROUGH(struct node_host, src_host, src_hosts,
LOOP_THROUGH(struct node_host, dst_host, dst_hosts,
struct node_host *rdr_dst_host;
FREE_LIST(struct node_host, src_hosts);
FREE_LIST(struct node_host, dst_hosts);
FREE_LIST(struct node_host, nat->host);
FREE_LIST(struct node_host, rdr->host);
FREE_LIST(struct node_host, route->host);
freehostlist(struct node_host *h)
FREE_LIST(struct node_host, h);
decide_address_family(struct node_host *n, sa_family_t *af)
remove_invalid_hosts(struct node_host **nh, sa_family_t *af)
struct node_host *n = *nh, *prev = NULL;
struct node_host *next = n->next;
invalid_redirect(struct node_host *nh, sa_family_t af)
struct node_host *n;
struct node_host *h = NULL, *n = NULL;
struct node_host *h = NULL, *n = NULL;
struct node_host *h = NULL, *n = NULL;
struct node_host node_host;
memset(&node_host, 0, sizeof(node_host));
node_host.af = af;
node_host.addr = addr->addr;
&node_host.addr.v.a.addr, buf, sizeof(buf)),
unmask(&node_host.addr.v.a.mask));
if (append_addr_host((*tbl)->pt_buf, &node_host, 0, 0)) {
memcpy(ti->host, &node_host, sizeof(*ti->host));
struct node_host *h;
set_ipmask(struct node_host *h, int bb)
check_netmask(struct node_host *h, sa_family_t af)
struct node_host *n = NULL;
struct node_host *
gen_dynnode(struct node_host *h, sa_family_t af)
struct node_host *n;
static struct node_host *iftab;
struct node_host *n = NULL, *h = NULL;
n = calloc(1, sizeof(struct node_host));
struct node_host *p;
struct node_host *p;
struct node_host *
struct node_host *n;
struct node_host *
struct node_host *n, *h = NULL;
struct node_host *
struct node_host *p = NULL, *h = NULL, *n = NULL;
n = calloc(1, sizeof(struct node_host));
ifa_skip_if(const char *filter, struct node_host *p)
struct node_host *
struct node_host *h = NULL;
struct node_host *
struct node_host *n, *h = NULL;
struct node_host *
struct node_host *h = NULL;
struct node_host *
struct node_host *n, *h = NULL;
n = calloc(1, sizeof(struct node_host));
struct node_host *h, *n;
append_addr_host(struct pfr_buffer *b, struct node_host *n, int test, int not)
int ifa_skip_if(const char *filter, struct node_host *p);
struct node_host *host_if(const char *, int);
struct node_host *host_ip(const char *, int);
struct node_host *host_dns(const char *, int, int);
struct node_host *next;
struct node_host *tail;
void freehostlist(struct node_host *);
struct node_host *host;
void set_ipmask(struct node_host *, int);
int check_netmask(struct node_host *, sa_family_t);
struct node_host *gen_dynnode(struct node_host *, sa_family_t);
struct node_host *ifa_exists(char *);
struct node_host *ifa_grouplookup(char *ifa_name, int flags);
struct node_host *ifa_lookup(char *, int);
struct node_host *host(const char *, int);
struct node_host *, int, int);