Home | History | Annotate | Download | only in extensions

Lines Matching defs:info

47 	struct xt_devgroup_info *info = cb->data;
54 info->src_group = strtoul(cb->arg, &end, 0);
57 info->src_mask = strtoul(end+1, &end, 0);
59 info->src_mask = 0xffffffff;
70 info->src_group = id;
71 info->src_mask = 0xffffffff;
73 info->flags |= XT_DEVGROUP_MATCH_SRC;
75 info->flags |= XT_DEVGROUP_INVERT_SRC;
78 info->dst_group = strtoul(cb->arg, &end, 0);
81 info->dst_mask = strtoul(end+1, &end, 0);
83 info->dst_mask = 0xffffffff;
94 info->dst_group = id;
95 info->dst_mask = 0xffffffff;
97 info->flags |= XT_DEVGROUP_MATCH_DST;
99 info->flags |= XT_DEVGROUP_INVERT_DST;
121 static void devgroup_show(const char *pfx, const struct xt_devgroup_info *info,
124 if (info->flags & XT_DEVGROUP_MATCH_SRC) {
125 if (info->flags & XT_DEVGROUP_INVERT_SRC)
128 print_devgroup(info->src_group, info->src_mask, numeric);
131 if (info->flags & XT_DEVGROUP_MATCH_DST) {
132 if (info->flags & XT_DEVGROUP_INVERT_DST)
135 print_devgroup(info->src_group, info->src_mask, numeric);
142 const struct xt_devgroup_info *info = (const void *)match->data;
144 devgroup_show("", info, numeric);
149 const struct xt_devgroup_info *info = (const void *)match->data;
151 devgroup_show("--", info, 0);