FreeBSD/sys/netinet/ip_mroute.c
/*
 * Check if a vif number is legal/ok. This is used by in_mcast.c.
 */
Check if a vif number is legal/ok. This is used by in_mcast.c.
Check if a vif number is legal / ok . This is used by in_mcast . c .
static int
X_legal_vif_num(int vif)
{
	int ret;
	ret = 0;
	if (vif < 0)
		return (ret);
	VIF_LOCK();
	if (vif < V_numvifs)
		ret = 1;
	VIF_UNLOCK();
	return (ret);
}
static int X_legal_vif_num ( int vif ) { int ret ; ret = 0 ; if ( vif < 0 ) return ( ret ) ; VIF_LOCK ( ) ; if ( vif < V_numvifs ) ret = 1 ; VIF_UNLOCK ( ) ; return ( ret ) ; }
Check if a vif number is legal/ok.
Check if a vif number is legal / ok .