summaryrefslogtreecommitdiffstats
path: root/include/linux/sctp.h
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2017-07-22 21:34:32 -0400
committerDavid S. Miller <davem@davemloft.net>2017-07-24 19:01:20 -0400
commit787310859d8d1a72545db2343fb3ac8f765b0f35 (patch)
tree6f42ca2122e294f6979934f66c1315d61380d743 /include/linux/sctp.h
parentafd93b7be6e24731d82d9fd84b8a5ea73a68214b (diff)
sctp: remove the typedef sctp_sackhdr_t
This patch is to remove the typedef sctp_sackhdr_t, and replace with struct sctp_sackhdr in the places where it's using this typedef. Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/sctp.h')
-rw-r--r--include/linux/sctp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/sctp.h b/include/linux/sctp.h
index 8df6ac53f05b..a2e43129d11a 100644
--- a/include/linux/sctp.h
+++ b/include/linux/sctp.h
@@ -373,17 +373,17 @@ union sctp_sack_variable {
373 __be32 dup; 373 __be32 dup;
374}; 374};
375 375
376typedef struct sctp_sackhdr { 376struct sctp_sackhdr {
377 __be32 cum_tsn_ack; 377 __be32 cum_tsn_ack;
378 __be32 a_rwnd; 378 __be32 a_rwnd;
379 __be16 num_gap_ack_blocks; 379 __be16 num_gap_ack_blocks;
380 __be16 num_dup_tsns; 380 __be16 num_dup_tsns;
381 union sctp_sack_variable variable[0]; 381 union sctp_sack_variable variable[0];
382} sctp_sackhdr_t; 382};
383 383
384typedef struct sctp_sack_chunk { 384typedef struct sctp_sack_chunk {
385 struct sctp_chunkhdr chunk_hdr; 385 struct sctp_chunkhdr chunk_hdr;
386 sctp_sackhdr_t sack_hdr; 386 struct sctp_sackhdr sack_hdr;
387} sctp_sack_chunk_t; 387} sctp_sack_chunk_t;
388 388
389 389