Searched refs:cfg_nat (Results 1 – 5 of 5) sorted by relevance
| /trueos/sys/netpfil/ipfw/ |
| HD | ip_fw_nat.c | 61 struct cfg_nat *ptr; in ifaddr_change() 109 del_redir_spool_cfg(struct cfg_nat *n, struct redir_chain *head) in del_redir_spool_cfg() 144 add_redir_spool_cfg(char *buf, struct cfg_nat *ptr) in add_redir_spool_cfg() 214 ipfw_nat(struct ip_fw_args *args, struct cfg_nat *t, struct mbuf *m) in ipfw_nat() 381 static struct cfg_nat * 384 struct cfg_nat *res; in lookup_nat() 396 struct cfg_nat *cfg, *ptr; in ipfw_nat_cfg() 404 if ((error = sooptcopyin(sopt, buf, len, sizeof(struct cfg_nat))) != 0) in ipfw_nat_cfg() 407 cfg = (struct cfg_nat *)buf; in ipfw_nat_cfg() 422 ptr = malloc(sizeof(struct cfg_nat), M_IPFW, M_WAITOK | M_ZERO); in ipfw_nat_cfg() [all …]
|
| HD | ip_fw_private.h | 219 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 *);
|
| HD | ip_fw2.c | 149 struct cfg_nat *(*lookup_nat_ptr)(struct nat_list *, int); 2414 struct cfg_nat *t; in ipfw_chk()
|
| /trueos/sbin/ipfw/ |
| HD | nat.c | 74 set_addr_dynamic(const char *ifn, struct cfg_nat *n) in set_addr_dynamic() 621 struct cfg_nat *n; in print_nat_config() 627 n = (struct cfg_nat *)buf; in print_nat_config() 739 struct cfg_nat *n; /* Nat instance configuration. */ in ipfw_config_nat() 758 len = sizeof(struct cfg_nat); in ipfw_config_nat() 831 n = (struct cfg_nat *)buf; in ipfw_config_nat() 919 struct cfg_nat *n; in ipfw_show_nat() 967 n = (struct cfg_nat *)&data[i]; in ipfw_show_nat() 970 i += sizeof(struct cfg_nat); in ipfw_show_nat()
|
| /trueos/sys/netinet/ |
| HD | ip_fw.h | 422 struct cfg_nat { struct 424 LIST_ENTRY(cfg_nat) _next; 437 #define SOF_NAT sizeof(struct cfg_nat) argument 444 struct cfg_nat *nat;
|