diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-09-27 18:44:30 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-28 18:02:29 -0700 |
commit | 9f8552996d969f56039ec88128cf5ad35b12f141 (patch) | |
tree | a17cf32c4e661e0fd2a674534f41e35d827debb8 /include | |
parent | 82103232edc4b4ed48949a195aca93cfa3fe3fa8 (diff) | |
download | kernel_samsung_crespo-9f8552996d969f56039ec88128cf5ad35b12f141.zip kernel_samsung_crespo-9f8552996d969f56039ec88128cf5ad35b12f141.tar.gz kernel_samsung_crespo-9f8552996d969f56039ec88128cf5ad35b12f141.tar.bz2 |
[IPV4]: inet_diag annotations
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/linux/inet_diag.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/inet_diag.h b/include/linux/inet_diag.h index a4606e5..6e8bc54 100644 --- a/include/linux/inet_diag.h +++ b/include/linux/inet_diag.h @@ -9,10 +9,10 @@ /* Socket identity */ struct inet_diag_sockid { - __u16 idiag_sport; - __u16 idiag_dport; - __u32 idiag_src[4]; - __u32 idiag_dst[4]; + __be16 idiag_sport; + __be16 idiag_dport; + __be32 idiag_src[4]; + __be32 idiag_dst[4]; __u32 idiag_if; __u32 idiag_cookie[2]; #define INET_DIAG_NOCOOKIE (~0U) @@ -67,7 +67,7 @@ struct inet_diag_hostcond { __u8 family; __u8 prefix_len; int port; - __u32 addr[0]; + __be32 addr[0]; }; /* Base info structure. It contains socket identity (addrs/ports/cookie) |