Lines Matching refs:mhinfo
73 struct ip6t_mh *mhinfo = (struct ip6t_mh *)m->data; in mh_init() local
75 mhinfo->types[1] = 0xFF; in mh_init()
129 struct ip6t_mh *mhinfo = cb->data; in mh_parse() local
132 parse_mh_types(cb->arg, mhinfo->types); in mh_parse()
134 mhinfo->invflags |= IP6T_MH_INV_TYPE; in mh_parse()
178 const struct ip6t_mh *mhinfo = (struct ip6t_mh *)match->data; in mh_print() local
181 print_types(mhinfo->types[0], mhinfo->types[1], in mh_print()
182 mhinfo->invflags & IP6T_MH_INV_TYPE, in mh_print()
184 if (mhinfo->invflags & ~IP6T_MH_INV_MASK) in mh_print()
186 mhinfo->invflags & ~IP6T_MH_INV_MASK); in mh_print()
191 const struct ip6t_mh *mhinfo = (struct ip6t_mh *)match->data; in mh_save() local
193 if (mhinfo->types[0] == 0 && mhinfo->types[1] == 0xFF) in mh_save()
196 if (mhinfo->invflags & IP6T_MH_INV_TYPE) in mh_save()
199 if (mhinfo->types[0] != mhinfo->types[1]) in mh_save()
200 printf(" --mh-type %u:%u", mhinfo->types[0], mhinfo->types[1]); in mh_save()
202 printf(" --mh-type %u", mhinfo->types[0]); in mh_save()
208 const struct ip6t_mh *mhinfo = (struct ip6t_mh *)params->match->data; in mh_xlate() local
210 if (mhinfo->types[0] == 0 && mhinfo->types[1] == 0xff) in mh_xlate()
213 if (mhinfo->types[0] != mhinfo->types[1]) in mh_xlate()
215 mhinfo->invflags & IP6T_MH_INV_TYPE ? "!= " : "", in mh_xlate()
216 mhinfo->types[0], mhinfo->types[1]); in mh_xlate()
219 mhinfo->invflags & IP6T_MH_INV_TYPE ? "!= " : "", in mh_xlate()
220 mhinfo->types[0]); in mh_xlate()