Home
last modified time | relevance | path

Searched +full:tcplp +full:- +full:buffering (Results 1 – 6 of 6) sorted by relevance

/external/openthread/.github/workflows/
Dunit.yml33 branches-ignore:
34 - 'dependabot/**'
37 - 'main'
40 …group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'opent…
41 cancel-in-progress: true
43 permissions: # added using https://github.com/step-security/secure-workflows
48 tcplp-buffering:
49 runs-on: ubuntu-24.04
51 - name: Harden Runner
52 uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
[all …]
/external/openthread/third_party/tcplp/bsdtcp/
Dtcp_timewait.c1 /*-
47 * TIME-WAIT state for TCP connections where both endpoints are local IP
49 * etc. In TCPlp, I eliminated support for this feature, but I have kept the
63 * struct tcptw, to respresent connections in the TIME-WAIT state. In TCPlp,
64 * we use the full struct tcpcb structure even in the TIME-WAIT state. This
80 * "closing" states of the TCP state machine. But when the TIME-WAIT state was
84 * of all the struct tcptw and checks the tw->tw_time field to identify which
85 * TIME-WAIT sockets have expired.
87 * In our switch to using struct tcpcb even in the TIME-WAIT state, we rely on
89 * tcp_timer.c to check for the TIME-WAIT case and handle it correctly.
[all …]
Dtcp_input.c1 /*-
4 * Copyright (c) 2007-2008,2010
6 * Copyright (c) 2009-2010 Lawrence Stewart <lstewart@freebsd.org>
8 * Copyright (c) 2010-2011 Juniper Networks, Inc.
61 * While looking at the routing entry, we also initialize other path-dependent
62 * parameters from pre-set or cached values in the routing entry.
118 tp->ccv->bytes_this_ack = BYTES_THIS_ACK(tp, th); in cc_ack_received()
119 if (tp->snd_cwnd <= tp->snd_wnd) in cc_ack_received()
120 tp->ccv->flags |= CCF_CWND_LIMITED; in cc_ack_received()
122 tp->ccv->flags &= ~CCF_CWND_LIMITED; in cc_ack_received()
[all …]
Dtcp_subr.c1 /*-
36 #include "../tcplp.h"
65 * None of that is needed for TCPlp: TCB allocation and matching is done by
81 int pstate = tp->t_state; in tcp_state_change()
84 tcplp_sys_log("Socket %p: %s --> %s", tp, tcpstates[tp->t_state], tcpstates[newstate]); in tcp_state_change()
85 tp->t_state = newstate; in tcp_state_change()
99 …memset(((uint8_t*) tp) + offsetof(struct tcpcb, laddr), 0x00, sizeof(struct tcpcb) - offsetof(stru… in initialize_tcb()
100 tp->reass_fin_index = -1; in initialize_tcb()
108 // tp->ccv->type = IPPROTO_TCP; in initialize_tcb()
109 tp->ccv->ccvc.tcp = tp; in initialize_tcb()
[all …]
Dtcp_var.h1 /*-
43 /* Dependencies on TCPlp buffering libraries. */
55 /* Implement byte-order-specific functions using OpenThread. */
112 * interface to TCPlp, and sys/queue.h pollutes the global namespace.
148 #define tpcantrcvmore(tp) (tp)->miscflags |= TCB_CANTRCVMORE
149 #define tpcantsendmore(tp) (tp)->miscflags |= TCB_CANTSENDMORE
150 #define tpiscantrcv(tp) (((tp)->miscflags & TCB_CANTRCVMORE) != 0)
151 #define tpiscantsend(tp) (((tp)->miscflags & TCB_CANTSENDMORE) != 0)
152 #define tpmarktimeractive(tp, timer) (tp)->miscflags |= timer
153 #define tpistimeractive(tp, timer) (((tp)->miscflags & timer) != 0)
[all …]
Dtcp_output.c1 /*-
35 #include "../tcplp.h"
55 if (CC_ALGO(tp)->after_idle != NULL) in cc_after_idle()
56 CC_ALGO(tp)->after_idle(tp->ccv); in cc_after_idle()
80 int t = ((tp->t_srtt >> 2) + tp->t_rttvar) >> 1; in tcp_setpersist()
83 tp->t_flags &= ~TF_PREVVALID; in tcp_setpersist()
89 TCPT_RANGESET(tt, t * tcp_backoff[tp->t_rxtshift], in tcp_setpersist()
92 if (tp->t_rxtshift < TCP_MAXRXTSHIFT) in tcp_setpersist()
93 tp->t_rxtshift++; in tcp_setpersist()
105 * for TCPlp's buffering, and using otMessages rather than mbufs to in tcplp_output()
[all …]