diff options
Diffstat (limited to 'include/net/sctp/structs.h')
-rw-r--r-- | include/net/sctp/structs.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h index 7f25195f9855..82116e84ee34 100644 --- a/include/net/sctp/structs.h +++ b/include/net/sctp/structs.h | |||
@@ -300,6 +300,7 @@ struct sctp_sock { | |||
300 | 300 | ||
301 | /* The default SACK delay timeout for new associations. */ | 301 | /* The default SACK delay timeout for new associations. */ |
302 | __u32 sackdelay; | 302 | __u32 sackdelay; |
303 | __u32 sackfreq; | ||
303 | 304 | ||
304 | /* Flags controlling Heartbeat, SACK delay, and Path MTU Discovery. */ | 305 | /* Flags controlling Heartbeat, SACK delay, and Path MTU Discovery. */ |
305 | __u32 param_flags; | 306 | __u32 param_flags; |
@@ -826,7 +827,7 @@ struct sctp_packet *sctp_packet_init(struct sctp_packet *, | |||
826 | __u16 sport, __u16 dport); | 827 | __u16 sport, __u16 dport); |
827 | struct sctp_packet *sctp_packet_config(struct sctp_packet *, __u32 vtag, int); | 828 | struct sctp_packet *sctp_packet_config(struct sctp_packet *, __u32 vtag, int); |
828 | sctp_xmit_t sctp_packet_transmit_chunk(struct sctp_packet *, | 829 | sctp_xmit_t sctp_packet_transmit_chunk(struct sctp_packet *, |
829 | struct sctp_chunk *); | 830 | struct sctp_chunk *, int); |
830 | sctp_xmit_t sctp_packet_append_chunk(struct sctp_packet *, | 831 | sctp_xmit_t sctp_packet_append_chunk(struct sctp_packet *, |
831 | struct sctp_chunk *); | 832 | struct sctp_chunk *); |
832 | int sctp_packet_transmit(struct sctp_packet *); | 833 | int sctp_packet_transmit(struct sctp_packet *); |
@@ -946,6 +947,7 @@ struct sctp_transport { | |||
946 | 947 | ||
947 | /* SACK delay timeout */ | 948 | /* SACK delay timeout */ |
948 | unsigned long sackdelay; | 949 | unsigned long sackdelay; |
950 | __u32 sackfreq; | ||
949 | 951 | ||
950 | /* When was the last time (in jiffies) that we heard from this | 952 | /* When was the last time (in jiffies) that we heard from this |
951 | * transport? We use this to pick new active and retran paths. | 953 | * transport? We use this to pick new active and retran paths. |
@@ -1553,6 +1555,7 @@ struct sctp_association { | |||
1553 | * : SACK's are not delayed (see Section 6). | 1555 | * : SACK's are not delayed (see Section 6). |
1554 | */ | 1556 | */ |
1555 | __u8 sack_needed; /* Do we need to sack the peer? */ | 1557 | __u8 sack_needed; /* Do we need to sack the peer? */ |
1558 | __u32 sack_cnt; | ||
1556 | 1559 | ||
1557 | /* These are capabilities which our peer advertised. */ | 1560 | /* These are capabilities which our peer advertised. */ |
1558 | __u8 ecn_capable; /* Can peer do ECN? */ | 1561 | __u8 ecn_capable; /* Can peer do ECN? */ |
@@ -1662,6 +1665,7 @@ struct sctp_association { | |||
1662 | 1665 | ||
1663 | /* SACK delay timeout */ | 1666 | /* SACK delay timeout */ |
1664 | unsigned long sackdelay; | 1667 | unsigned long sackdelay; |
1668 | __u32 sackfreq; | ||
1665 | 1669 | ||
1666 | 1670 | ||
1667 | unsigned long timeouts[SCTP_NUM_TIMEOUT_TYPES]; | 1671 | unsigned long timeouts[SCTP_NUM_TIMEOUT_TYPES]; |