if (io->on_value == IPOPT_SECURITY) io++;
void optprint(secmsk, secbits, optmsk, optbits)u_short secmsk, secbits;u_long optmsk, optbits;{	struct ipopt_names *io, *so;	char *s;	int secflag = 0;	s = " opt ";	for (io = ionames; io->on_name; io++)		if ((io->on_bit & optmsk) &&		    ((io->on_bit & optmsk) == (io->on_bit & optbits))) {			if ((io->on_value != IPOPT_SECURITY) ||			    (!secmsk && !secbits)) {				printf("%s%s", s, io->on_name);				if (io->on_value == IPOPT_SECURITY)					io++;				s = ",";			} else				secflag = 1;		}	if (secmsk & secbits) {		printf("%ssec-class", s);		s = " ";		for (so = secclass; so->on_name; so++)			if ((secmsk & so->on_bit) &&			    ((so->on_bit & secmsk) == (so->on_bit & secbits))) {				printf("%s%s", s, so->on_name);				s = ",";			}	}	if ((optmsk && (optmsk != optbits)) ||	    (secmsk && (secmsk != secbits))) {		s = " ";		printf(" not opt");		if (optmsk != optbits) {			for (io = ionames; io->on_name; io++)				if ((io->on_bit & optmsk) &&				    ((io->on_bit & optmsk) !=				     (io->on_bit & optbits))) {					if ((io->on_value != IPOPT_SECURITY) ||					    (!secmsk && !secbits)) {						printf("%s%s", s, io->on_name);						s = ",";					} else						io++;				}		}		if (secmsk != secbits) {			printf("%ssec-class", s);			s = " ";			for (so = secclass; so->on_name; so++)				if ((so->on_bit & secmsk) &&				    ((so->on_bit & secmsk) !=				     (so->on_bit & secbits))) {					printf("%s%s", s, so->on_name);					s = ",";				}		}	}}