FreeBSD/sys/netgraph/atm/ng_atm.c
/*
 * Issue the close command to the driver
 */
Issue the close command to the driver
Issue the close command to the driver
static int
cpcs_term(const struct priv *priv, u_int vpi, u_int vci)
{
	struct atmio_closevcc data;
	if (priv->ifp->if_ioctl == NULL)
		return ENXIO;
	data.vpi = vpi;
	data.vci = vci;
	return ((*priv->ifp->if_ioctl)(priv->ifp,
	    SIOCATMCLOSEVCC, (caddr_t)&data));
}
static int cpcs_term ( const struct priv * priv , u_int vpi , u_int vci ) { struct atmio_closevcc data ; if ( priv -> ifp -> if_ioctl == NULL ) return ENXIO ; data . vpi = vpi ; data . vci = vci ; return ( ( * priv -> ifp -> if_ioctl ) ( priv -> ifp , SIOCATMCLOSEVCC , ( caddr_t ) & data ) ) ; }
Issue the close command to the driver
Issue the close command to the driver