diff options
-rw-r--r-- | include/net/sctp/user.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/net/sctp/user.h b/include/net/sctp/user.h index e81ab52755fb..1c5f19f995ad 100644 --- a/include/net/sctp/user.h +++ b/include/net/sctp/user.h | |||
@@ -243,7 +243,7 @@ struct sctp_paddr_change { | |||
243 | int spc_state; | 243 | int spc_state; |
244 | int spc_error; | 244 | int spc_error; |
245 | sctp_assoc_t spc_assoc_id; | 245 | sctp_assoc_t spc_assoc_id; |
246 | }; | 246 | } __attribute__((packed, aligned(4))); |
247 | 247 | ||
248 | /* | 248 | /* |
249 | * spc_state: 32 bits (signed integer) | 249 | * spc_state: 32 bits (signed integer) |
@@ -468,7 +468,7 @@ struct sctp_assocparams { | |||
468 | struct sctp_setpeerprim { | 468 | struct sctp_setpeerprim { |
469 | sctp_assoc_t sspp_assoc_id; | 469 | sctp_assoc_t sspp_assoc_id; |
470 | struct sockaddr_storage sspp_addr; | 470 | struct sockaddr_storage sspp_addr; |
471 | }; | 471 | } __attribute__((packed, aligned(4))); |
472 | 472 | ||
473 | /* | 473 | /* |
474 | * 7.1.10 Set Primary Address (SCTP_PRIMARY_ADDR) | 474 | * 7.1.10 Set Primary Address (SCTP_PRIMARY_ADDR) |
@@ -481,7 +481,7 @@ struct sctp_setpeerprim { | |||
481 | struct sctp_prim { | 481 | struct sctp_prim { |
482 | sctp_assoc_t ssp_assoc_id; | 482 | sctp_assoc_t ssp_assoc_id; |
483 | struct sockaddr_storage ssp_addr; | 483 | struct sockaddr_storage ssp_addr; |
484 | }; | 484 | } __attribute__((packed, aligned(4))); |
485 | 485 | ||
486 | /* | 486 | /* |
487 | * 7.1.11 Set Adaption Layer Indicator (SCTP_ADAPTION_LAYER) | 487 | * 7.1.11 Set Adaption Layer Indicator (SCTP_ADAPTION_LAYER) |
@@ -508,7 +508,7 @@ struct sctp_paddrparams { | |||
508 | struct sockaddr_storage spp_address; | 508 | struct sockaddr_storage spp_address; |
509 | __u32 spp_hbinterval; | 509 | __u32 spp_hbinterval; |
510 | __u16 spp_pathmaxrxt; | 510 | __u16 spp_pathmaxrxt; |
511 | }; | 511 | } __attribute__((packed, aligned(4))); |
512 | 512 | ||
513 | /* | 513 | /* |
514 | * 7.2.2 Peer Address Information | 514 | * 7.2.2 Peer Address Information |
@@ -527,7 +527,7 @@ struct sctp_paddrinfo { | |||
527 | __u32 spinfo_srtt; | 527 | __u32 spinfo_srtt; |
528 | __u32 spinfo_rto; | 528 | __u32 spinfo_rto; |
529 | __u32 spinfo_mtu; | 529 | __u32 spinfo_mtu; |
530 | }; | 530 | } __attribute__((packed, aligned(4))); |
531 | 531 | ||
532 | /* Peer addresses's state. */ | 532 | /* Peer addresses's state. */ |
533 | enum sctp_spinfo_state { | 533 | enum sctp_spinfo_state { |