| /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() 588 /* Do not even bother unless this is the next tsn t in sctp_ulpq_reasm() 683 __u32 tsn; sctp_ulpq_reasm_flushtsn() local 962 __u32 tsn, last_tsn; sctp_ulpq_renege_list() local [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() 330 ntsn = ntohl(nchunk->subh.data_hdr->tsn); in sctp_insert_list() 334 ltsn = ntohl(lchunk->subh.data_hdr->tsn); in sctp_insert_list() 1107 pr_debug("%s: outq:%p, chunk:%p[%s], tx-tsn:0x%x skb->head:%p skb->users:%d\n", in sctp_outq_flush_data() 1110 "illegal chunk", ntohl(chunk->subh.data_hdr->tsn), in sctp_outq_flush_data() 1121 pr_debug("%s: could not transmit tsn in sctp_outq_flush_data() 1256 __u32 sack_ctsn, ctsn, tsn; sctp_outq_sack() local 1446 __u32 tsn; sctp_check_transmitted() local 1716 __u32 tsn; sctp_mark_missing() local 1773 sctp_acked(struct sctp_sackhdr * sack,__u32 tsn) sctp_acked() argument 1829 __u32 tsn; sctp_generate_fwdtsn() 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; sctp_intl_reasm_flushtsn() local 1222 __u32 tsn = event->tsn; sctp_intl_reasm_flushtsn() local
|
| H A D | sm_statefuns.c | 2935 /* If Cumulative TSN Ack beyond the max tsn currently in sctp_sf_do_9_2_shutdown() 3020 /* If Cumulative TSN Ack beyond the max tsn currently in sctp_sf_do_9_2_shut_ctsn() 3478 /* If Cumulative TSN Ack beyond the max tsn currently in sctp_sf_eat_sack_6_2() 4261 __u32 tsn; in sctp_sf_eat_fwd_tsn() 4283 tsn = ntohl(fwdtsn_hdr->new_cum_tsn); in sctp_sf_eat_fwd_tsn() 4284 pr_debug("%s: TSN 0x%x\n", __func__, tsn); in sctp_sf_eat_fwd_tsn() 4289 if (sctp_tsnmap_check(&asoc->peer.tsn_map, tsn) < 0) in sctp_sf_eat_fwd_tsn() 4295 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_FWDTSN, SCTP_U32(tsn)); in sctp_sf_eat_fwd_tsn() 4328 __u32 tsn; in sctp_sf_eat_fwd_tsn_fast() 4350 tsn in sctp_sf_eat_fwd_tsn_fast() 4259 __u32 tsn; sctp_sf_eat_fwd_tsn() local 4326 __u32 tsn; sctp_sf_eat_fwd_tsn_fast() local 6550 __u32 tsn; sctp_eat_data() local [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 | 916 __u32 tsn) in sctp_assoc_lookup_tsn() argument 922 __be32 key = htonl(tsn); in sctp_assoc_lookup_tsn() 946 if (key == chunk->subh.data_hdr->tsn) { in sctp_assoc_lookup_tsn() 960 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() 981 sizeof(struct sctp_errhdr) + sizeof(tsn)); in sctp_make_abort_no_data() 986 /* Put the tsn back into network byte order. */ in sctp_make_abort_no_data() 987 payload = htonl(tsn); in sctp_make_abort_no_data() 1621 chunk->subh.data_hdr->tsn = in sctp_make_temp_asoc() 967 sctp_make_abort_no_data(const struct sctp_association * asoc,const struct sctp_chunk * chunk,__u32 tsn) sctp_make_abort_no_data() argument
|
| 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 | 206 __u32 tsn);
|
| /linux/include/linux/ |
| H A D | sctp.h | 221 __be32 tsn; member 233 __be32 tsn; member
|
| /linux/arch/arm/boot/dts/nxp/ls/ |
| H A D | Makefile | 7 ls1021a-tsn.dtb \
|
| /linux/drivers/pinctrl/qcom/ |
| H A D | pinctrl-ipq9650.c | 661 MSM_PIN_FUNCTION(tsn), 715 [50] = PINGROUP(50, tsn, rx_los0, _, _, _, _, _, _, _),
|
| /linux/net/nfc/ |
| H A D | digital_technology.c | 137 u8 tsn; member 833 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,
|
| /linux/Documentation/core-api/real-time/ |
| H A D | hardware.rst | 126 guidance, see the TSN documentation at https://tsn.readthedocs.io.
|