diff options
| author | Linus Torvalds <torvalds@athlon.transmeta.com> | 2002-02-04 19:12:19 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@athlon.transmeta.com> | 2002-02-04 19:12:19 -0800 |
| commit | 7b4d3039dfd2cbfa15127c29dcb557f314d13db1 (patch) | |
| tree | 31d8a48158c92b967fd4acec936cb19ee847f531 /include/net | |
| parent | fff10634980710b1edd0c849b8478d3f5ec5ee95 (diff) | |
v2.4.6.8 -> v2.4.6.9
- Dan Quinlan: cramfs update
- Ben Collins: IEEE 1394 update
- David Miller: network update (pppoe, routing cache stats), sparc32 update
- me: only dump core once per threaded app (first one wins)
- me: use new completion handlers for block device requests (same race
as with vfork, see -pre7)
Diffstat (limited to 'include/net')
| -rw-r--r-- | include/net/route.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/net/route.h b/include/net/route.h index f6ce0400874d..2f942d7b782b 100644 --- a/include/net/route.h +++ b/include/net/route.h @@ -14,6 +14,7 @@ * Alan Cox : Support for TCP parameters. * Alexey Kuznetsov: Major changes for new routing code. * Mike McLagan : Routing by source + * Robert Olsson : Added rt_cache statistics * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -92,6 +93,20 @@ struct ip_rt_acct __u32 i_packets; }; +struct rt_cache_stat +{ + unsigned int in_hit; + unsigned int in_slow_tot; + unsigned int in_slow_mc; + unsigned int in_no_route; + unsigned int in_brd; + unsigned int in_martian_dst; + unsigned int in_martian_src; + unsigned int out_hit; + unsigned int out_slow_tot; + unsigned int out_slow_mc; +}; + extern struct ip_rt_acct *ip_rt_acct; struct in_device; |
