summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-09-27 06:26:42 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-29 02:54:05 +0200
commitf2c3fe24119ee4f8faca08699f0488f500014a27 (patch)
tree7f1d1e4a80f3b9f345a5339bc7370ad187132a55 /include
parent[IPV4]: annotate rt_hash_code() users (diff)
downloadlinux-f2c3fe24119ee4f8faca08699f0488f500014a27.tar.xz
linux-f2c3fe24119ee4f8faca08699f0488f500014a27.zip
[IPV4]: annotate ipv4 addresses in struct rtable and struct flowi
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/flow.h4
-rw-r--r--include/net/route.h8
2 files changed, 6 insertions, 6 deletions
diff --git a/include/net/flow.h b/include/net/flow.h
index 3ca210ec1379..97569af9bda7 100644
--- a/include/net/flow.h
+++ b/include/net/flow.h
@@ -16,8 +16,8 @@ struct flowi {
union {
struct {
- __u32 daddr;
- __u32 saddr;
+ __be32 daddr;
+ __be32 saddr;
__u32 fwmark;
__u8 tos;
__u8 scope;
diff --git a/include/net/route.h b/include/net/route.h
index 64a18811526d..5bb2b15b4391 100644
--- a/include/net/route.h
+++ b/include/net/route.h
@@ -62,18 +62,18 @@ struct rtable
__u16 rt_type;
__u16 rt_multipath_alg;
- __u32 rt_dst; /* Path destination */
- __u32 rt_src; /* Path source */
+ __be32 rt_dst; /* Path destination */
+ __be32 rt_src; /* Path source */
int rt_iif;
/* Info on neighbour */
- __u32 rt_gateway;
+ __be32 rt_gateway;
/* Cache lookup keys */
struct flowi fl;
/* Miscellaneous cached information */
- __u32 rt_spec_dst; /* RFC1122 specific destination */
+ __be32 rt_spec_dst; /* RFC1122 specific destination */
struct inet_peer *peer; /* long-living peer info */
};