Searched refs:fib_metrics (Results 1 – 7 of 7) sorted by relevance
/linux-2.6.39/include/net/ |
D | ip_fib.h | 83 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]
|
D | dn_fib.h | 52 __u32 fib_metrics[RTAX_MAX]; member
|
/linux-2.6.39/net/ipv4/ |
D | fib_semantics.c | 151 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()
|
D | route.c | 1786 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/ |
D | dn_fib.c | 140 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()
|
D | dn_table.c | 317 if (rtnetlink_put_metrics(skb, fi->fib_metrics) < 0) in dn_fib_dump_info()
|
D | dn_route.c | 832 dst_init_metrics(&rt->dst, fi->fib_metrics, true); in dn_rt_set_next_hop()
|