Home
last modified time | relevance | path

Searched refs:node_host (Results 1 – 4 of 4) sorted by relevance

/netbsd-src/dist/pf/sbin/pfctl/
H A Dpfctl_parser.h113 struct node_host { struct
122 struct node_host *next; argument
123 struct node_host *tail; argument
164 struct node_host *host;
268 void set_ipmask(struct node_host *, u_int8_t);
269 int check_netmask(struct node_host *, sa_family_t);
272 struct node_host *ifa_exists(const char *);
273 struct node_host *ifa_lookup(const char *, int);
274 struct node_host *host(const char *);
278 struct node_host *, int, int);
H A Dpfctl_parser.c72 int ifa_skip_if(const char *filter, struct node_host *p);
74 struct node_host *ifa_grouplookup(const char *, int);
75 struct node_host *host_if(const char *, int);
76 struct node_host *host_v4(const char *, int);
77 struct node_host *host_v6(const char *, int);
78 struct node_host *host_dns(const char *, int, int);
1037 struct node_host *h; in print_tabledef()
1084 set_ipmask(struct node_host *h, u_int8_t b) in set_ipmask()
1109 check_netmask(struct node_host *h, sa_family_t af) in check_netmask()
1111 struct node_host *n = NULL; in check_netmask()
[all …]
H A Dparse.y160 struct node_host *host;
264 int disallow_table(struct node_host *, const char *);
265 int disallow_urpf_failed(struct node_host *, const char *);
266 int disallow_alias(struct node_host *, const char *);
276 struct node_host *);
280 void expand_label(char *, size_t, const char *, u_int8_t, struct node_host *,
281 struct node_port *, struct node_host *, struct node_port *,
283 void expand_rule(struct pf_rule *, struct node_if *, struct node_host *,
284 struct node_proto *, struct node_os*, struct node_host *,
285 struct node_port *, struct node_host *, struct node_port *,
[all …]
H A Dpfctl_optimize.c1223 struct node_host node_host; in add_opt_table() local
1239 memset(&node_host, 0, sizeof(node_host)); in add_opt_table()
1240 node_host.af = af; in add_opt_table()
1241 node_host.addr = addr->addr; in add_opt_table()
1245 &node_host.addr.v.a.addr, buf, sizeof(buf)), in add_opt_table()
1246 unmask(&node_host.addr.v.a.mask, af)); in add_opt_table()
1249 if (append_addr_host((*tbl)->pt_buf, &node_host, 0, 0)) { in add_opt_table()
1260 memcpy(ti->host, &node_host, sizeof(*ti->host)); in add_opt_table()