tag | line | file | source code |
metric | 1312 | drivers/net/arcnet.c | if (dev->metric>=1000) |
metric | 1314 | drivers/net/arcnet.c | arcnet_debug=dev->metric-1000; |
metric | 1316 | drivers/net/arcnet.c | dev->metric=1; |
metric | 1170 | drivers/net/strip.c | dev->metric = 0; |
metric | 133 | include/linux/netdevice.h | unsigned short metric; /* routing metric (not used) */ |
metric | 1153 | net/core/dev.c | ifr.ifr_metric = dev->metric; |
metric | 1157 | net/core/dev.c | dev->metric = ifr.ifr_metric; |
metric | 281 | net/core/net_alias.c | dev->metric = main_dev->metric; |
metric | 1031 | net/ipv4/ip_output.c | void ip_netlink_msg(unsigned long msg, __u32 daddr, __u32 gw, __u32 mask, short flags, short metric, char *name) |
metric | 1051 | net/ipv4/ip_output.c | nrt->rtmsg_metric=metric; |
metric | 375 | net/ipv4/route.c | struct device * dev, __u32 gtw, short flags, short metric, __u32 mask) |
metric | 391 | net/ipv4/route.c | (metric >= 0 && f->fib_metric != metric) || |
metric | 402 | net/ipv4/route.c | ip_netlink_msg(RTMSG_DELROUTE, dst, gtw, mask, flags, metric, fi->fib_dev->name); |
metric | 410 | net/ipv4/route.c | struct device * dev, __u32 gtw, short flags, short metric) |
metric | 426 | net/ipv4/route.c | tmp = fib_del_list(fp, dst, dev, gtw, flags, metric, mask); |
metric | 440 | net/ipv4/route.c | found = fib_del_list(fp, dst, dev, gtw, flags, metric, mask); |
metric | 521 | net/ipv4/route.c | unsigned long window, unsigned short irtt, short metric) |
metric | 584 | net/ipv4/route.c | f->fib_metric = metric; |
metric | 680 | net/ipv4/route.c | if (f1->fib_metric >= metric) |
metric | 696 | net/ipv4/route.c | if (f1 && f1->fib_metric == metric && f1->fib_info == fi) |
metric | 713 | net/ipv4/route.c | ip_netlink_msg(RTMSG_NEWROUTE, dst, gw, mask, flags, metric, fi->fib_dev->name); |
metric | 733 | net/ipv4/route.c | ip_netlink_msg(RTMSG_DELROUTE, dst, gw, mask, flags, metric, f1->fib_info->fib_dev->name); |
metric | 1288 | net/ipv4/route.c | struct device * dev, __u32 gtw, short rt_flags, short metric) |
metric | 1295 | net/ipv4/route.c | retval = fib_del_1(dst, mask, dev, gtw, rt_flags, metric); |
metric | 1303 | net/ipv4/route.c | unsigned long window, unsigned short irtt, short metric) |
metric | 1308 | net/ipv4/route.c | fib_add_1(flags, dst, mask, gw, dev, mss, window, irtt, metric); |
metric | 1619 | net/ipv4/route.c | short metric; |
metric | 1652 | net/ipv4/route.c | metric = r->rt_metric > 0 ? r->rt_metric - 1 : 0; |
metric | 1715 | net/ipv4/route.c | rt_add(flags, daddr, mask, gw, dev, r->rt_mss, r->rt_window, r->rt_irtt, metric); |