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

« back to all changes in this revision

Viewing changes to route.h

  • Committer: Package Import Robot
  • Author(s): Stéphane Glondu
  • Date: 2013-05-26 21:03:16 UTC
  • mfrom: (1.1.10)
  • Revision ID: package-import@ubuntu.com-20130526210316-6yd2mu09pctqo36y
Tags: 1.4.1-1
* New upstream release (Closes: #709919)
* Add logrotate support (Closes: #659618)
* Switch debian/copyright to format version 1.0
* Bump Standards-Version to 3.9.4
* Bump debhelper compat level to 9

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
    unsigned char nexthop[16];
38
38
    time_t time;
39
39
    unsigned short hold_time;    /* in seconds */
 
40
    unsigned short smoothed_metric; /* for route selection */
 
41
    time_t smoothed_metric_time;
40
42
    short installed;
41
43
    unsigned char channels[DIVERSITY_HOPS];
42
44
    struct babel_route *next;
85
87
int route_interferes(struct babel_route *route, struct interface *ifp);
86
88
int update_feasible(struct source *src,
87
89
                    unsigned short seqno, unsigned short refmetric);
 
90
void change_smoothing_half_life(int half_life);
 
91
int route_smoothed_metric(struct babel_route *route);
88
92
struct babel_route *find_best_route(const unsigned char *prefix, unsigned char plen,
89
93
                              int feasible, struct neighbour *exclude);
90
94
struct babel_route *install_best_route(const unsigned char prefix[16],