Home | History | Annotate | Download | only in extensions

Lines Matching refs:cb

154 static void SNAT_parse(struct xt_option_call *cb)
156 const struct ipt_entry *entry = cb->xt_entry;
157 struct ipt_natinfo *info = (void *)(*cb->target);
169 xtables_option_parse(cb);
170 switch (cb->entry->id) {
172 if (cb->xflags & F_X_TO_SRC) {
179 *cb->target = parse_to(cb->arg, portok, info);
180 cb->xflags |= F_X_TO_SRC;
188 static void SNAT_fcheck(struct xt_fcheck_call *cb)
192 struct nf_nat_ipv4_multi_range_compat *mr = cb->data;
194 if ((cb->xflags & f) == f)
196 if ((cb->xflags & r) == r)