[IPV4]: annotate addresses in fib_result and fib_result_nl
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Родитель
182777700d
Коммит
80e856e16a
|
@ -107,8 +107,8 @@ struct fib_result {
|
||||||
unsigned char type;
|
unsigned char type;
|
||||||
unsigned char scope;
|
unsigned char scope;
|
||||||
#ifdef CONFIG_IP_ROUTE_MULTIPATH_CACHED
|
#ifdef CONFIG_IP_ROUTE_MULTIPATH_CACHED
|
||||||
__u32 network;
|
__be32 network;
|
||||||
__u32 netmask;
|
__be32 netmask;
|
||||||
#endif
|
#endif
|
||||||
struct fib_info *fi;
|
struct fib_info *fi;
|
||||||
#ifdef CONFIG_IP_MULTIPLE_TABLES
|
#ifdef CONFIG_IP_MULTIPLE_TABLES
|
||||||
|
@ -117,7 +117,7 @@ struct fib_result {
|
||||||
};
|
};
|
||||||
|
|
||||||
struct fib_result_nl {
|
struct fib_result_nl {
|
||||||
u32 fl_addr; /* To be looked up*/
|
__be32 fl_addr; /* To be looked up*/
|
||||||
u32 fl_fwmark;
|
u32 fl_fwmark;
|
||||||
unsigned char fl_tos;
|
unsigned char fl_tos;
|
||||||
unsigned char fl_scope;
|
unsigned char fl_scope;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче