Lines Matching refs:cb
45 static void devgroup_parse(struct xt_option_call *cb)
47 struct xt_devgroup_info *info = cb->data;
51 xtables_option_parse(cb);
52 switch (cb->entry->id) {
54 info->src_group = strtoul(cb->arg, &end, 0);
55 if (end != cb->arg && (*end == '/' || *end == '\0')) {
60 if (*end != '\0' || end == cb->arg)
63 cb->arg);
65 id = xtables_lmap_name2id(devgroups, cb->arg);
69 cb->arg);
74 if (cb->invert)
78 info->dst_group = strtoul(cb->arg, &end, 0);
79 if (end != cb->arg && (*end == '/' || *end == '\0')) {
84 if (*end != '\0' || end == cb->arg)
87 cb->arg);
89 id = xtables_lmap_name2id(devgroups, cb->arg);
93 cb->arg);
98 if (cb->invert)
154 static void devgroup_check(struct xt_fcheck_call *cb)
156 if (cb->xflags == 0)