aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/dn_fib.h
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2006-08-11 02:08:33 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-22 17:54:24 -0400
commit2dfe55b47e3d66ded5a84caf71e0da5710edf48b (patch)
treef3818a7016985f79856212d797921e319bff8cd2 /include/net/dn_fib.h
parentd924424aaed116b362c6d0e667d912b77e655085 (diff)
[NET]: Use u32 for routing table IDs
Use u32 for routing table IDs in net/ipv4 and net/decnet in preparation of support for a larger number of routing tables. net/ipv6 already uses u32 everywhere and needs no further changes. No functional changes are made by this patch. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/dn_fib.h')
-rw-r--r--include/net/dn_fib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/dn_fib.h b/include/net/dn_fib.h
index 32bc8ce5c5ce..cd9c3782f838 100644
--- a/include/net/dn_fib.h
+++ b/include/net/dn_fib.h
@@ -94,7 +94,7 @@ struct dn_fib_node {
94 94
95 95
96struct dn_fib_table { 96struct dn_fib_table {
97 int n; 97 u32 n;
98 98
99 int (*insert)(struct dn_fib_table *t, struct rtmsg *r, 99 int (*insert)(struct dn_fib_table *t, struct rtmsg *r,
100 struct dn_kern_rta *rta, struct nlmsghdr *n, 100 struct dn_kern_rta *rta, struct nlmsghdr *n,
@@ -137,7 +137,7 @@ extern int dn_fib_sync_up(struct net_device *dev);
137/* 137/*
138 * dn_tables.c 138 * dn_tables.c
139 */ 139 */
140extern struct dn_fib_table *dn_fib_get_table(int n, int creat); 140extern struct dn_fib_table *dn_fib_get_table(u32 n, int creat);
141extern struct dn_fib_table *dn_fib_empty_table(void); 141extern struct dn_fib_table *dn_fib_empty_table(void);
142extern void dn_fib_table_init(void); 142extern void dn_fib_table_init(void);
143extern void dn_fib_table_cleanup(void); 143extern void dn_fib_table_cleanup(void);