FreeBSD/sys/netgraph/bluetooth/socket/ng_btsocket.c
/*
 * Handle loading and unloading for this node type.
 * This is to handle auxiliary linkages (e.g protocol domain addition).
 */
Handle loading and unloading for this node type.
This is to handle auxiliary linkages .
Handle loading and unloading for this node type . This is to handle auxiliary linkages .
static int  
ng_btsocket_modevent(module_t mod, int event, void *data)
{
	int	error = 0;
	switch (event) {
	case MOD_LOAD:
		break;
	case MOD_UNLOAD:
		error = EBUSY;
		break;
	default:
		error = EOPNOTSUPP;
		break;
	}
	return (error);
}
static int ng_btsocket_modevent ( module_t mod , int event , void * data ) { int error = 0 ; switch ( event ) { case MOD_LOAD : break ; case MOD_UNLOAD : error = EBUSY ; break ; default : error = EOPNOTSUPP ; break ; } return ( error ) ; }
Handle loading and unloading for this node type.
Handle loading and unloading for this node type .
/* XXX can't unload protocol domain yet */