Home | History | Annotate | Download | only in extensions

Lines Matching refs:cb

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