• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/net/sctp/

Lines Matching refs:tsn

59 static int sctp_acked(struct sctp_sackhdr *sack, __u32 tsn);
164 static inline int sctp_cacc_skip_3_2(struct sctp_transport *primary, __u32 tsn)
167 TSN_lt(tsn, primary->cacc.next_tsn_at_change))
189 __u32 tsn)
193 || sctp_cacc_skip_3_2(primary, tsn)))
367 ntsn = ntohl(nchunk->subh.data_hdr->tsn);
371 ltsn = ntohl(lchunk->subh.data_hdr->tsn);
900 ntohl(chunk->subh.data_hdr->tsn),
917 ntohl(chunk->subh.data_hdr->tsn),
1000 /* Return the highest new tsn that is acknowledged by the given SACK chunk. */
1007 __u32 highest_new_tsn, tsn;
1018 tsn = ntohl(chunk->subh.data_hdr->tsn);
1021 TSN_lt(highest_new_tsn, tsn) &&
1022 sctp_acked(sack, tsn))
1023 highest_new_tsn = tsn;
1042 __u32 sack_ctsn, ctsn, tsn;
1148 tsn = ntohl(tchunk->subh.data_hdr->tsn);
1149 if (TSN_lte(tsn, ctsn))
1227 __u32 tsn;
1272 tsn = ntohl(tchunk->subh.data_hdr->tsn);
1273 if (sctp_acked(sack, tsn)) {
1300 if (TSN_lte(tsn, sack_ctsn)) {
1364 if (dbg_last_ack_tsn + 1 == tsn) {
1380 SCTP_DEBUG_PRINTK(",%08x", tsn);
1381 dbg_ack_tsn = tsn;
1397 SCTP_DEBUG_PRINTK("ACKed: %08x", tsn);
1399 dbg_ack_tsn = tsn;
1402 dbg_last_ack_tsn = tsn;
1410 tsn);
1433 if (dbg_last_kept_tsn + 1 == tsn)
1440 SCTP_DEBUG_PRINTK(",%08x", tsn);
1441 dbg_kept_tsn = tsn;
1452 SCTP_DEBUG_PRINTK("KEPT: %08x",tsn);
1454 dbg_kept_tsn = tsn;
1457 dbg_last_kept_tsn = tsn;
1562 __u32 tsn;
1569 tsn = ntohl(chunk->subh.data_hdr->tsn);
1580 TSN_lt(tsn, highest_new_tsn_in_sack)) {
1586 count_of_newacks, tsn)) {
1591 __FUNCTION__, tsn,
1621 static int sctp_acked(struct sctp_sackhdr *sack, __u32 tsn)
1628 if (TSN_lte(tsn, ctsn))
1644 gap = tsn - ctsn;
1676 __u32 tsn;
1713 tsn = ntohl(chunk->subh.data_hdr->tsn);
1718 if (TSN_lte(tsn, ctsn)) {
1722 if (TSN_lte(tsn, asoc->adv_peer_ack_point+1)) {
1723 asoc->adv_peer_ack_point = tsn;