Lines Matching refs:cb
83 static void MARK_parse_v0(struct xt_option_call *cb)
85 struct xt_mark_target_info *markinfo = cb->data;
87 xtables_option_parse(cb);
88 switch (cb->entry->id) {
90 markinfo->mark = cb->val.mark;
95 cb->entry->name);
99 static void MARK_check(struct xt_fcheck_call *cb)
101 if (cb->xflags == 0)
107 static void MARK_parse_v1(struct xt_option_call *cb)
109 struct xt_mark_target_info_v1 *markinfo = cb->data;
111 xtables_option_parse(cb);
112 switch (cb->entry->id) {
123 markinfo->mark = cb->val.u32;
126 static void mark_tg_parse(struct xt_option_call *cb)
128 struct xt_mark_tginfo2 *info = cb->data;
130 xtables_option_parse(cb);
131 switch (cb->entry->id) {
133 info->mark = cb->val.mark;
134 info->mask = cb->val.mask;
137 info->mark = cb->val.mark;
138 info->mask = cb->val.mark | cb->val.mask;
142 info->mask = ~cb->val.u32;
145 info->mark = info->mask = cb->val.u32;
148 info->mark = cb->val.u32;
154 static void mark_tg_check(struct xt_fcheck_call *cb)
156 if (cb->xflags == 0)