Lines Matching defs:cb
99 static void addrtype_parse_v0(struct xt_option_call *cb)
101 struct ipt_addrtype_info *info = cb->data;
103 xtables_option_parse(cb);
104 switch (cb->entry->id) {
106 parse_types(cb->arg, &info->source);
107 if (cb->invert)
111 parse_types(cb->arg, &info->dest);
112 if (cb->invert)
118 static void addrtype_parse_v1(struct xt_option_call *cb)
120 struct ipt_addrtype_info_v1 *info = cb->data;
122 xtables_option_parse(cb);
123 switch (cb->entry->id) {
125 parse_types(cb->arg, &info->source);
126 if (cb->invert)
130 parse_types(cb->arg, &info->dest);
131 if (cb->invert)
143 static void addrtype_check(struct xt_fcheck_call *cb)
145 if (!(cb->xflags & (F_SRC_TYPE | F_DST_TYPE)))