patch-2.3.6 linux/include/net/route.h
Next file: linux/include/net/tcp.h
Previous file: linux/include/net/pkt_sched.h
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Wed Jun 9 14:45:36 1999
- Orig file:
v2.3.5/linux/include/net/route.h
- Orig date:
Mon May 31 22:28:07 1999
diff -u --recursive --new-file v2.3.5/linux/include/net/route.h linux/include/net/route.h
@@ -35,13 +35,6 @@
#define RT_HASH_DIVISOR 256
-/*
- * Prevents LRU trashing, entries considered equivalent,
- * if the difference between last use times is less then this number.
- */
-#define RT_CACHE_BUBBLE_THRESHOLD (5*HZ)
-
-
#define RTO_ONLINK 0x01
#define RTO_TPROXY 0x80000000
@@ -103,6 +96,7 @@
};
extern struct ip_rt_acct ip_rt_acct[256];
+extern rwlock_t ip_rt_acct_lock;
extern void ip_rt_init(void);
extern void ip_rt_redirect(u32 old_gw, u32 dst, u32 new_gw,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)