Lines Matching refs:optinfo
110 struct ip6t_opts *optinfo = cb->data; in dst_parse() local
116 optinfo->invflags |= IP6T_OPTS_INV_LEN; in dst_parse()
117 optinfo->flags |= IP6T_OPTS_LEN; in dst_parse()
120 optinfo->optsnr = parse_options(cb->arg, optinfo->opts); in dst_parse()
121 optinfo->flags |= IP6T_OPTS_OPTS; in dst_parse()
145 const struct ip6t_opts *optinfo = (struct ip6t_opts *)match->data; in dst_print() local
148 if (optinfo->flags & IP6T_OPTS_LEN) in dst_print()
150 optinfo->invflags & IP6T_OPTS_INV_LEN ? "!" : "", in dst_print()
151 optinfo->hdrlen); in dst_print()
153 if (optinfo->flags & IP6T_OPTS_OPTS) in dst_print()
156 print_options(optinfo->optsnr, (uint16_t *)optinfo->opts); in dst_print()
158 if (optinfo->invflags & ~IP6T_OPTS_INV_MASK) in dst_print()
160 optinfo->invflags & ~IP6T_OPTS_INV_MASK); in dst_print()
165 const struct ip6t_opts *optinfo = (struct ip6t_opts *)match->data; in dst_save() local
167 if (optinfo->flags & IP6T_OPTS_LEN) { in dst_save()
169 (optinfo->invflags & IP6T_OPTS_INV_LEN) ? " !" : "", in dst_save()
170 optinfo->hdrlen); in dst_save()
173 if (optinfo->flags & IP6T_OPTS_OPTS) in dst_save()
176 print_options(optinfo->optsnr, (uint16_t *)optinfo->opts); in dst_save()