From: Al Viro Date: Wed, 8 Nov 2006 08:23:42 +0000 (-0800) Subject: [AF_KEY]: annotate X-Git-Tag: firefly_0821_release~30985^2~47^2~552 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d29ef86b0a497dd2c4f9601644a15392f7e21f73;p=firefly-linux-kernel-4.4.55.git [AF_KEY]: annotate Signed-off-by: Al Viro Signed-off-by: David S. Miller --- diff --git a/include/linux/pfkeyv2.h b/include/linux/pfkeyv2.h index d5dd471da225..0f0b880c4280 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 */