/linux-3.4.99/net/sctp/ |
D | tsnmap.c | 91 int sctp_tsnmap_check(const struct sctp_tsnmap *map, __u32 tsn) in sctp_tsnmap_check() argument 96 if (TSN_lte(tsn, map->cumulative_tsn_ack_point)) in sctp_tsnmap_check() 102 if (!TSN_lt(tsn, map->base_tsn + SCTP_TSN_MAP_SIZE)) in sctp_tsnmap_check() 106 gap = tsn - map->base_tsn; in sctp_tsnmap_check() 117 int sctp_tsnmap_mark(struct sctp_tsnmap *map, __u32 tsn) in sctp_tsnmap_mark() argument 121 if (TSN_lt(tsn, map->base_tsn)) in sctp_tsnmap_mark() 124 gap = tsn - map->base_tsn; in sctp_tsnmap_mark() 143 if (TSN_lt(map->max_tsn_seen, tsn)) in sctp_tsnmap_mark() 144 map->max_tsn_seen = tsn; in sctp_tsnmap_mark() 208 void sctp_tsnmap_skip(struct sctp_tsnmap *map, __u32 tsn) in sctp_tsnmap_skip() argument [all …]
|
D | outqueue.c | 62 static int sctp_acked(struct sctp_sackhdr *sack, __u32 tsn); 168 static inline int sctp_cacc_skip_3_2(struct sctp_transport *primary, __u32 tsn) in sctp_cacc_skip_3_2() argument 171 TSN_lt(tsn, primary->cacc.next_tsn_at_change)) in sctp_cacc_skip_3_2() 193 __u32 tsn) in sctp_cacc_skip() argument 197 sctp_cacc_skip_3_2(primary, tsn))) in sctp_cacc_skip() 371 ntsn = ntohl(nchunk->subh.data_hdr->tsn); in sctp_insert_list() 375 ltsn = ntohl(lchunk->subh.data_hdr->tsn); in sctp_insert_list() 1025 ntohl(chunk->subh.data_hdr->tsn), in sctp_outq_flush() 1042 ntohl(chunk->subh.data_hdr->tsn), in sctp_outq_flush() 1147 __u32 sack_ctsn, ctsn, tsn; in sctp_outq_sack() local [all …]
|
D | ulpqueue.c | 289 __u32 tsn, ctsn; in sctp_ulpq_store_reasm() local 291 tsn = event->tsn; in sctp_ulpq_store_reasm() 302 ctsn = cevent->tsn; in sctp_ulpq_store_reasm() 303 if (TSN_lt(ctsn, tsn)) { in sctp_ulpq_store_reasm() 311 ctsn = cevent->tsn; in sctp_ulpq_store_reasm() 313 if (TSN_lt(tsn, ctsn)) in sctp_ulpq_store_reasm() 440 ctsn = cevent->tsn; in sctp_ulpq_retrieve_reassembled() 536 ctsn = cevent->tsn; in sctp_ulpq_retrieve_partial() 597 ctsn = event->tsn; in sctp_ulpq_reasm() 628 ctsn = cevent->tsn; in sctp_ulpq_retrieve_first() [all …]
|
D | sm_statefuns.c | 3778 __u32 tsn; in sctp_sf_eat_fwd_tsn() local 3797 tsn = ntohl(fwdtsn_hdr->new_cum_tsn); in sctp_sf_eat_fwd_tsn() 3798 SCTP_DEBUG_PRINTK("%s: TSN 0x%x.\n", __func__, tsn); in sctp_sf_eat_fwd_tsn() 3803 if (sctp_tsnmap_check(&asoc->peer.tsn_map, tsn) < 0) in sctp_sf_eat_fwd_tsn() 3812 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_FWDTSN, SCTP_U32(tsn)); in sctp_sf_eat_fwd_tsn() 3845 __u32 tsn; in sctp_sf_eat_fwd_tsn_fast() local 3864 tsn = ntohl(fwdtsn_hdr->new_cum_tsn); in sctp_sf_eat_fwd_tsn_fast() 3865 SCTP_DEBUG_PRINTK("%s: TSN 0x%x.\n", __func__, tsn); in sctp_sf_eat_fwd_tsn_fast() 3870 if (sctp_tsnmap_check(&asoc->peer.tsn_map, tsn) < 0) in sctp_sf_eat_fwd_tsn_fast() 3879 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_FWDTSN, SCTP_U32(tsn)); in sctp_sf_eat_fwd_tsn_fast() [all …]
|
D | ulpevent.c | 718 ntohl(chunk->subh.data_hdr->tsn))) in sctp_ulpevent_make_rcvmsg() 757 event->tsn = ntohl(chunk->subh.data_hdr->tsn); in sctp_ulpevent_make_rcvmsg() 958 sinfo.sinfo_tsn = event->tsn; in sctp_ulpevent_read_sndrcvinfo()
|
D | associola.c | 1012 __u32 tsn) in sctp_assoc_lookup_tsn() argument 1018 __be32 key = htonl(tsn); in sctp_assoc_lookup_tsn() 1042 if (key == chunk->subh.data_hdr->tsn) { in sctp_assoc_lookup_tsn() 1056 if (key == chunk->subh.data_hdr->tsn) { in sctp_assoc_lookup_tsn()
|
D | sm_make_chunk.c | 703 dp.tsn = 0; in sctp_make_datafrag_empty() 930 const struct sctp_chunk *chunk, __u32 tsn) in sctp_make_abort_no_data() argument 936 + sizeof(tsn)); in sctp_make_abort_no_data() 942 payload = htonl(tsn); in sctp_make_abort_no_data() 1506 chunk->subh.data_hdr->tsn = in sctp_chunk_assign_tsn()
|
D | output.c | 485 ntohl(chunk->subh.data_hdr->tsn) : 0, in sctp_packet_transmit()
|
/linux-3.4.99/include/net/sctp/ |
D | tsnmap.h | 117 int sctp_tsnmap_check(const struct sctp_tsnmap *, __u32 tsn); 120 int sctp_tsnmap_mark(struct sctp_tsnmap *, __u32 tsn); 123 void sctp_tsnmap_skip(struct sctp_tsnmap *map, __u32 tsn); 166 static inline void sctp_tsnmap_mark_dup(struct sctp_tsnmap *map, __u32 tsn) in sctp_tsnmap_mark_dup() argument 169 map->dup_tsns[map->num_dup_tsns++] = htonl(tsn); in sctp_tsnmap_mark_dup() 173 void sctp_tsnmap_renege(struct sctp_tsnmap *, __u32 tsn);
|
D | ulpevent.h | 62 __u32 tsn; member
|
D | sm.h | 225 __u32 tsn);
|
/linux-3.4.99/include/linux/ |
D | sctp.h | 226 __be32 tsn; member
|
/linux-3.4.99/drivers/nfc/ |
D | pn533.c | 136 u8 tsn; member 177 .tsn = 0, 190 .tsn = 0,
|