Home
last modified time | relevance | path

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

/linux/net/sctp/
H A Dtsnmap.c69 int sctp_tsnmap_check(const struct sctp_tsnmap *map, __u32 tsn) in sctp_tsnmap_check() argument
74 if (TSN_lte(tsn, map->cumulative_tsn_ack_point)) in sctp_tsnmap_check()
80 if (!TSN_lt(tsn, map->base_tsn + SCTP_TSN_MAP_SIZE)) in sctp_tsnmap_check()
84 gap = tsn - map->base_tsn; in sctp_tsnmap_check()
95 int sctp_tsnmap_mark(struct sctp_tsnmap *map, __u32 tsn, in sctp_tsnmap_mark() argument
100 if (TSN_lt(tsn, map->base_tsn)) in sctp_tsnmap_mark()
103 gap = tsn - map->base_tsn; in sctp_tsnmap_mark()
125 if (TSN_lt(map->max_tsn_seen, tsn)) in sctp_tsnmap_mark()
126 map->max_tsn_seen = tsn; in sctp_tsnmap_mark()
190 void sctp_tsnmap_skip(struct sctp_tsnmap *map, __u32 tsn) in sctp_tsnmap_skip() argument
[all …]
H A Dulpqueue.c272 __u32 tsn, ctsn; in sctp_ulpq_store_reasm() local
274 tsn = event->tsn; in sctp_ulpq_store_reasm()
285 ctsn = cevent->tsn; in sctp_ulpq_store_reasm()
286 if (TSN_lt(ctsn, tsn)) { in sctp_ulpq_store_reasm()
294 ctsn = cevent->tsn; in sctp_ulpq_store_reasm()
296 if (TSN_lt(tsn, ctsn)) in sctp_ulpq_store_reasm()
427 ctsn = cevent->tsn; in sctp_ulpq_retrieve_reassembled()
524 ctsn = cevent->tsn; in sctp_ulpq_retrieve_partial()
591 ctsn = event->tsn; in sctp_ulpq_reasm()
622 ctsn = cevent->tsn; in sctp_ulpq_retrieve_first()
[all …]
H A Doutqueue.c42 static int sctp_acked(struct sctp_sackhdr *sack, __u32 tsn);
153 static inline int sctp_cacc_skip_3_2(struct sctp_transport *primary, __u32 tsn) in sctp_cacc_skip_3_2() argument
156 TSN_lt(tsn, primary->cacc.next_tsn_at_change)) in sctp_cacc_skip_3_2()
178 __u32 tsn) in sctp_cacc_skip() argument
182 sctp_cacc_skip_3_2(primary, tsn))) in sctp_cacc_skip()
327 ntsn = ntohl(nchunk->subh.data_hdr->tsn); in sctp_insert_list()
331 ltsn = ntohl(lchunk->subh.data_hdr->tsn); in sctp_insert_list()
1106 "illegal chunk", ntohl(chunk->subh.data_hdr->tsn), in sctp_outq_flush_data()
1118 __func__, ntohl(chunk->subh.data_hdr->tsn), in sctp_outq_flush_data()
1255 __u32 sack_ctsn, ctsn, tsn; in sctp_outq_sack() local
[all …]
H A Dstream_interleave.c1106 __u32 tsn; in sctp_generate_iftsn() local
1116 tsn = ntohl(chunk->subh.data_hdr->tsn); in sctp_generate_iftsn()
1118 if (TSN_lte(tsn, ctsn)) { in sctp_generate_iftsn()
1121 } else if (TSN_lte(tsn, asoc->adv_peer_ack_point + 1)) { in sctp_generate_iftsn()
1129 asoc->adv_peer_ack_point = tsn; in sctp_generate_iftsn()
1212 __u32 tsn = event->tsn; in sctp_intl_reasm_flushtsn() local
1214 if (TSN_lte(tsn, ftsn)) { in sctp_intl_reasm_flushtsn()
1222 __u32 tsn = event->tsn; in sctp_intl_reasm_flushtsn() local
1224 if (TSN_lte(tsn, ftsn)) { in sctp_intl_reasm_flushtsn()
H A Dsm_statefuns.c4213 __u32 tsn; in sctp_sf_eat_fwd_tsn() local
4235 tsn = ntohl(fwdtsn_hdr->new_cum_tsn); in sctp_sf_eat_fwd_tsn()
4236 pr_debug("%s: TSN 0x%x\n", __func__, tsn); in sctp_sf_eat_fwd_tsn()
4241 if (sctp_tsnmap_check(&asoc->peer.tsn_map, tsn) < 0) in sctp_sf_eat_fwd_tsn()
4247 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_FWDTSN, SCTP_U32(tsn)); in sctp_sf_eat_fwd_tsn()
4280 __u32 tsn; in sctp_sf_eat_fwd_tsn_fast() local
4302 tsn = ntohl(fwdtsn_hdr->new_cum_tsn); in sctp_sf_eat_fwd_tsn_fast()
4303 pr_debug("%s: TSN 0x%x\n", __func__, tsn); in sctp_sf_eat_fwd_tsn_fast()
4308 if (sctp_tsnmap_check(&asoc->peer.tsn_map, tsn) < 0) in sctp_sf_eat_fwd_tsn_fast()
4314 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_FWDTSN, SCTP_U32(tsn)); in sctp_sf_eat_fwd_tsn_fast()
[all …]
H A Dulpevent.c709 ntohl(chunk->subh.data_hdr->tsn), in sctp_ulpevent_make_rcvmsg()
752 event->tsn = ntohl(chunk->subh.data_hdr->tsn); in sctp_ulpevent_make_rcvmsg()
1000 sinfo.sinfo_tsn = event->tsn; in sctp_ulpevent_read_sndrcvinfo()
1028 rinfo.rcv_tsn = event->tsn; in sctp_ulpevent_read_rcvinfo()
H A Dassociola.c923 __u32 tsn) in sctp_assoc_lookup_tsn() argument
929 __be32 key = htonl(tsn); in sctp_assoc_lookup_tsn()
953 if (key == chunk->subh.data_hdr->tsn) { in sctp_assoc_lookup_tsn()
967 if (key == chunk->subh.data_hdr->tsn) { in sctp_assoc_lookup_tsn()
H A Dsm_make_chunk.c975 __u32 tsn) in sctp_make_abort_no_data() argument
981 sizeof(struct sctp_errhdr) + sizeof(tsn)); in sctp_make_abort_no_data()
987 payload = htonl(tsn); in sctp_make_abort_no_data()
1621 chunk->subh.data_hdr->tsn = in sctp_chunk_assign_tsn()
H A Doutput.c506 chunk->has_tsn ? ntohl(chunk->subh.data_hdr->tsn) : 0, in sctp_packet_pack()
/linux/include/net/sctp/
H A Dtsnmap.h95 int sctp_tsnmap_check(const struct sctp_tsnmap *, __u32 tsn);
98 int sctp_tsnmap_mark(struct sctp_tsnmap *, __u32 tsn,
102 void sctp_tsnmap_skip(struct sctp_tsnmap *map, __u32 tsn);
145 static inline void sctp_tsnmap_mark_dup(struct sctp_tsnmap *map, __u32 tsn) in sctp_tsnmap_mark_dup() argument
148 map->dup_tsns[map->num_dup_tsns++] = htonl(tsn); in sctp_tsnmap_mark_dup()
152 void sctp_tsnmap_renege(struct sctp_tsnmap *, __u32 tsn);
H A Dulpevent.h50 __u32 tsn; member
H A Dsm.h207 __u32 tsn);
/linux/arch/arm/boot/dts/nxp/ls/
H A DMakefile7 ls1021a-tsn.dtb \
H A Dls1021a-tsn.dts11 compatible = "fsl,ls1021a-tsn", "fsl,ls1021a";
/linux/include/linux/
H A Dsctp.h221 __be32 tsn; member
234 __be32 tsn; member
/linux/block/
H A Dopal_proto.h249 __be32 tsn; member
/linux/net/nfc/
H A Ddigital_technology.c137 u8 tsn; member
825 sensf_req->tsn = 0; in digital_in_send_sensf_req()
/linux/drivers/nfc/pn533/
H A Dpn533.c90 u8 tsn; member
119 .tsn = 0x03,
132 .tsn = 0x03,