/linux/net/sctp/ |
H A D | tsnmap.c | 69 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 D | ulpqueue.c | 272 __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 D | outqueue.c | 42 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 D | stream_interleave.c | 1106 __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 D | sm_statefuns.c | 4213 __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 D | ulpevent.c | 709 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 D | associola.c | 923 __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 D | sm_make_chunk.c | 975 __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 D | output.c | 506 chunk->has_tsn ? ntohl(chunk->subh.data_hdr->tsn) : 0, in sctp_packet_pack()
|
/linux/include/net/sctp/ |
H A D | tsnmap.h | 95 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 D | ulpevent.h | 50 __u32 tsn; member
|
H A D | sm.h | 207 __u32 tsn);
|
/linux/arch/arm/boot/dts/nxp/ls/ |
H A D | Makefile | 7 ls1021a-tsn.dtb \
|
H A D | ls1021a-tsn.dts | 11 compatible = "fsl,ls1021a-tsn", "fsl,ls1021a";
|
/linux/include/linux/ |
H A D | sctp.h | 221 __be32 tsn; member 234 __be32 tsn; member
|
/linux/block/ |
H A D | opal_proto.h | 249 __be32 tsn; member
|
/linux/net/nfc/ |
H A D | digital_technology.c | 137 u8 tsn; member 825 sensf_req->tsn = 0; in digital_in_send_sensf_req()
|
/linux/drivers/nfc/pn533/ |
H A D | pn533.c | 90 u8 tsn; member 119 .tsn = 0x03, 132 .tsn = 0x03,
|