Lines Matching refs:flags
150 rtinfo->flags = 0;
158 parse(int c, char **argv, int invert, unsigned int *flags,
167 if (*flags & IP6T_RT_TYP)
174 rtinfo->flags |= IP6T_RT_TYP;
175 *flags |= IP6T_RT_TYP;
178 if (*flags & IP6T_RT_SGS)
185 rtinfo->flags |= IP6T_RT_SGS;
186 *flags |= IP6T_RT_SGS;
189 if (*flags & IP6T_RT_LEN)
196 rtinfo->flags |= IP6T_RT_LEN;
197 *flags |= IP6T_RT_LEN;
200 if (*flags & IP6T_RT_RES)
203 if ( !(*flags & IP6T_RT_TYP) || (rtinfo->rt_type != 0) || (rtinfo->invflags & IP6T_RT_INV_TYP) )
206 rtinfo->flags |= IP6T_RT_RES;
207 *flags |= IP6T_RT_RES;
210 if (*flags & IP6T_RT_FST)
213 if ( !(*flags & IP6T_RT_TYP) || (rtinfo->rt_type != 0) || (rtinfo->invflags & IP6T_RT_INV_TYP) )
221 rtinfo->flags |= IP6T_RT_FST;
222 *flags |= IP6T_RT_FST;
225 if (*flags & IP6T_RT_FST_NSTRICT)
228 if ( !(*flags & IP6T_RT_FST) )
231 rtinfo->flags |= IP6T_RT_FST_NSTRICT;
232 *flags |= IP6T_RT_FST_NSTRICT;
243 final_check(unsigned int flags)
286 if (rtinfo->flags & IP6T_RT_TYP)
291 if (rtinfo->flags & IP6T_RT_LEN) {
297 if (rtinfo->flags & IP6T_RT_RES) printf("reserved ");
298 if (rtinfo->flags & IP6T_RT_FST) printf("0-addrs ");
300 if (rtinfo->flags & IP6T_RT_FST_NSTRICT) printf("0-not-strict ");
311 if (rtinfo->flags & IP6T_RT_TYP) {
331 if (rtinfo->flags & IP6T_RT_LEN) {
337 if (rtinfo->flags & IP6T_RT_RES) printf("--rt-0-res ");
338 if (rtinfo->flags & IP6T_RT_FST) printf("--rt-0-addrs ");
340 if (rtinfo->flags & IP6T_RT_FST_NSTRICT) printf("--rt-0-not-strict ");