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

[AF_KEY]: annotate

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d5a0a1e3
...@@ -32,7 +32,7 @@ struct sadb_ext { ...@@ -32,7 +32,7 @@ struct sadb_ext {
struct sadb_sa { struct sadb_sa {
uint16_t sadb_sa_len; uint16_t sadb_sa_len;
uint16_t sadb_sa_exttype; uint16_t sadb_sa_exttype;
uint32_t sadb_sa_spi; __be32 sadb_sa_spi;
uint8_t sadb_sa_replay; uint8_t sadb_sa_replay;
uint8_t sadb_sa_state; uint8_t sadb_sa_state;
uint8_t sadb_sa_auth; uint8_t sadb_sa_auth;
...@@ -211,7 +211,7 @@ struct sadb_x_nat_t_type { ...@@ -211,7 +211,7 @@ struct sadb_x_nat_t_type {
struct sadb_x_nat_t_port { struct sadb_x_nat_t_port {
uint16_t sadb_x_nat_t_port_len; uint16_t sadb_x_nat_t_port_len;
uint16_t sadb_x_nat_t_port_exttype; 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; uint16_t sadb_x_nat_t_port_reserved;
} __attribute__((packed)); } __attribute__((packed));
/* sizeof(struct sadb_x_nat_t_port) == 8 */ /* sizeof(struct sadb_x_nat_t_port) == 8 */
......
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