FreeBSD/sys/netgraph/bluetooth/socket/ng_btsocket_sco.c
/*
 * Hook disconnection. Schedule route cleanup task
 */
Hook disconnection. Schedule route cleanup task
Hook disconnection . Schedule route cleanup task
static int
ng_btsocket_sco_node_disconnect(hook_p hook)
{
	if (NG_HOOK_PRIVATE(hook) != NULL)
		return (ng_btsocket_sco_wakeup_route_task());
	NG_HOOK_UNREF(hook); 
	return (0);
}
static int ng_btsocket_sco_node_disconnect ( hook_p hook ) { if ( NG_HOOK_PRIVATE ( hook ) != NULL ) return ( ng_btsocket_sco_wakeup_route_task ( ) ) ; NG_HOOK_UNREF ( hook ) ; return ( 0 ) ; }
Hook disconnection.
Hook disconnection .
/*
	 * If hook has private information than we must have this hook in
	 * the routing table and must schedule cleaning for the routing table.
	 * Otherwise hook was connected but we never got "hook_info" message,
	 * so we have never added this hook to the routing table and it save
	 * to just delete it.
	 */ /* Remove extra reference */