Home
last modified time | relevance | path

Searched full:tsn (Results 1 – 25 of 51) sorted by relevance

123

/Linux-v5.15/include/net/sctp/
Dtsnmap.h30 * Array order TSN's have been received (relative to the
31 * Last Rcvd TSN). If no gaps exist, i.e. no out of
37 /* This array counts the number of chunks with each TSN.
43 /* This is the TSN at tsn_map[0]. */
46 /* Last Rcvd : This is the last TSN received in
47 * TSN : sequence. This value is set initially by
48 * : taking the peer's Initial TSN, received in
53 * "Cumulative TSN ACK Point". In this case, we
59 /* This is the highest TSN we've marked. */
89 /* Test the tracking state of this TSN.
[all …]
Dstructs.h650 has_tsn:1, /* Does this chunk have a TSN yet? */
966 /* An unsigned integer, which stores the next TSN to be
981 * a SACK to estimate the causative TSN(s)'s group.
1072 * It assigns TSN's to data chunks. This happens at the last possible
1095 * CTSN, or cumulative tsn ack point.
1104 /* Put chunks on this list to save them for FWD TSN processing as
1545 /* TSN received > next expected */
1683 * Array order TSN's have been received (relative to the
1684 * Last Rcvd TSN). If no gaps exist, i.e. no out of
1689 * Last Rcvd : This is the last TSN received in
[all …]
Dcommand.h33 SCTP_CMD_REPORT_TSN, /* Record the arrival of a TSN. */
57 SCTP_CMD_REPORT_DUP, /* Report a duplicate TSN. */
79 SCTP_CMD_REPORT_FWDTSN, /* Report new cumulative TSN Ack. */
Dstream_interleave.h36 /* (I-)FORWARD-TSN process */
/Linux-v5.15/net/sctp/
Dtsnmap.c10 * These functions manipulate sctp tsn mapping array.
63 /* Test the tracking state of this TSN.
65 * 0 if the TSN has not yet been seen
66 * >0 if the TSN has been seen (duplicate)
67 * <0 if the TSN is invalid (too large to track)
69 int sctp_tsnmap_check(const struct sctp_tsnmap *map, __u32 tsn) in sctp_tsnmap_check() argument
73 /* Check to see if this is an old TSN */ in sctp_tsnmap_check()
74 if (TSN_lte(tsn, map->cumulative_tsn_ack_point)) in sctp_tsnmap_check()
77 /* Verify that we can hold this TSN and that it will not in sctp_tsnmap_check()
80 if (!TSN_lt(tsn, map->base_tsn + SCTP_TSN_MAP_SIZE)) in sctp_tsnmap_check()
[all …]
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()
163 * 3) If the missing report count for TSN t is to be
168 * TSN t SHOULD NOT be incremented.
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()
501 * 'TSN.Missing.Report' of all affected TSNs is set in sctp_retransmit_mark()
[all …]
Dulpqueue.c278 __u32 tsn, ctsn; in sctp_ulpq_store_reasm() local
280 tsn = event->tsn; in sctp_ulpq_store_reasm()
291 ctsn = cevent->tsn; in sctp_ulpq_store_reasm()
292 if (TSN_lt(ctsn, tsn)) { in sctp_ulpq_store_reasm()
297 /* Find the right place in this list. We store them by TSN. */ in sctp_ulpq_store_reasm()
300 ctsn = cevent->tsn; in sctp_ulpq_store_reasm()
302 if (TSN_lt(tsn, ctsn)) in sctp_ulpq_store_reasm()
418 /* The chunks are held in the reasm queue sorted by TSN. in sctp_ulpq_retrieve_reassembled()
433 ctsn = cevent->tsn; in sctp_ulpq_retrieve_reassembled()
515 /* The chunks are held in the reasm queue sorted by TSN. in sctp_ulpq_retrieve_partial()
[all …]
Dstream_interleave.c8 * including I-DATA and I-FORWARD-TSN chunks process.
1114 __u32 tsn; in sctp_generate_iftsn() local
1124 tsn = ntohl(chunk->subh.data_hdr->tsn); in sctp_generate_iftsn()
1126 if (TSN_lte(tsn, ctsn)) { in sctp_generate_iftsn()
1129 } else if (TSN_lte(tsn, asoc->adv_peer_ack_point + 1)) { in sctp_generate_iftsn()
1137 asoc->adv_peer_ack_point = tsn; in sctp_generate_iftsn()
1205 /* Move the Cumulattive TSN Ack ahead. */ in sctp_report_fwdtsn()
1219 __u32 tsn = event->tsn; in sctp_intl_reasm_flushtsn() local
1221 if (TSN_lte(tsn, ftsn)) { in sctp_intl_reasm_flushtsn()
1229 __u32 tsn = event->tsn; in sctp_intl_reasm_flushtsn() local
[all …]
Dsm_statefuns.c2813 * - verify, by checking the Cumulative TSN Ack field of the chunk,
2872 /* If Cumulative TSN Ack beyond the max tsn currently in sctp_sf_do_9_2_shutdown()
2908 /* - verify, by checking the Cumulative TSN Ack field of the in sctp_sf_do_9_2_shutdown()
2924 * The Cumulative TSN Ack of the received SHUTDOWN chunk
2957 /* If Cumulative TSN Ack beyond the max tsn currently in sctp_sf_do_9_2_shut_ctsn()
2964 /* verify, by checking the Cumulative TSN Ack field of the in sctp_sf_do_9_2_shut_ctsn()
3050 * This chunk contains one data element, i.e. the TSN number that
3052 * TSN number in the datagram that was originally marked with the
3108 * contains one data element, i.e. the lowest TSN associated with the IP
3263 * and the peer's RTO has expired. The duplicate TSN number(s) in sctp_sf_eat_data_6_2()
[all …]
Dstream.c727 /* G4: The same processing as though a FWD-TSN chunk (as defined in in sctp_process_strreset_tsnreq()
728 * [RFC3758]) with all streams affected and a new cumulative TSN in sctp_process_strreset_tsnreq()
729 * ACK of the Receiver's Next TSN minus 1 were received MUST be in sctp_process_strreset_tsnreq()
735 /* G1: Compute an appropriate value for the Receiver's Next TSN -- the in sctp_process_strreset_tsnreq()
736 * TSN that the peer should use to send the next DATA chunk. The in sctp_process_strreset_tsnreq()
737 * value SHOULD be the smallest TSN not acknowledged by the in sctp_process_strreset_tsnreq()
745 * and a cumulative TSN ACK of the Sender's Next TSN minus 1 were in sctp_process_strreset_tsnreq()
750 /* G2: Compute an appropriate value for the local endpoint's next TSN, in sctp_process_strreset_tsnreq()
751 * i.e., the next TSN assigned by the receiver of the SSN/TSN reset in sctp_process_strreset_tsnreq()
752 * chunk. The value SHOULD be the highest TSN sent by the receiver in sctp_process_strreset_tsnreq()
Dassociola.c197 * association to the same value as the initial TSN. in sctp_association_init()
477 /* 3) The sender MUST store the next TSN to be sent in in sctp_assoc_set_primary()
875 /* Allocate the next TSN, Transmission Sequence Number, for the given
882 * 2**32 - 1. That is, the next TSN a DATA chunk MUST use in sctp_association_get_next_tsn()
883 * after transmitting TSN = 2*32 - 1 is TSN = 0. in sctp_association_get_next_tsn()
923 * Find which transport this TSN was sent on.
926 __u32 tsn) in sctp_assoc_lookup_tsn() argument
932 __be32 key = htonl(tsn); in sctp_assoc_lookup_tsn()
943 * list. Return which transport this TSN lives on. in sctp_assoc_lookup_tsn()
947 * outbound path and not have to look for the TSN at all. in sctp_assoc_lookup_tsn()
[all …]
Dsm_make_chunk.c178 * | Initial TSN |
195 * Initial TSN Mandatory
651 * This chunk contains one data element, i.e. the TSN number that
653 * TSN number in the datagram that was originally marked with the
661 * | Lowest TSN Number |
729 /* We assign the TSN as LATE as possible, not here when in sctp_make_datafrag_empty()
751 * association. This reports on which TSN's we've seen to date,
829 /* Add the duplicate TSN information. */ in sctp_make_sack()
975 __u32 tsn) in sctp_make_abort_no_data() argument
981 sizeof(struct sctp_errhdr) + sizeof(tsn)); in sctp_make_abort_no_data()
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/net/dsa/
Dhirschmann,hellcreek.yaml7 title: Hirschmann Hellcreek TSN Switch Device Tree Bindings
19 The Hellcreek TSN Switch IP is a 802.1Q Ethernet compliant switch. It supports
30 The physical base address and size of TSN and PTP memory base
36 - const: tsn
85 reg-names = "tsn", "ptp";
/Linux-v5.15/include/linux/platform_data/
Dhirschmann-hellcreek.h3 * Hirschmann Hellcreek TSN switch platform data.
18 int qbv_support; /* Qbv support on front TSN ports */
20 int qbu_support; /* Qbu support on front TSN ports */
/Linux-v5.15/drivers/net/dsa/hirschmann/
DKconfig3 tristate "Hirschmann Hellcreek TSN Switch support"
11 This driver adds support for Hirschmann Hellcreek TSN switches.
Dhellcreek.h4 * Hirschmann Hellcreek TSN switch.
29 * - 2: TSN front port 1
30 * - 3: TSN front port 2
Dhellcreek_hwtstamp.h4 * Hirschmann Hellcreek TSN switch.
Dhellcreek_ptp.h4 * Hirschmann Hellcreek TSN switch.
/Linux-v5.15/include/linux/
Dsctp.h221 __be32 tsn; member
234 __be32 tsn; member
554 * 3.2 Forward Cumulative TSN Chunk Definition (FORWARD TSN)
556 * Forward Cumulative TSN chunk has the following format:
563 * | New Cumulative TSN |
577 * New Cumulative TSN: 32 bit u_int
579 * This indicates the new cumulative TSN to the data receiver. Upon
587 * FWD-TSN.
593 * the FWD-TSN's can use the Stream-N and Stream Sequence-N fields
594 * to enable delivery of any stranded TSN's that remain on the stream
[all …]
/Linux-v5.15/drivers/net/ethernet/freescale/enetc/
DKconfig62 There are Time-Sensitive Network(TSN) capabilities(802.1Qbv/802.1Qci
63 /802.1Qbu etc.) supported by ENETC. These TSN capabilities can be set
/Linux-v5.15/net/dsa/
DKconfig55 tristate "Tag driver for Hirschmann Hellcreek TSN switches"
58 for the Hirschmann Hellcreek TSN switches.
/Linux-v5.15/block/
Dsed-opal.c86 u32 tsn; member
686 static int cmd_finalize(struct opal_dev *cmd, u32 hsn, u32 tsn) in cmd_finalize() argument
712 hdr->pkt.tsn = cpu_to_be32(tsn); in cmd_finalize()
1049 u32 hsn, tsn; in start_opal_session_cont() local
1057 tsn = response_get_u64(&dev->parsed, 5); in start_opal_session_cont()
1059 if (hsn != GENERIC_HOST_SESSION_NUM || tsn < FIRST_TPER_SESSION_NUM) { in start_opal_session_cont()
1065 dev->tsn = tsn; in start_opal_session_cont()
1088 dev->tsn = 0; in end_session_cont()
1097 ret = cmd_finalize(dev, dev->hsn, dev->tsn); in finalize_and_send()
2100 dev->tsn = 0; in setup_opal_dev()
[all …]
/Linux-v5.15/arch/arm64/boot/dts/freescale/
Dfsl-ls1028a-kontron-sl28-var2.dts16 model = "Kontron SMARC-sAL28 (TSN-on-module)";
Dfsl-ls1028a-kontron-sl28-var1.dts7 * port is connected via RGMII. This port is not TSN aware.
/Linux-v5.15/Documentation/devicetree/bindings/arm/
Dmicrochip,sparx5.yaml14 gigabit TSN-capable gigabit switches.

123