src/sys/net/if_vlan.c
/*
 * Return a driver specific cookie for this interface.  Synchronization
 * with setcookie must be provided by the driver. 
 */
Return a driver specific cookie for this interface.  Synchronization
with setcookie must be provided by the driver.
Return a driver specific cookie for this interface . Synchronization with setcookie must be provided by the driver .
static void *
vlan_cookie(struct ifnet *ifp)
{
	struct ifvlan *ifv;
	if (ifp->if_type != IFT_L2VLAN)
		return (NULL);
	ifv = ifp->if_softc;
	return (ifv->ifv_cookie);
}
static void * vlan_cookie ( struct ifnet * ifp ) { struct ifvlan * ifv ; if ( ifp -> if_type != IFT_L2VLAN ) return ( NULL ) ; ifv = ifp -> if_softc ; return ( ifv -> ifv_cookie ) ; }
Return a driver specific cookie for this interface.
Return a driver specific cookie for this interface .