diff options
author | Patrick McHardy <kaber@trash.net> | 2006-08-11 02:08:33 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-22 17:54:24 -0400 |
commit | 2dfe55b47e3d66ded5a84caf71e0da5710edf48b (patch) | |
tree | f3818a7016985f79856212d797921e319bff8cd2 /include/net/dn_fib.h | |
parent | d924424aaed116b362c6d0e667d912b77e655085 (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.h | 4 |
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 | ||
96 | struct dn_fib_table { | 96 | struct 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 | */ |
140 | extern struct dn_fib_table *dn_fib_get_table(int n, int creat); | 140 | extern struct dn_fib_table *dn_fib_get_table(u32 n, int creat); |
141 | extern struct dn_fib_table *dn_fib_empty_table(void); | 141 | extern struct dn_fib_table *dn_fib_empty_table(void); |
142 | extern void dn_fib_table_init(void); | 142 | extern void dn_fib_table_init(void); |
143 | extern void dn_fib_table_cleanup(void); | 143 | extern void dn_fib_table_cleanup(void); |