diff options
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/flow.h | 4 | ||||
-rw-r--r-- | include/net/route.h | 8 |
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 { | |||
16 | 16 | ||
17 | union { | 17 | union { |
18 | struct { | 18 | struct { |
19 | __u32 daddr; | 19 | __be32 daddr; |
20 | __u32 saddr; | 20 | __be32 saddr; |
21 | __u32 fwmark; | 21 | __u32 fwmark; |
22 | __u8 tos; | 22 | __u8 tos; |
23 | __u8 scope; | 23 | __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 | |||
62 | __u16 rt_type; | 62 | __u16 rt_type; |
63 | __u16 rt_multipath_alg; | 63 | __u16 rt_multipath_alg; |
64 | 64 | ||
65 | __u32 rt_dst; /* Path destination */ | 65 | __be32 rt_dst; /* Path destination */ |
66 | __u32 rt_src; /* Path source */ | 66 | __be32 rt_src; /* Path source */ |
67 | int rt_iif; | 67 | int rt_iif; |
68 | 68 | ||
69 | /* Info on neighbour */ | 69 | /* Info on neighbour */ |
70 | __u32 rt_gateway; | 70 | __be32 rt_gateway; |
71 | 71 | ||
72 | /* Cache lookup keys */ | 72 | /* Cache lookup keys */ |
73 | struct flowi fl; | 73 | struct flowi fl; |
74 | 74 | ||
75 | /* Miscellaneous cached information */ | 75 | /* Miscellaneous cached information */ |
76 | __u32 rt_spec_dst; /* RFC1122 specific destination */ | 76 | __be32 rt_spec_dst; /* RFC1122 specific destination */ |
77 | struct inet_peer *peer; /* long-living peer info */ | 77 | struct inet_peer *peer; /* long-living peer info */ |
78 | }; | 78 | }; |
79 | 79 | ||