Searched refs:cfg_nat (Results 1 - 5 of 5) sorted by relevance

/freebsd-10.2-release/sys/netpfil/ipfw/
H A Dip_fw_nat.c61 struct cfg_nat *ptr;
109 del_redir_spool_cfg(struct cfg_nat *n, struct redir_chain *head)
144 add_redir_spool_cfg(char *buf, struct cfg_nat *ptr)
214 ipfw_nat(struct ip_fw_args *args, struct cfg_nat *t, struct mbuf *m)
381 static struct cfg_nat *
384 struct cfg_nat *res;
396 struct cfg_nat *cfg, *ptr;
404 if ((error = sooptcopyin(sopt, buf, len, sizeof(struct cfg_nat))) != 0)
407 cfg = (struct cfg_nat *)buf;
422 ptr = malloc(sizeof(struct cfg_nat), M_IPF
[all...]
H A Dip_fw_private.h219 LIST_HEAD(nat_list, cfg_nat) nat; /* list of nat entries */
327 extern struct cfg_nat *(*lookup_nat_ptr)(struct nat_list *, int);
329 typedef int ipfw_nat_t(struct ip_fw_args *, struct cfg_nat *, struct mbuf *);
H A Dip_fw2.c149 struct cfg_nat *(*lookup_nat_ptr)(struct nat_list *, int);
2414 struct cfg_nat *t;
/freebsd-10.2-release/sys/netinet/
H A Dip_fw.h422 struct cfg_nat { struct
424 LIST_ENTRY(cfg_nat) _next;
437 #define SOF_NAT sizeof(struct cfg_nat)
444 struct cfg_nat *nat;
/freebsd-10.2-release/sbin/ipfw/
H A Dnat.c74 set_addr_dynamic(const char *ifn, struct cfg_nat *n)
296 * cfg_nat cfg_redir cfg_spool ...... cfg_spool
621 struct cfg_nat *n;
627 n = (struct cfg_nat *)buf;
739 struct cfg_nat *n; /* Nat instance configuration. */
758 len = sizeof(struct cfg_nat);
831 n = (struct cfg_nat *)buf;
919 struct cfg_nat *n;
967 n = (struct cfg_nat *)&data[i];
970 i += sizeof(struct cfg_nat);
[all...]

Completed in 122 milliseconds