summaryrefslogtreecommitdiffstats
path: root/include/linux/pfkeyv2.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-11-08 00:23:42 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-02 21:21:18 -0800
commitd29ef86b0a497dd2c4f9601644a15392f7e21f73 (patch)
treec4ac184e3d7366f6f8da5e83b3461b92bc45b589 /include/linux/pfkeyv2.h
parentd5a0a1e3109339090769e40fdaa62482fcf2a717 (diff)
downloadop-kernel-dev-d29ef86b0a497dd2c4f9601644a15392f7e21f73.zip
op-kernel-dev-d29ef86b0a497dd2c4f9601644a15392f7e21f73.tar.gz
[AF_KEY]: annotate
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/pfkeyv2.h')
-rw-r--r--include/linux/pfkeyv2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/pfkeyv2.h b/include/linux/pfkeyv2.h
index d5dd471..0f0b880 100644
--- a/include/linux/pfkeyv2.h
+++ b/include/linux/pfkeyv2.h
@@ -32,7 +32,7 @@ struct sadb_ext {
struct sadb_sa {
uint16_t sadb_sa_len;
uint16_t sadb_sa_exttype;
- uint32_t sadb_sa_spi;
+ __be32 sadb_sa_spi;
uint8_t sadb_sa_replay;
uint8_t sadb_sa_state;
uint8_t sadb_sa_auth;
@@ -211,7 +211,7 @@ struct sadb_x_nat_t_type {
struct sadb_x_nat_t_port {
uint16_t sadb_x_nat_t_port_len;
uint16_t sadb_x_nat_t_port_exttype;
- uint16_t sadb_x_nat_t_port_port;
+ __be16 sadb_x_nat_t_port_port;
uint16_t sadb_x_nat_t_port_reserved;
} __attribute__((packed));
/* sizeof(struct sadb_x_nat_t_port) == 8 */
OpenPOWER on IntegriCloud