Commit f2c3fe24 authored by Al Viro's avatar Al Viro Committed by David S. Miller

[IPV4]: annotate ipv4 addresses in struct rtable and struct flowi

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8c7bc840
...@@ -16,8 +16,8 @@ struct flowi { ...@@ -16,8 +16,8 @@ struct flowi {
union { union {
struct { struct {
__u32 daddr; __be32 daddr;
__u32 saddr; __be32 saddr;
__u32 fwmark; __u32 fwmark;
__u8 tos; __u8 tos;
__u8 scope; __u8 scope;
......
...@@ -62,18 +62,18 @@ struct rtable ...@@ -62,18 +62,18 @@ struct rtable
__u16 rt_type; __u16 rt_type;
__u16 rt_multipath_alg; __u16 rt_multipath_alg;
__u32 rt_dst; /* Path destination */ __be32 rt_dst; /* Path destination */
__u32 rt_src; /* Path source */ __be32 rt_src; /* Path source */
int rt_iif; int rt_iif;
/* Info on neighbour */ /* Info on neighbour */
__u32 rt_gateway; __be32 rt_gateway;
/* Cache lookup keys */ /* Cache lookup keys */
struct flowi fl; struct flowi fl;
/* Miscellaneous cached information */ /* 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 */ struct inet_peer *peer; /* long-living peer info */
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment