~ubuntu-branches/ubuntu/utopic/babeld/utopic-proposed

« back to all changes in this revision

Viewing changes to xroute.h

  • Committer: Package Import Robot
  • Author(s): Stéphane Glondu
  • Date: 2011-12-08 20:49:12 UTC
  • mfrom: (1.1.8)
  • Revision ID: package-import@ubuntu.com-20111208204912-oiizndrm9va3aplf
Tags: 1.3.0-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
    int proto;
29
29
};
30
30
 
31
 
extern struct xroute *xroutes;
32
 
extern int numxroutes;
33
 
 
34
31
struct xroute *find_xroute(const unsigned char *prefix, unsigned char plen);
35
32
void flush_xroute(struct xroute *xroute);
36
33
int add_xroute(unsigned char prefix[16], unsigned char plen,
37
34
               unsigned short metric, unsigned int ifindex, int proto);
 
35
int xroutes_estimate(void);
 
36
void for_all_xroutes(void (*f)(struct xroute*, void*), void *closure);
38
37
int check_xroutes(int send_updates);