route.c (3769cffb1c48f64640ffab7ce3bffe867342c0f0) route.c (f6b72b6217f8c24f2a54988e58af858b4e66024d)
1/*
2 * INET An implementation of the TCP/IP protocol suite for the LINUX
3 * operating system. INET is implemented using the BSD Socket
4 * interface as the means of communication with the user level.
5 *
6 * ROUTE - implementation of the IP router.
7 *
8 * Authors: Ross Biro

--- 412 unchanged lines hidden (view full) ---

421 (__force u32)r->rt_gateway,
422 r->rt_flags, atomic_read(&r->dst.__refcnt),
423 r->dst.__use, 0, (__force u32)r->rt_src,
424 dst_metric_advmss(&r->dst) + 40,
425 dst_metric(&r->dst, RTAX_WINDOW),
426 (int)((dst_metric(&r->dst, RTAX_RTT) >> 3) +
427 dst_metric(&r->dst, RTAX_RTTVAR)),
428 r->rt_key_tos,
1/*
2 * INET An implementation of the TCP/IP protocol suite for the LINUX
3 * operating system. INET is implemented using the BSD Socket
4 * interface as the means of communication with the user level.
5 *
6 * ROUTE - implementation of the IP router.
7 *
8 * Authors: Ross Biro

--- 412 unchanged lines hidden (view full) ---

421 (__force u32)r->rt_gateway,
422 r->rt_flags, atomic_read(&r->dst.__refcnt),
423 r->dst.__use, 0, (__force u32)r->rt_src,
424 dst_metric_advmss(&r->dst) + 40,
425 dst_metric(&r->dst, RTAX_WINDOW),
426 (int)((dst_metric(&r->dst, RTAX_RTT) >> 3) +
427 dst_metric(&r->dst, RTAX_RTTVAR)),
428 r->rt_key_tos,
429 r->dst.hh ? atomic_read(&r->dst.hh->hh_refcnt) : -1,
430 r->dst.hh ? (r->dst.hh->hh_output ==
431 dev_queue_xmit) : 0,
429 -1,
430 (r->dst.neighbour ?
431 (r->dst.neighbour->hh.hh_output ==
432 dev_queue_xmit) : 0),
432 r->rt_spec_dst, &len);
433
434 seq_printf(seq, "%*s\n", 127 - len, "");
435 }
436 return 0;
437}
438
439static const struct seq_operations rt_cache_seq_ops = {

--- 2909 unchanged lines hidden ---
433 r->rt_spec_dst, &len);
434
435 seq_printf(seq, "%*s\n", 127 - len, "");
436 }
437 return 0;
438}
439
440static const struct seq_operations rt_cache_seq_ops = {

--- 2909 unchanged lines hidden ---