Home
last modified time | relevance | path

Searched refs:nf_nat_range (Results 1 – 6 of 6) sorted by relevance

/third_party/iptables/extensions/
Dlibip6t_REDIRECT.c40 parse_ports(const char *arg, struct nf_nat_range *range) in parse_ports()
77 struct nf_nat_range *range = (void *)(*cb->target)->data; in REDIRECT_parse()
109 const struct nf_nat_range *range = (const void *)target->data; in REDIRECT_print()
123 const struct nf_nat_range *range = (const void *)target->data; in REDIRECT_save()
138 const struct nf_nat_range *range = (const void *)params->target->data; in REDIRECT_xlate()
157 .size = XT_ALIGN(sizeof(struct nf_nat_range)),
158 .userspacesize = XT_ALIGN(sizeof(struct nf_nat_range)),
Dlibip6t_MASQUERADE.c45 parse_ports(const char *arg, struct nf_nat_range *r) in parse_ports()
80 struct nf_nat_range *r = cb->data; in MASQUERADE_parse()
113 const struct nf_nat_range *r = (const void *)target->data; in MASQUERADE_print()
132 const struct nf_nat_range *r = (const void *)target->data; in MASQUERADE_save()
150 const struct nf_nat_range *r = (const void *)params->target->data; in MASQUERADE_xlate()
175 .size = XT_ALIGN(sizeof(struct nf_nat_range)),
176 .userspacesize = XT_ALIGN(sizeof(struct nf_nat_range)),
Dlibip6t_SNAT.c50 parse_to(const char *orig_arg, int portok, struct nf_nat_range *range) in parse_to()
153 struct nf_nat_range *range = cb->data; in SNAT_parse()
185 struct nf_nat_range *range = cb->data; in SNAT_fcheck()
193 static void print_range(const struct nf_nat_range *range) in print_range()
216 const struct nf_nat_range *range = (const void *)target->data; in SNAT_print()
230 const struct nf_nat_range *range = (const void *)target->data; in SNAT_save()
242 static void print_range_xlate(const struct nf_nat_range *range, in print_range_xlate()
273 const struct nf_nat_range *range = (const void *)params->target->data; in SNAT_xlate()
303 .size = XT_ALIGN(sizeof(struct nf_nat_range)),
304 .userspacesize = XT_ALIGN(sizeof(struct nf_nat_range)),
Dlibip6t_NETMAP.c39 struct nf_nat_range *range = cb->data; in NETMAP_parse()
55 const struct nf_nat_range *r = (const void *)target->data; in __NETMAP_print()
88 .size = XT_ALIGN(sizeof(struct nf_nat_range)),
89 .userspacesize = XT_ALIGN(sizeof(struct nf_nat_range)),
Dlibip6t_DNAT.c203 struct nf_nat_range *range_v1 = (void *)cb->data; in DNAT_parse()
226 _DNAT_fcheck(cb, &((struct nf_nat_range *)cb->data)->flags); in DNAT_fcheck()
269 const struct nf_nat_range *range_v1 = (const void *)target->data; in DNAT_print()
294 const struct nf_nat_range *range_v1 = (const void *)target->data; in DNAT_save()
358 const struct nf_nat_range *range_v1 = (const void *)params->target->data; in DNAT_xlate()
381 .size = XT_ALIGN(sizeof(struct nf_nat_range)),
382 .userspacesize = XT_ALIGN(sizeof(struct nf_nat_range)),
/third_party/iptables/include/linux/netfilter/
Dnf_nat.h35 struct nf_nat_range { struct