Home
last modified time | relevance | path

Searched refs:fib_metrics (Results 1 – 7 of 7) sorted by relevance

/linux-2.6.39/include/net/
Dip_fib.h83 u32 *fib_metrics; member
84 #define fib_mtu fib_metrics[RTAX_MTU-1]
85 #define fib_window fib_metrics[RTAX_WINDOW-1]
86 #define fib_rtt fib_metrics[RTAX_RTT-1]
87 #define fib_advmss fib_metrics[RTAX_ADVMSS-1]
Ddn_fib.h52 __u32 fib_metrics[RTAX_MAX]; member
/linux-2.6.39/net/ipv4/
Dfib_semantics.c151 if (fi->fib_metrics != (u32 *) dst_default_metrics) in free_fib_info_rcu()
152 kfree(fi->fib_metrics); in free_fib_info_rcu()
254 memcmp(nfi->fib_metrics, fi->fib_metrics, in fib_find_info()
758 fi->fib_metrics = kzalloc(sizeof(u32) * RTAX_MAX, GFP_KERNEL); in fib_create_info()
759 if (!fi->fib_metrics) in fib_create_info()
762 fi->fib_metrics = (u32 *) dst_default_metrics; in fib_create_info()
787 fi->fib_metrics[type - 1] = nla_get_u32(nla); in fib_create_info()
949 if (rtnetlink_put_metrics(skb, fi->fib_metrics) < 0) in fib_dump_info()
Droute.c1786 memcpy(peer->metrics, fi->fib_metrics, in rt_init_metrics()
1798 if (fi->fib_metrics != (u32 *) dst_default_metrics) { in rt_init_metrics()
1802 dst_init_metrics(&rt->dst, fi->fib_metrics, true); in rt_init_metrics()
/linux-2.6.39/net/decnet/
Ddn_fib.c140 memcmp(nfi->fib_metrics, fi->fib_metrics, sizeof(fi->fib_metrics)) == 0 && in dn_fib_find_info()
309 fi->fib_metrics[flavour-1] = *(unsigned*)RTA_DATA(attr); in dn_fib_create_info()
Ddn_table.c317 if (rtnetlink_put_metrics(skb, fi->fib_metrics) < 0) in dn_fib_dump_info()
Ddn_route.c832 dst_init_metrics(&rt->dst, fi->fib_metrics, true); in dn_rt_set_next_hop()