blob: 48ef6d430d4b7fbfffee86880ec84628075dab2c [file] [log] [blame]
akmhoque3560cb62012-09-09 10:52:30 -05001#ifndef _NLSR_NPT_H_
2#define _NLSR_NPT_H_
3
4#define NO_FACE -12345
5
6struct npt_entry
7{
8 char *name_prefix;
9 struct hashtb *next_hop_table;
10};
11
12struct next_hop_entry
13{
14 char *orig_router;
15 int next_hop_face;
16};
17
18
19int add_npt_entry(char *orig_router, char *name_prefix, int face);
20void print_npt(void);
21
22#endif