FreeBSD/usr.sbin/bsnmpd/modules/snmp_bridge/bridge_snmp.c
/*
 * Bridge mib module finalization hook.
 */
Bridge mib module finalization hook.
Bridge mib module finalization hook .
static int
bridge_fini(void)
{
	mib_unregister_newif(bridge_module);
	or_unregister(reg_bridge);
	if (bridge_data_timer != NULL) {
		timer_stop(bridge_data_timer);
		bridge_data_timer = NULL;
	}
	if (bridge_tc_timer != NULL) {
		timer_stop(bridge_tc_timer);
		bridge_tc_timer = NULL;
	}
	bridge_ifs_fini();
	bridge_ports_fini();
	bridge_addrs_fini();
	return (0);
}
static int bridge_fini ( void ) { mib_unregister_newif ( bridge_module ) ; or_unregister ( reg_bridge ) ; if ( bridge_data_timer != NULL ) { timer_stop ( bridge_data_timer ) ; bridge_data_timer = NULL ; } if ( bridge_tc_timer != NULL ) { timer_stop ( bridge_tc_timer ) ; bridge_tc_timer = NULL ; } bridge_ifs_fini ( ) ; bridge_ports_fini ( ) ; bridge_addrs_fini ( ) ; return ( 0 ) ; }
Bridge mib module finalization hook.
Bridge mib module finalization hook .