diff options
Diffstat (limited to 'include/net/sctp/structs.h')
-rw-r--r-- | include/net/sctp/structs.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h index 495c87e367b3..eea9bdeecba2 100644 --- a/include/net/sctp/structs.h +++ b/include/net/sctp/structs.h | |||
@@ -775,10 +775,10 @@ struct sctp_transport { | |||
775 | hb_sent:1, | 775 | hb_sent:1, |
776 | 776 | ||
777 | /* Is the Path MTU update pending on this tranport */ | 777 | /* Is the Path MTU update pending on this tranport */ |
778 | pmtu_pending:1; | 778 | pmtu_pending:1, |
779 | 779 | ||
780 | /* Has this transport moved the ctsn since we last sacked */ | 780 | /* Has this transport moved the ctsn since we last sacked */ |
781 | __u32 sack_generation; | 781 | sack_generation:1; |
782 | u32 dst_cookie; | 782 | u32 dst_cookie; |
783 | 783 | ||
784 | struct flowi fl; | 784 | struct flowi fl; |
@@ -1482,19 +1482,20 @@ struct sctp_association { | |||
1482 | prsctp_capable:1, /* Can peer do PR-SCTP? */ | 1482 | prsctp_capable:1, /* Can peer do PR-SCTP? */ |
1483 | auth_capable:1; /* Is peer doing SCTP-AUTH? */ | 1483 | auth_capable:1; /* Is peer doing SCTP-AUTH? */ |
1484 | 1484 | ||
1485 | /* Ack State : This flag indicates if the next received | 1485 | /* sack_needed : This flag indicates if the next received |
1486 | * : packet is to be responded to with a | 1486 | * : packet is to be responded to with a |
1487 | * : SACK. This is initializedto 0. When a packet | 1487 | * : SACK. This is initialized to 0. When a packet |
1488 | * : is received it is incremented. If this value | 1488 | * : is received sack_cnt is incremented. If this value |
1489 | * : reaches 2 or more, a SACK is sent and the | 1489 | * : reaches 2 or more, a SACK is sent and the |
1490 | * : value is reset to 0. Note: This is used only | 1490 | * : value is reset to 0. Note: This is used only |
1491 | * : when no DATA chunks are received out of | 1491 | * : when no DATA chunks are received out of |
1492 | * : order. When DATA chunks are out of order, | 1492 | * : order. When DATA chunks are out of order, |
1493 | * : SACK's are not delayed (see Section 6). | 1493 | * : SACK's are not delayed (see Section 6). |
1494 | */ | 1494 | */ |
1495 | __u8 sack_needed; /* Do we need to sack the peer? */ | 1495 | __u8 sack_needed:1, /* Do we need to sack the peer? */ |
1496 | sack_generation:1, | ||
1497 | zero_window_announced:1; | ||
1496 | __u32 sack_cnt; | 1498 | __u32 sack_cnt; |
1497 | __u32 sack_generation; | ||
1498 | 1499 | ||
1499 | __u32 adaptation_ind; /* Adaptation Code point. */ | 1500 | __u32 adaptation_ind; /* Adaptation Code point. */ |
1500 | 1501 | ||