Searched refs:newmetric (Results 1 - 24 of 24) sorted by relevance

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/quagga/babeld/
H A Dkernel.h66 unsigned int newmetric);
H A Dkernel.c100 unsigned int newmetric)
132 if(newmetric == metric && memcmp(newgate, gate, 16) == 0 &&
144 kernel_route_v4(1, pref, plen, newgate, newifindex, newmetric):
145 kernel_route_v6(1, pref, plen, newgate, newifindex, newmetric);
97 kernel_route(int operation, const unsigned char *pref, unsigned short plen, const unsigned char *gate, int ifindex, unsigned int metric, const unsigned char *newgate, int newifindex, unsigned int newmetric) argument
H A Droute.c473 int newmetric = MIN(refmetric + cost + add, INFINITY); local
476 new = metric_to_kernel(newmetric);
888 unsigned newmetric, diff; local
895 newmetric = route_metric(route);
897 newmetric >= oldmetric ? newmetric - oldmetric : oldmetric - newmetric;
899 if(route->src != oldsrc || (oldmetric < INFINITY && newmetric >= INFINITY))
903 else if(newmetric > oldmetric && oldmetric < 6 * 256 && diff >= 512)
910 else if(oldmetric >= INFINITY && newmetric < INFINIT
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/quagga/babeld/
H A Dkernel.h66 unsigned int newmetric);
H A Dkernel.c100 unsigned int newmetric)
132 if(newmetric == metric && memcmp(newgate, gate, 16) == 0 &&
144 kernel_route_v4(1, pref, plen, newgate, newifindex, newmetric):
145 kernel_route_v6(1, pref, plen, newgate, newifindex, newmetric);
97 kernel_route(int operation, const unsigned char *pref, unsigned short plen, const unsigned char *gate, int ifindex, unsigned int metric, const unsigned char *newgate, int newifindex, unsigned int newmetric) argument
H A Droute.c473 int newmetric = MIN(refmetric + cost + add, INFINITY); local
476 new = metric_to_kernel(newmetric);
888 unsigned newmetric, diff; local
895 newmetric = route_metric(route);
897 newmetric >= oldmetric ? newmetric - oldmetric : oldmetric - newmetric;
899 if(route->src != oldsrc || (oldmetric < INFINITY && newmetric >= INFINITY))
903 else if(newmetric > oldmetric && oldmetric < 6 * 256 && diff >= 512)
910 else if(oldmetric >= INFINITY && newmetric < INFINIT
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/quagga/babeld/
H A Dkernel.h66 unsigned int newmetric);
H A Dkernel.c100 unsigned int newmetric)
132 if(newmetric == metric && memcmp(newgate, gate, 16) == 0 &&
144 kernel_route_v4(1, pref, plen, newgate, newifindex, newmetric):
145 kernel_route_v6(1, pref, plen, newgate, newifindex, newmetric);
97 kernel_route(int operation, const unsigned char *pref, unsigned short plen, const unsigned char *gate, int ifindex, unsigned int metric, const unsigned char *newgate, int newifindex, unsigned int newmetric) argument
H A Droute.c473 int newmetric = MIN(refmetric + cost + add, INFINITY); local
476 new = metric_to_kernel(newmetric);
888 unsigned newmetric, diff; local
895 newmetric = route_metric(route);
897 newmetric >= oldmetric ? newmetric - oldmetric : oldmetric - newmetric;
899 if(route->src != oldsrc || (oldmetric < INFINITY && newmetric >= INFINITY))
903 else if(newmetric > oldmetric && oldmetric < 6 * 256 && diff >= 512)
910 else if(oldmetric >= INFINITY && newmetric < INFINIT
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/quagga/isisd/
H A Disisd.h109 char newmetric; member in struct:isis_area
H A Disis_lsp.c489 if (area->newmetric)
1257 if (area->newmetric)
1324 if (area->newmetric)
1412 if (area->newmetric)
1456 if (area->newmetric)
1836 if (circuit->area->newmetric)
1869 if (circuit->area->newmetric)
2590 if (area->newmetric)
H A Disisd.c159 area->newmetric = 1;
2092 area->newmetric = 1;
2103 area->newmetric = 1;
2108 area->newmetric = 0;
2133 area->newmetric = 0;
2855 if (area->newmetric)
H A Disis_circuit.c873 if (circuit->area->newmetric)
906 if (circuit->area->newmetric)
1769 if (circuit->area && circuit->area->newmetric == 1 &&
1846 if (circuit->area && circuit->area->newmetric == 1 &&
1920 if (circuit->area && circuit->area->newmetric == 1 &&
H A Disis_spf.c629 if (spftree->area->newmetric == 1)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/quagga/isisd/
H A Disisd.h109 char newmetric; member in struct:isis_area
H A Disis_lsp.c489 if (area->newmetric)
1257 if (area->newmetric)
1324 if (area->newmetric)
1412 if (area->newmetric)
1456 if (area->newmetric)
1836 if (circuit->area->newmetric)
1869 if (circuit->area->newmetric)
2590 if (area->newmetric)
H A Disisd.c159 area->newmetric = 1;
2092 area->newmetric = 1;
2103 area->newmetric = 1;
2108 area->newmetric = 0;
2133 area->newmetric = 0;
2855 if (area->newmetric)
H A Disis_circuit.c873 if (circuit->area->newmetric)
906 if (circuit->area->newmetric)
1769 if (circuit->area && circuit->area->newmetric == 1 &&
1846 if (circuit->area && circuit->area->newmetric == 1 &&
1920 if (circuit->area && circuit->area->newmetric == 1 &&
H A Disis_spf.c629 if (spftree->area->newmetric == 1)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/quagga/isisd/
H A Disisd.h109 char newmetric; member in struct:isis_area
H A Disis_lsp.c489 if (area->newmetric)
1257 if (area->newmetric)
1324 if (area->newmetric)
1412 if (area->newmetric)
1456 if (area->newmetric)
1836 if (circuit->area->newmetric)
1869 if (circuit->area->newmetric)
2590 if (area->newmetric)
H A Disisd.c159 area->newmetric = 1;
2092 area->newmetric = 1;
2103 area->newmetric = 1;
2108 area->newmetric = 0;
2133 area->newmetric = 0;
2855 if (area->newmetric)
H A Disis_circuit.c873 if (circuit->area->newmetric)
906 if (circuit->area->newmetric)
1769 if (circuit->area && circuit->area->newmetric == 1 &&
1846 if (circuit->area && circuit->area->newmetric == 1 &&
1920 if (circuit->area && circuit->area->newmetric == 1 &&
H A Disis_spf.c629 if (spftree->area->newmetric == 1)

Completed in 267 milliseconds