FreeBSD/usr.sbin/bsnmpd/modules/snmp_bridge/bridge_if.c
/*
 * Compare the new and old topology change times and send a
 * topology change notification if necessary.
 */
Compare the new and old topology change times and send a
topology change notification if necessary.
Compare the new and old topology change times and send a topology change notification if necessary .
static void
bridge_top_change(struct bridge_if *bif)
{
	struct snmp_value bif_idx;
	if (bridge_get_default() == bif)
		snmp_send_trap(&oid_TopologyChange,
		    (struct snmp_value *) NULL);
	if (bridge_basename_var(bif, &bif_idx) == NULL)
		return;
	snmp_send_trap(&oid_begemotNewRoot,
	    &bif_idx, (struct snmp_value *) NULL);
}
static void bridge_top_change ( struct bridge_if * bif ) { struct snmp_value bif_idx ; if ( bridge_get_default ( ) == bif ) snmp_send_trap ( & oid_TopologyChange , ( struct snmp_value * ) NULL ) ; if ( bridge_basename_var ( bif , & bif_idx ) == NULL ) return ; snmp_send_trap ( & oid_begemotNewRoot , & bif_idx , ( struct snmp_value * ) NULL ) ; }
Compare the new and old topology change times and send a
 topology change notification if necessary.
Compare the new and old topology change times and send a topology change notification if necessary .