diff options
Diffstat (limited to 'include/net/sctp/structs.h')
-rw-r--r-- | include/net/sctp/structs.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h index 7f25195f9855..70eb64a7e1a1 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. |
@@ -1209,6 +1211,8 @@ int sctp_add_bind_addr(struct sctp_bind_addr *, union sctp_addr *, | |||
1209 | int sctp_del_bind_addr(struct sctp_bind_addr *, union sctp_addr *); | 1211 | int sctp_del_bind_addr(struct sctp_bind_addr *, union sctp_addr *); |
1210 | int sctp_bind_addr_match(struct sctp_bind_addr *, const union sctp_addr *, | 1212 | int sctp_bind_addr_match(struct sctp_bind_addr *, const union sctp_addr *, |
1211 | struct sctp_sock *); | 1213 | struct sctp_sock *); |
1214 | int sctp_bind_addr_conflict(struct sctp_bind_addr *, const union sctp_addr *, | ||
1215 | struct sctp_sock *, struct sctp_sock *); | ||
1212 | int sctp_bind_addr_state(const struct sctp_bind_addr *bp, | 1216 | int sctp_bind_addr_state(const struct sctp_bind_addr *bp, |
1213 | const union sctp_addr *addr); | 1217 | const union sctp_addr *addr); |
1214 | union sctp_addr *sctp_find_unmatch_addr(struct sctp_bind_addr *bp, | 1218 | union sctp_addr *sctp_find_unmatch_addr(struct sctp_bind_addr *bp, |
@@ -1553,6 +1557,7 @@ struct sctp_association { | |||
1553 | * : SACK's are not delayed (see Section 6). | 1557 | * : SACK's are not delayed (see Section 6). |
1554 | */ | 1558 | */ |
1555 | __u8 sack_needed; /* Do we need to sack the peer? */ | 1559 | __u8 sack_needed; /* Do we need to sack the peer? */ |
1560 | __u32 sack_cnt; | ||
1556 | 1561 | ||
1557 | /* These are capabilities which our peer advertised. */ | 1562 | /* These are capabilities which our peer advertised. */ |
1558 | __u8 ecn_capable; /* Can peer do ECN? */ | 1563 | __u8 ecn_capable; /* Can peer do ECN? */ |
@@ -1662,6 +1667,7 @@ struct sctp_association { | |||
1662 | 1667 | ||
1663 | /* SACK delay timeout */ | 1668 | /* SACK delay timeout */ |
1664 | unsigned long sackdelay; | 1669 | unsigned long sackdelay; |
1670 | __u32 sackfreq; | ||
1665 | 1671 | ||
1666 | 1672 | ||
1667 | unsigned long timeouts[SCTP_NUM_TIMEOUT_TYPES]; | 1673 | unsigned long timeouts[SCTP_NUM_TIMEOUT_TYPES]; |