static void cleanup() { log(LOG_DEBUG, 0, "CLEANING UP!"); k_del_rte(AODV_BROADCAST, 0, 0); remove_modules(); rt_table_destroy(); packet_input_cleanup(); aodv_socket_cleanup(); log_cleanup(); }
static void cleanup(void) { DEBUG(LOG_DEBUG, 0, "CLEANING UP!"); rt_table_destroy(); aodv_socket_cleanup(); #ifdef LLFEEDBACK if (llfeedback) llf_cleanup(); #endif log_cleanup(); nl_cleanup(); remove_modules(); }