Updates in nlsr_npt.*
diff --git a/nlsr_npt.h b/nlsr_npt.h
index 48ef6d4..997cb71 100644
--- a/nlsr_npt.h
+++ b/nlsr_npt.h
@@ -5,18 +5,19 @@
struct npt_entry
{
- char *name_prefix;
- struct hashtb *next_hop_table;
+ char *orig_router;
+ struct hashtb *name_list;
+ int next_hop_face;
};
-struct next_hop_entry
+struct name_list_entry
{
- char *orig_router;
- int next_hop_face;
+ char *name;
};
int add_npt_entry(char *orig_router, char *name_prefix, int face);
void print_npt(void);
+void delete_orig_router_from_npt(char *orig_router,int next_hop_face);
#endif