Home | History | Annotate | Download | only in extensions

Lines Matching refs:cb

94 static void tos_tg_parse_v0(struct xt_option_call *cb)
96 struct ipt_tos_target_info *info = cb->data;
98 xtables_option_parse(cb);
99 if (cb->val.tos_mask != 0xFF)
103 info->tos = cb->val.tos_value;
106 static void tos_tg_parse(struct xt_option_call *cb)
108 struct xt_tos_target_info *info = cb->data;
110 xtables_option_parse(cb);
111 switch (cb->entry->id) {
113 info->tos_value = cb->val.tos_value;
114 info->tos_mask = cb->val.tos_mask;
118 info->tos_mask = ~cb->val.u8;
121 info->tos_value = cb->val.u8;
122 info->tos_mask = cb->val.u8;
125 info->tos_value = cb->val.u8;
131 static void tos_tg_check(struct xt_fcheck_call *cb)
133 if (!(cb->xflags & F_ANY))