Searched refs:tsn (Results 1 – 12 of 12) sorted by relevance
/linux-2.4.37.9/net/sctp/ |
D | outqueue.c | 59 static int sctp_acked(struct sctp_sackhdr *sack, __u32 tsn); 169 static inline int sctp_cacc_skip_3_2(struct sctp_transport *primary, __u32 tsn) in sctp_cacc_skip_3_2() argument 172 TSN_lt(tsn, primary->cacc.next_tsn_at_change)) in sctp_cacc_skip_3_2() 194 __u32 tsn) in sctp_cacc_skip() argument 198 || sctp_cacc_skip_3_2(primary, tsn))) in sctp_cacc_skip() 370 ntsn = ntohl(nchunk->subh.data_hdr->tsn); in sctp_insert_list() 374 ltsn = ntohl(lchunk->subh.data_hdr->tsn); in sctp_insert_list() 882 ntohl(chunk->subh.data_hdr->tsn), in sctp_outq_flush() 899 ntohl(chunk->subh.data_hdr->tsn), in sctp_outq_flush() 989 __u32 highest_new_tsn, tsn; in sctp_highest_new_tsn() local [all …]
|
D | tsnmap.c | 83 int sctp_tsnmap_check(const struct sctp_tsnmap *map, __u32 tsn) in sctp_tsnmap_check() argument 89 gap = tsn - map->base_tsn; in sctp_tsnmap_check() 116 void sctp_tsnmap_mark(struct sctp_tsnmap *map, __u32 tsn) in sctp_tsnmap_mark() argument 123 if (TSN_lt(tsn, map->base_tsn)) in sctp_tsnmap_mark() 125 if (!TSN_lt(tsn, map->base_tsn + map->len + map->len)) in sctp_tsnmap_mark() 129 if (TSN_lt(map->max_tsn_seen, tsn)) in sctp_tsnmap_mark() 130 map->max_tsn_seen = tsn; in sctp_tsnmap_mark() 133 gap = tsn - map->base_tsn; in sctp_tsnmap_mark() 229 void sctp_tsnmap_skip(struct sctp_tsnmap *map, __u32 tsn) in sctp_tsnmap_skip() argument 236 if (TSN_lt(tsn, map->base_tsn)) in sctp_tsnmap_skip() [all …]
|
D | ulpqueue.c | 233 __u32 tsn, ctsn; in sctp_ulpq_store_reasm() local 235 tsn = event->tsn; in sctp_ulpq_store_reasm() 246 ctsn = cevent->tsn; in sctp_ulpq_store_reasm() 247 if (TSN_lt(ctsn, tsn)) { in sctp_ulpq_store_reasm() 255 ctsn = cevent->tsn; in sctp_ulpq_store_reasm() 257 if (TSN_lt(tsn, ctsn)) in sctp_ulpq_store_reasm() 375 ctsn = cevent->tsn; in sctp_ulpq_retrieve_reassembled() 432 ctsn = cevent->tsn; in sctp_ulpq_retrieve_partial() 493 ctsn = event->tsn; in sctp_ulpq_reasm() 524 ctsn = cevent->tsn; in sctp_ulpq_retrieve_first() [all …]
|
D | sm_statefuns.c | 3373 __u32 tsn; in sctp_sf_eat_fwd_tsn() local 3392 tsn = ntohl(fwdtsn_hdr->new_cum_tsn); in sctp_sf_eat_fwd_tsn() 3393 SCTP_DEBUG_PRINTK("%s: TSN 0x%x.\n", __FUNCTION__, tsn); in sctp_sf_eat_fwd_tsn() 3398 if (sctp_tsnmap_check(&asoc->peer.tsn_map, tsn) < 0) in sctp_sf_eat_fwd_tsn() 3407 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_FWDTSN, SCTP_U32(tsn)); in sctp_sf_eat_fwd_tsn() 3443 __u32 tsn; in sctp_sf_eat_fwd_tsn_fast() local 3462 tsn = ntohl(fwdtsn_hdr->new_cum_tsn); in sctp_sf_eat_fwd_tsn_fast() 3463 SCTP_DEBUG_PRINTK("%s: TSN 0x%x.\n", __FUNCTION__, tsn); in sctp_sf_eat_fwd_tsn_fast() 3468 if (sctp_tsnmap_check(&asoc->peer.tsn_map, tsn) < 0) in sctp_sf_eat_fwd_tsn_fast() 3477 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_FWDTSN, SCTP_U32(tsn)); in sctp_sf_eat_fwd_tsn_fast() [all …]
|
D | ulpevent.c | 704 event->tsn = ntohl(chunk->subh.data_hdr->tsn); in sctp_ulpevent_make_rcvmsg() 835 sinfo.sinfo_tsn = event->tsn; in sctp_ulpevent_read_sndrcvinfo()
|
D | associola.c | 751 __u32 tsn) in sctp_assoc_lookup_tsn() argument 758 __u32 key = htonl(tsn); in sctp_assoc_lookup_tsn() 782 if (key == chunk->subh.data_hdr->tsn) { in sctp_assoc_lookup_tsn() 797 if (key == chunk->subh.data_hdr->tsn) { in sctp_assoc_lookup_tsn()
|
D | sm_make_chunk.c | 552 dp.tsn = 0; in sctp_make_datafrag_empty() 767 const struct sctp_chunk *chunk, __u32 tsn) in sctp_make_abort_no_data() argument 773 + sizeof(tsn)); in sctp_make_abort_no_data() 779 payload = htonl(tsn); in sctp_make_abort_no_data() 1206 chunk->subh.data_hdr->tsn = in sctp_chunk_assign_tsn()
|
D | output.c | 412 ntohl(chunk->subh.data_hdr->tsn) : 0, in sctp_packet_transmit()
|
/linux-2.4.37.9/include/net/sctp/ |
D | tsnmap.h | 138 int sctp_tsnmap_check(const struct sctp_tsnmap *, __u32 tsn); 141 void sctp_tsnmap_mark(struct sctp_tsnmap *, __u32 tsn); 144 void sctp_tsnmap_skip(struct sctp_tsnmap *map, __u32 tsn); 195 static inline void sctp_tsnmap_mark_dup(struct sctp_tsnmap *map, __u32 tsn) in sctp_tsnmap_mark_dup() argument 198 map->dup_tsns[map->num_dup_tsns++] = htonl(tsn); in sctp_tsnmap_mark_dup() 202 void sctp_tsnmap_renege(struct sctp_tsnmap *, __u32 tsn);
|
D | ulpevent.h | 62 __u32 tsn; member
|
D | sm.h | 222 __u32 tsn);
|
/linux-2.4.37.9/include/linux/ |
D | sctp.h | 206 __u32 tsn; member
|