Home
last modified time | relevance | path

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

123

/freebsd/sys/netinet/
H A Dsctp_indata.c134 uint32_t tsn, uint32_t ppid, in sctp_build_readq_entry() argument
150 read_queue_e->sinfo_tsn = tsn; in sctp_build_readq_entry()
151 read_queue_e->sinfo_cumtsn = tsn; in sctp_build_readq_entry()
283 sctp_mark_non_revokable(struct sctp_association *asoc, uint32_t tsn) in sctp_mark_non_revokable() argument
291 if (SCTP_TSN_GE(asoc->cumulative_tsn, tsn)) { in sctp_mark_non_revokable()
293 * This tsn is behind the cum ack and thus we don't need to in sctp_mark_non_revokable()
298 SCTP_CALC_TSN_TO_GAP(gap, tsn, asoc->mapping_array_base_tsn); in sctp_mark_non_revokable()
304 if (SCTP_TSN_GT(tsn, asoc->highest_tsn_inside_nr_map)) { in sctp_mark_non_revokable()
305 asoc->highest_tsn_inside_nr_map = tsn; in sctp_mark_non_revokable()
310 if (tsn == asoc->highest_tsn_inside_map) { in sctp_mark_non_revokable()
[all …]
H A Dsctp_header.h136 uint32_t tsn; member
149 uint32_t tsn; member
175 uint32_t initial_tsn; /* I-TSN */
243 uint32_t cum_tsn_ack; /* cumulative TSN Ack */
257 uint32_t cum_tsn_ack; /* cumulative TSN Ack */
328 uint32_t tsn; member
333 uint32_t tsn; member
340 uint32_t tsn; member
372 /* Forward Cumulative TSN (FORWARD TSN) */
425 uint32_t send_reset_at_tsn; /* last TSN I assigned outbound */
[all …]
H A Dsctp_structs.h77 uint32_t tsn; member
325 uint32_t this_sack_highest_newack; /* tracks highest TSN newly
403 uint32_t tsn; /* the TSN of this transmit */ member
473 uint32_t sinfo_tsn; /* Use this in reassembly as first TSN */
474 uint32_t sinfo_cumtsn; /* Use this in reassembly as last TSN */
675 uint32_t tsn; member
689 uint32_t tsn; member
823 * Once a TSN hits the wire it is moved to the sent_queue. We
889 /* ASCONF next seq I am sending out, inits at init-tsn */
892 /* ASCONF last received ASCONF from peer, starts at peer's TSN-1 */
[all …]
H A Dsctp_indata.h43 uint32_t tsn, uint32_t ppid,
48 #define sctp_build_readq_entry_mac(_ctl, in_it, context, net, tsn, ppid, sid, flags, dm, tfsn, mid)… argument
60 (_ctl)->sinfo_tsn = tsn; \
61 (_ctl)->sinfo_cumtsn = tsn; \
H A Dsctp_timer.c442 if (SCTP_TSN_GE(asoc->last_acked_seq, chk->rec.data.tsn)) { in sctp_recover_sent_list()
443 SCTP_PRINTF("Found chk:%p tsn:%x <= last_acked_seq:%x\n", in sctp_recover_sent_list()
444 (void *)chk, chk->rec.data.tsn, asoc->last_acked_seq); in sctp_recover_sent_list()
475 SCTP_PRINTF("chk:%p TSN:%x\n", (void *)chk, chk->rec.data.tsn); in sctp_recover_sent_list()
560 if (SCTP_TSN_GE(stcb->asoc.last_acked_seq, chk->rec.data.tsn)) { in sctp_mark_all_for_resend()
563 (unsigned int)stcb->asoc.last_acked_seq, (unsigned int)chk->rec.data.tsn); in sctp_mark_all_for_resend()
581 * TSN but instead one that is either already set in sctp_mark_all_for_resend()
588 sctp_log_fr(chk->rec.data.tsn, in sctp_mark_all_for_resend()
652 tsnfirst = chk->rec.data.tsn; in sctp_mark_all_for_resend()
654 tsnlast = chk->rec.data.tsn; in sctp_mark_all_for_resend()
[all …]
H A Dsctp_input.c253 /* init tsn's */ in sctp_process_init()
330 /* EY - nr_sack: initialize highest tsn in nr_mapping_array */ in sctp_process_init()
844 SCTP_SNPRINTF(msg, sizeof(msg), "Missing TSN"); in sctp_check_data_from_peer()
2859 uint32_t tsn, window_data_tsn; in sctp_handle_ecn_echo() local
2871 tsn = ntohl(cp->tsn); in sctp_handle_ecn_echo()
2877 window_data_tsn = lchk->rec.data.tsn; in sctp_handle_ecn_echo()
2883 if (lchk->rec.data.tsn == tsn) { in sctp_handle_ecn_echo()
2888 if (SCTP_TSN_GT(lchk->rec.data.tsn, tsn)) { in sctp_handle_ecn_echo()
2899 if (tsn == net->last_cwr_tsn) { in sctp_handle_ecn_echo()
2922 if (SCTP_TSN_GT(tsn, net->cwr_window_tsn) && in sctp_handle_ecn_echo()
[all …]
H A Dsctp_var.h260 stcb->asoc.fslog[stcb->asoc.fs_index].tsn = tp1->rec.data.tsn; \
281 stcb->asoc.fslog[stcb->asoc.fs_index].tsn = tp1->rec.data.tsn; \
H A Dsctp_uio.h814 uint32_t tsn; member
840 uint32_t tsn; member
1023 uint32_t sctps_pdrptsnnf; /* P-drop, could not find TSN */
1024 uint32_t sctps_pdrpdnfnd; /* P-drop, attempt reverse TSN lookup */
1027 uint32_t sctps_pdrpbadd; /* P-drop, data did not match TSN */
1028 uint32_t sctps_pdrpmark; /* P-drop, TSN's marked for Fast
1121 * fwd-tsn's */
H A Dsctp_constants.h498 /* Maximum the mapping array will grow to (TSN mapping array) */
548 /* max number of TSN's dup'd that I will hold */
874 #define SCTP_CALC_TSN_TO_GAP(gap, tsn, mapping_tsn) do { \ argument
875 if (tsn >= mapping_tsn) { \
876 gap = tsn - mapping_tsn; \
878 gap = (MAX_TSN - mapping_tsn) + tsn + 1; \
H A Dsctp_output.c5876 /* get a TSN to use too */ in sctp_send_initiate_ack()
5888 /* get a TSN to use too */ in sctp_send_initiate_ack()
7060 data_list[i]->rec.data.fast_retran_tsn = data_list[i]->rec.data.tsn; in sctp_clean_up_datalist()
7067 if ((tp1) && SCTP_TSN_GT(tp1->rec.data.tsn, data_list[i]->rec.data.tsn)) { in sctp_clean_up_datalist()
7078 if (SCTP_TSN_GT(tp1->rec.data.tsn, data_list[i]->rec.data.tsn)) { in sctp_clean_up_datalist()
7107 data_list[i]->rec.data.tsn); in sctp_clean_up_datalist()
7588 chk->rec.data.tsn = atomic_fetchadd_int(&asoc->sending_seq, 1); in sctp_move_to_outqueue()
7593 chk->rec.data.tsn); in sctp_move_to_outqueue()
7611 asoc->out_tsnlog[asoc->tsn_out_at].tsn = chk->rec.data.tsn; in sctp_move_to_outqueue()
7624 dchkh->dp.tsn = htonl(chk->rec.data.tsn); in sctp_move_to_outqueue()
[all …]
/freebsd/contrib/netbsd-tests/lib/libc/sys/
H A Dt_nanosleep.c71 struct timespec ts1, ts2, tsn; in ATF_TC_BODY() local
76 tsn.tv_sec = 0; in ATF_TC_BODY()
77 tsn.tv_nsec = i; in ATF_TC_BODY()
83 ATF_REQUIRE(nanosleep(&tsn, NULL) == 0); in ATF_TC_BODY()
95 (unsigned long long)tsn.tv_sec, tsn.tv_nsec, in ATF_TC_BODY()
100 "(resolution = %lu nsec)", tsn.tv_nsec); in ATF_TC_BODY()
143 struct timespec tsn, tsr; in ATF_TC_BODY() local
160 tsn.tv_sec = 10; in ATF_TC_BODY()
161 tsn.tv_nsec = 0; in ATF_TC_BODY()
168 if (nanosleep(&tsn, &tsr) != -1) in ATF_TC_BODY()
/freebsd/tools/tools/net80211/scripts/
H A Dsetup.tsn3 # Script for testing TSN support.
10 SSID=$SSID-tsn
12 CONF=$TMPDIR/tsn-$WLAN.conf
29 tsn=1
43 ifconfig $WLAN tsn
/freebsd/sys/contrib/device-tree/Bindings/net/dsa/
H A Dhirschmann,hellcreek.yaml7 title: Hirschmann Hellcreek TSN Switch
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";
/freebsd/lib/libc/net/
H A Dsctp_recvmsg.3210 field holds a transport sequence number (TSN) that was assigned
213 than the path MTU this will be the only TSN assigned.
223 or smaller than the TSN assigned to the message itself.
280 uint32_t rcv_cumtsn; /* The cumulative TSN */
/freebsd/contrib/tcpdump/
H A Dprint-sctp.c131 { SCTP_FORWARD_CUM_TSN, "FOR CUM TSN" },
344 nd_uint32_t TSN; member
585 ND_PRINT("[TSN: %u] ", GET_BE_U_4(dataHdrPtr->TSN)); in sctp_print()
646 ND_PRINT("[init TSN: %u] ", GET_BE_U_4(init->initialTSN)); in sctp_print()
674 ND_PRINT("[init TSN: %u] ", GET_BE_U_4(init->initialTSN)); in sctp_print()
734 ND_PRINT("\n\t\t[dup TSN #%u: %u] ", tsnNo+1, in sctp_print()
/freebsd/sys/contrib/device-tree/Bindings/net/
H A Drenesas,ethertsn.yaml7 title: Renesas Ethernet TSN End-station
28 - description: TSN End Station target
H A Dfsl,enetc.yaml13 and a full range of TSN standards and NIC offload capabilities
H A Dengleder,tsnep.yaml7 title: TSN endpoint Ethernet MAC
/freebsd/usr.bin/netstat/
H A Dsctp.c673 p1a(sctps_pdrptsnnf, "\t\t{:tsn-not-found/%ju} " in sctp_stats()
674 "{N:/failed to find TSN}\n"); in sctp_stats()
675 p1a(sctps_pdrpdnfnd, "\t\t{:reverse-tsn/%ju} " in sctp_stats()
676 "{N:/attempt reverse TSN lookup}\n"); in sctp_stats()
682 "{N:/data did not match TSN}\n"); in sctp_stats()
683 p(sctps_pdrpmark, "\t\t{:tsn-marked-fast-retransmission/%ju} " in sctp_stats()
684 "{N:/TSN'%s marked for Fast Retran}\n"); in sctp_stats()
825 p(sctps_fwdtsn_map_over, "\t{:tsn-map-overruns/%ju} " in sctp_stats()
826 "{N:/number of map array over-run%s via fwd-tsn's}\n"); in sctp_stats()
/freebsd/sys/contrib/device-tree/src/arm/nxp/ls/
H A Dls1021a-tsn.dts10 model = "NXP LS1021A-TSN Board";
11 compatible = "fsl,ls1021a-tsn", "fsl,ls1021a";
/freebsd/sys/contrib/device-tree/src/arm64/freescale/
H A Dfsl-ls1028a-kontron-sl28-var2.dts16 model = "Kontron SMARC-sAL28 (TSN-on-module)";
H A Dfsl-ls1028a-kontron-sl28-var1.dts7 * port is connected via RGMII. This port is not TSN aware.
/freebsd/sys/contrib/device-tree/Bindings/arm/
H A Dmicrochip,sparx5.yaml14 gigabit TSN-capable gigabit switches.
/freebsd/share/misc/
H A Diso639479 tn tsn tsn Tswana
/freebsd/sys/dev/etherswitch/felix/
H A Dfelix_var.h34 #define FELIX_DEV_NAME "Felix TSN Switch driver"

123