Lines Matching refs:cb
137 static void CONNMARK_parse(struct xt_option_call *cb) in CONNMARK_parse() argument
139 struct xt_connmark_target_info *markinfo = cb->data; in CONNMARK_parse()
141 xtables_option_parse(cb); in CONNMARK_parse()
142 switch (cb->entry->id) { in CONNMARK_parse()
145 markinfo->mark = cb->val.mark; in CONNMARK_parse()
146 markinfo->mask = cb->val.mask; in CONNMARK_parse()
155 markinfo->mask = cb->val.u32; in CONNMARK_parse()
160 static void connmark_tg_parse(struct xt_option_call *cb) in connmark_tg_parse() argument
162 struct xt_connmark_tginfo1 *info = cb->data; in connmark_tg_parse()
164 xtables_option_parse(cb); in connmark_tg_parse()
165 switch (cb->entry->id) { in connmark_tg_parse()
168 info->ctmark = cb->val.mark; in connmark_tg_parse()
169 info->ctmask = cb->val.mask; in connmark_tg_parse()
173 info->ctmark = cb->val.mark; in connmark_tg_parse()
174 info->ctmask = cb->val.mark | cb->val.mask; in connmark_tg_parse()
179 info->ctmask = ~cb->val.u32; in connmark_tg_parse()
183 info->ctmark = cb->val.u32; in connmark_tg_parse()
184 info->ctmask = cb->val.u32; in connmark_tg_parse()
188 info->ctmark = cb->val.u32; in connmark_tg_parse()
198 info->nfmask = info->ctmask = cb->val.u32; in connmark_tg_parse()
203 static void connmark_tg_check(struct xt_fcheck_call *cb) in connmark_tg_check() argument
205 if (!(cb->xflags & F_OP_ANY)) in connmark_tg_check()