Lines Matching refs:nat44_cfg_nat
46 typedef int (nat_cb_t)(struct nat44_cfg_nat *cfg, void *arg);
47 static void nat_show_cfg(struct nat44_cfg_nat *n, void *arg);
48 static void nat_show_log(struct nat44_cfg_nat *n, void *arg);
49 static int nat_show_data(struct nat44_cfg_nat *cfg, void *arg);
81 set_addr_dynamic(const char *ifn, struct nat44_cfg_nat *n) in set_addr_dynamic()
625 nat_show_log(struct nat44_cfg_nat *n, void *arg __unused) in nat_show_log()
635 nat_show_cfg(struct nat44_cfg_nat *n, void *arg __unused) in nat_show_cfg()
781 struct nat44_cfg_nat *n; /* Nat instance configuration. */ in ipfw_config_nat()
877 n = (struct nat44_cfg_nat *)(oh + 1); in ipfw_config_nat()
1016 nat_show_data(struct nat44_cfg_nat *cfg, void *arg) in nat_show_data()
1029 nat_show_cfg((struct nat44_cfg_nat *)(oh + 1), NULL); in nat_show_data()
1034 nat_show_log((struct nat44_cfg_nat *)(oh + 1), NULL); in nat_show_data()
1055 const struct nat44_cfg_nat *ia, *ib; in natname_cmp()
1057 ia = (const struct nat44_cfg_nat *)a; in natname_cmp()
1058 ib = (const struct nat44_cfg_nat *)b; in natname_cmp()
1072 struct nat44_cfg_nat *cfg; in nat_foreach()
1077 sz = sizeof(*olh) + 16 * sizeof(struct nat44_cfg_nat); in nat_foreach()
1095 cfg = (struct nat44_cfg_nat*)(olh + 1); in nat_foreach()
1098 cfg = (struct nat44_cfg_nat *)((caddr_t)cfg + in nat_foreach()
1113 struct nat44_cfg_nat *cfg; in nat_get_cmd()
1122 cfg = (struct nat44_cfg_nat *)(oh + 1); in nat_get_cmd()
1184 nat_show_cfg((struct nat44_cfg_nat *)(oh + 1), NULL); in ipfw_show_nat()