/* Register OSPFv3-MIB. */ void ospf6_snmp_init () { smux_init (ospf6d_oid, sizeof (ospf6d_oid) / sizeof (oid)); REGISTER_MIB ("OSPFv3MIB", ospfv3_variables, variable, ospfv3_oid); smux_start (); }
void zebra_snmp_init () { smux_init (zebra_oid, sizeof (zebra_oid) / sizeof (oid)); REGISTER_MIB("mibII/ipforward", zebra_variables, variable, ipfw_oid); smux_start (); }
/* Register RIPv2-MIB. */ void rip_snmp_init () { rip_ifaddr_table = route_table_init (); smux_init (ripd_oid, sizeof (ripd_oid) / sizeof (oid)); REGISTER_MIB("mibII/rip", rip_variables, variable, rip_oid); smux_start (); }