blob: 1bcb38186af212a73064ecfac5536324ad6f2043 [file] [log] [blame]
akmhoque8a5babe2012-08-16 17:39:33 -05001#ifndef _NLSR_ADL_H_
2#define _NLSR_ADL_H_
3
akmhoque42098b12012-08-27 22:54:23 -05004#define NBR_ACTIVE 1
5#define NBR_DOWN 0
6
akmhoque8a5babe2012-08-16 17:39:33 -05007void add_adjacent_to_adl(struct ndn_neighbor *nbr);
8void print_adjacent_from_adl(void);
9void update_adjacent_status_to_adl(struct ccn_charbuf *nbr, int status);
akmhoquef6432c22012-08-21 13:18:05 -040010void update_adjacent_lsdb_version_to_adl(struct ccn_charbuf *nbr, long int version);
akmhoque8a5babe2012-08-16 17:39:33 -050011
akmhoqued79438d2012-08-27 13:31:42 -050012int get_timed_out_number(struct ccn_charbuf *nbr);
13void update_adjacent_timed_out_to_adl(struct ccn_charbuf *nbr, int increment);
14void update_adjacent_timed_out_zero_to_adl(struct ccn_charbuf *nbr);
15
akmhoque8a5babe2012-08-16 17:39:33 -050016#endif