Home
last modified time | relevance | path

Searched refs:tsn (Results 1 – 14 of 14) sorted by relevance

/linux-4.1.27/net/sctp/
Dtsnmap.c84 int sctp_tsnmap_check(const struct sctp_tsnmap *map, __u32 tsn) in sctp_tsnmap_check() argument
89 if (TSN_lte(tsn, map->cumulative_tsn_ack_point)) in sctp_tsnmap_check()
95 if (!TSN_lt(tsn, map->base_tsn + SCTP_TSN_MAP_SIZE)) in sctp_tsnmap_check()
99 gap = tsn - map->base_tsn; in sctp_tsnmap_check()
110 int sctp_tsnmap_mark(struct sctp_tsnmap *map, __u32 tsn, in sctp_tsnmap_mark() argument
115 if (TSN_lt(tsn, map->base_tsn)) in sctp_tsnmap_mark()
118 gap = tsn - map->base_tsn; in sctp_tsnmap_mark()
140 if (TSN_lt(map->max_tsn_seen, tsn)) in sctp_tsnmap_mark()
141 map->max_tsn_seen = tsn; in sctp_tsnmap_mark()
205 void sctp_tsnmap_skip(struct sctp_tsnmap *map, __u32 tsn) in sctp_tsnmap_skip() argument
[all …]
Doutqueue.c55 static int sctp_acked(struct sctp_sackhdr *sack, __u32 tsn);
162 static inline int sctp_cacc_skip_3_2(struct sctp_transport *primary, __u32 tsn) in sctp_cacc_skip_3_2() argument
165 TSN_lt(tsn, primary->cacc.next_tsn_at_change)) in sctp_cacc_skip_3_2()
187 __u32 tsn) in sctp_cacc_skip() argument
191 sctp_cacc_skip_3_2(primary, tsn))) in sctp_cacc_skip()
359 ntsn = ntohl(nchunk->subh.data_hdr->tsn); in sctp_insert_list()
363 ltsn = ntohl(lchunk->subh.data_hdr->tsn); in sctp_insert_list()
1008 "illegal chunk", ntohl(chunk->subh.data_hdr->tsn), in sctp_outq_flush()
1023 __func__, ntohl(chunk->subh.data_hdr->tsn), in sctp_outq_flush()
1131 __u32 sack_ctsn, ctsn, tsn; in sctp_outq_sack() local
[all …]
Dulpqueue.c287 __u32 tsn, ctsn; in sctp_ulpq_store_reasm() local
289 tsn = event->tsn; in sctp_ulpq_store_reasm()
300 ctsn = cevent->tsn; in sctp_ulpq_store_reasm()
301 if (TSN_lt(ctsn, tsn)) { in sctp_ulpq_store_reasm()
309 ctsn = cevent->tsn; in sctp_ulpq_store_reasm()
311 if (TSN_lt(tsn, ctsn)) in sctp_ulpq_store_reasm()
441 ctsn = cevent->tsn; in sctp_ulpq_retrieve_reassembled()
539 ctsn = cevent->tsn; in sctp_ulpq_retrieve_partial()
606 ctsn = event->tsn; in sctp_ulpq_reasm()
637 ctsn = cevent->tsn; in sctp_ulpq_retrieve_first()
[all …]
Dulpevent.c671 ntohl(chunk->subh.data_hdr->tsn), in sctp_ulpevent_make_rcvmsg()
711 event->tsn = ntohl(chunk->subh.data_hdr->tsn); in sctp_ulpevent_make_rcvmsg()
877 sinfo.sinfo_tsn = event->tsn; in sctp_ulpevent_read_sndrcvinfo()
905 rinfo.rcv_tsn = event->tsn; in sctp_ulpevent_read_rcvinfo()
Dsm_statefuns.c3843 __u32 tsn; in sctp_sf_eat_fwd_tsn() local
3862 tsn = ntohl(fwdtsn_hdr->new_cum_tsn); in sctp_sf_eat_fwd_tsn()
3863 pr_debug("%s: TSN 0x%x\n", __func__, tsn); in sctp_sf_eat_fwd_tsn()
3868 if (sctp_tsnmap_check(&asoc->peer.tsn_map, tsn) < 0) in sctp_sf_eat_fwd_tsn()
3877 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_FWDTSN, SCTP_U32(tsn)); in sctp_sf_eat_fwd_tsn()
3911 __u32 tsn; in sctp_sf_eat_fwd_tsn_fast() local
3930 tsn = ntohl(fwdtsn_hdr->new_cum_tsn); in sctp_sf_eat_fwd_tsn_fast()
3931 pr_debug("%s: TSN 0x%x\n", __func__, tsn); in sctp_sf_eat_fwd_tsn_fast()
3936 if (sctp_tsnmap_check(&asoc->peer.tsn_map, tsn) < 0) in sctp_sf_eat_fwd_tsn_fast()
3945 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_FWDTSN, SCTP_U32(tsn)); in sctp_sf_eat_fwd_tsn_fast()
[all …]
Dassociola.c914 __u32 tsn) in sctp_assoc_lookup_tsn() argument
920 __be32 key = htonl(tsn); in sctp_assoc_lookup_tsn()
944 if (key == chunk->subh.data_hdr->tsn) { in sctp_assoc_lookup_tsn()
958 if (key == chunk->subh.data_hdr->tsn) { in sctp_assoc_lookup_tsn()
Dsm_make_chunk.c725 dp.tsn = 0; in sctp_make_datafrag_empty()
970 const struct sctp_chunk *chunk, __u32 tsn) in sctp_make_abort_no_data() argument
976 + sizeof(tsn)); in sctp_make_abort_no_data()
982 payload = htonl(tsn); in sctp_make_abort_no_data()
1562 chunk->subh.data_hdr->tsn = in sctp_chunk_assign_tsn()
Doutput.c502 chunk->has_tsn ? ntohl(chunk->subh.data_hdr->tsn) : 0, in sctp_packet_transmit()
/linux-4.1.27/include/net/sctp/
Dtsnmap.h110 int sctp_tsnmap_check(const struct sctp_tsnmap *, __u32 tsn);
113 int sctp_tsnmap_mark(struct sctp_tsnmap *, __u32 tsn,
117 void sctp_tsnmap_skip(struct sctp_tsnmap *map, __u32 tsn);
160 static inline void sctp_tsnmap_mark_dup(struct sctp_tsnmap *map, __u32 tsn) in sctp_tsnmap_mark_dup() argument
163 map->dup_tsns[map->num_dup_tsns++] = htonl(tsn); in sctp_tsnmap_mark_dup()
167 void sctp_tsnmap_renege(struct sctp_tsnmap *, __u32 tsn);
Dulpevent.h55 __u32 tsn; member
Dsm.h220 __u32 tsn);
/linux-4.1.27/include/linux/
Dsctp.h223 __be32 tsn; member
/linux-4.1.27/net/nfc/
Ddigital_technology.c145 u8 tsn; member
831 sensf_req->tsn = 0; in digital_in_send_sensf_req()
/linux-4.1.27/drivers/nfc/
Dpn533.c219 u8 tsn; member
261 .tsn = 0x03,
274 .tsn = 0x03,