Skip to content

Commit

Permalink
[IPV4]: annotate ipv4 addresses in struct rtable and struct flowi
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Al Viro authored and David S. Miller committed Sep 29, 2006
1 parent 8c7bc84 commit f2c3fe2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions include/net/flow.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ struct flowi {

union {
struct {
__u32 daddr;
__u32 saddr;
__be32 daddr;
__be32 saddr;
__u32 fwmark;
__u8 tos;
__u8 scope;
Expand Down
8 changes: 4 additions & 4 deletions include/net/route.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
};

Expand Down

0 comments on commit f2c3fe2

Please sign in to comment.