コード例 #1
0
ファイル: lisp_site.c プロジェクト: LISPmob/lispmob
void
lisp_reg_site_del(lisp_reg_site_t *rs)
{
    stop_timers_from_obj(rs,ptrs_to_timers_ht,nonces_ht);
    mapping_del(rs->site_map);
    free(rs);
}
コード例 #2
0
ファイル: map_cache_entry.c プロジェクト: biels/oor
void
mcache_entry_del(mcache_entry_t *entry)
{
    locator_t *loct;

    assert(entry);
    /* Stop timers associated to the locators */
    mapping_foreach_locator(mcache_entry_mapping(entry),loct){
        stop_timers_from_obj(loct,ptrs_to_timers_ht, nonces_ht);
    }mapping_foreach_locator_end;
コード例 #3
0
ファイル: map_local_entry.c プロジェクト: muharif/oor2
void
map_local_entry_del(map_local_entry_t *mle)
{
    if (mle == NULL){
        return;
    }
    stop_timers_from_obj(mle,ptrs_to_timers_ht, nonces_ht);
	mapping_del(mle->mapping);
	if (mle->fwd_info != NULL){
	    mle->fwd_inf_del(mle->fwd_info);
	}
	free(mle);
}