Home
last modified time | relevance | path

Searched refs:tcpcb (Results 1 – 16 of 16) sorted by relevance

/openthread-latest/third_party/tcplp/bsdtcp/
Dtcp_var.h133 #define tcp6cb tcpcb /* for KAME src sync over BSD*'s */
180 struct tcpcb { struct
380 void initialize_tcb(struct tcpcb* tp); argument
385 void tcp_state_change(struct tcpcb *, int);
386 tcp_seq tcp_new_isn(struct tcpcb *);
387 struct tcpcb *tcp_close(struct tcpcb *);
388 struct tcpcb *tcp_drop(struct tcpcb *, int);
390 tcp_respond(struct tcpcb *tp, otInstance* instance, struct ip6_hdr* ip6gen, struct tcphdr *thgen,
392 void tcp_setpersist(struct tcpcb *);
393 void cc_cong_signal(struct tcpcb *tp, struct tcphdr *th, uint32_t type);
[all …]
Dtcp_timer.h143 int tcp_timer_active(struct tcpcb *tp, uint32_t timer_type);
144 void tcp_timer_activate(struct tcpcb *tp, uint32_t timer_type, uint32_t delta);
145 void tcp_cancel_timers(struct tcpcb* tp);
161 int tcp_timer_delack(struct tcpcb* tp);
162 int tcp_timer_keep(struct tcpcb* tp);
163 int tcp_timer_persist(struct tcpcb* tp);
164 int tcp_timer_2msl(struct tcpcb* tp);
165 int tcp_timer_rexmt(struct tcpcb *tp);
166 int tcp_timer_active(struct tcpcb *tp, uint32_t timer_type);
Dtcp_subr.c56 tcp_seq tcp_new_isn(struct tcpcb* tp) { in tcp_new_isn()
77 tcp_state_change(struct tcpcb *tp, int newstate) in tcp_state_change()
95 void initialize_tcb(struct tcpcb* tp) { in initialize_tcb()
99 …memset(((uint8_t*) tp) + offsetof(struct tcpcb, laddr), 0x00, sizeof(struct tcpcb) - offsetof(stru… in initialize_tcb()
159 tcp_discardcb(struct tcpcb *tp) in tcp_discardcb()
181 struct tcpcb *
182 tcp_close(struct tcpcb *tp) in tcp_close()
208 tcpip_maketemplate(struct tcpcb* tp, struct tcptemp* t) in tcpip_maketemplate()
226 tcpip_fillheaders(struct tcpcb* tp, otMessageInfo* ip_ptr, void *tcp_ptr) in tcpip_fillheaders()
294 tcp_respond(struct tcpcb *tp, otInstance* instance, struct ip6_hdr* ip6gen, struct tcphdr *thgen, in tcp_respond()
[all …]
Dtcp_usrreq.c55 static void tcp_usrclosed(struct tcpcb *);
65 static int in6_pcbconnect(struct tcpcb* tp, struct sockaddr_in6* nam) { in in6_pcbconnect()
87 tcp6_connect(struct tcpcb *tp, struct sockaddr_in6 *nam) in tcp6_connect()
159 tcp6_usr_connect(struct tcpcb* tp, struct sockaddr_in6* sin6p) in tcp6_usr_connect()
254 int tcp_usr_send(struct tcpcb* tp, int moretocome, otLinkedBuffer* data, size_t extendby, struct so… in tcp_usr_send()
359 tcp_usr_rcvd(struct tcpcb* tp) in tcp_usr_rcvd()
406 tcp_usr_shutdown(struct tcpcb* tp) in tcp_usr_shutdown()
449 tcp_usrclosed(struct tcpcb *tp) in tcp_usrclosed()
512 tcp_usr_abort(struct tcpcb* tp) in tcp_usr_abort()
Dtcp_sack.c106 tcp_sack_init(struct tcpcb* tp) in tcp_sack_init()
111 struct sackhole* sackhole_alloc(struct tcpcb* tp) { in sackhole_alloc()
120 void sackhole_free(struct tcpcb* tp, struct sackhole* tofree) { in sackhole_free()
140 tcp_update_sack_list(struct tcpcb *tp, tcp_seq rcv_start, tcp_seq rcv_end) in tcp_update_sack_list()
225 tcp_clean_sackreport(struct tcpcb *tp) in tcp_clean_sackreport()
238 tcp_sackhole_alloc(struct tcpcb *tp, tcp_seq start, tcp_seq end) in tcp_sackhole_alloc()
270 tcp_sackhole_free(struct tcpcb *tp, struct sackhole *hole) in tcp_sackhole_free()
283 tcp_sackhole_insert(struct tcpcb *tp, tcp_seq start, tcp_seq end, in tcp_sackhole_insert()
310 tcp_sackhole_remove(struct tcpcb *tp, struct sackhole *hole) in tcp_sackhole_remove()
330 tcp_sack_doack(struct tcpcb *tp, struct tcpopt *to, tcp_seq th_ack) in tcp_sack_doack()
[all …]
Dtcp_fastopen.h94 int tcp_fastopen_check_cookie(struct tcpcb*, uint8_t *, unsigned int,
96 void tcp_fastopen_connect(struct tcpcb *);
97 void tcp_fastopen_disable_path(struct tcpcb *);
98 void tcp_fastopen_update_cache(struct tcpcb *, uint16_t, uint8_t,
Dtcp_timer.c67 tcp_timer_delack(struct tcpcb* tp) in tcp_timer_delack()
88 tcp_timer_keep(struct tcpcb* tp) in tcp_timer_keep()
172 tcp_timer_persist(struct tcpcb* tp) in tcp_timer_persist()
240 tcp_timer_2msl(struct tcpcb* tp) in tcp_timer_2msl()
331 tcp_timer_rexmt(struct tcpcb *tp) in tcp_timer_rexmt()
470 tcp_timer_active(struct tcpcb *tp, uint32_t timer_type) in tcp_timer_active()
476 tcp_timer_activate(struct tcpcb *tp, uint32_t timer_type, uint32_t delta) { in tcp_timer_activate()
490 tcp_cancel_timers(struct tcpcb* tp) { in tcp_cancel_timers()
Dtcp_timewait.c93 tcp_tw_2msl_reset(struct tcpcb* tp, int rearm) in tcp_tw_2msl_reset()
121 tcp_twrespond(struct tcpcb* tp, int flags) in tcp_twrespond()
187 tcp_twstart(struct tcpcb *tp) in tcp_twstart()
309 tcp_twcheck(struct tcpcb* tp, struct tcphdr *th, int tlen) in tcp_twcheck()
Dtcp_input.c106 struct tcpcb *tp, int drop_hdrlen, int tlen, uint8_t iptos,
108 static void tcp_xmit_timer(struct tcpcb *, int);
109 void tcp_hc_get(/*struct in_conninfo *inc*/ struct tcpcb* tp, struct hc_metrics_lite *hc_metrics_li…
110 static void tcp_newreno_partial_ack(struct tcpcb *, struct tcphdr *);
116 cc_ack_received(struct tcpcb *tp, struct tcphdr *th, uint16_t type) in cc_ack_received()
146 cc_conn_init(struct tcpcb *tp) in cc_conn_init()
222 cc_cong_signal(struct tcpcb *tp, struct tcphdr *th, uint32_t type) in cc_cong_signal()
292 cc_post_recovery(struct tcpcb *tp, struct tcphdr *th) in cc_post_recovery()
324 cc_ecnpkt_handler(struct tcpcb *tp, struct tcphdr *th, uint8_t iptos) in cc_ecnpkt_handler()
369 tcp_hc_get(struct tcpcb* tp, struct hc_metrics_lite *hc_metrics_lite) in tcp_hc_get()
[all …]
Dcc.h81 struct tcpcb *tcp;
Dtcp_reass.c54 tcp_reass(struct tcpcb* tp, struct tcphdr* th, int* tlenp, otMessage* data, off_t data_offset, stru… in tcp_reass()
121 tcp_reass(struct tcpcb *tp, struct tcphdr *th, int *tlenp, struct mbuf *m)
Dtcp_fastopen.c646 tcp_fastopen_check_cookie(struct tcpcb* tp, uint8_t *cookie, in tcp_fastopen_check_cookie()
921 tcp_fastopen_connect(struct tcpcb *tp) in tcp_fastopen_connect()
1022 tcp_fastopen_disable_path(struct tcpcb *tp) in tcp_fastopen_disable_path()
1049 tcp_fastopen_update_cache(struct tcpcb *tp, uint16_t mss, in tcp_fastopen_update_cache()
Dtcp_output.c52 cc_after_idle(struct tcpcb *tp) in cc_after_idle()
78 tcp_setpersist(struct tcpcb *tp) in tcp_setpersist()
100 tcp_output(struct tcpcb *tp) in tcp_output()
/openthread-latest/third_party/tcplp/
Dtcplp.h58 struct tcpcb* accepted_connection;
75 void tcplp_sys_set_timer(struct tcpcb *aTcb, uint8_t aTimerFlag, uint32_t aDelay);
76 void tcplp_sys_stop_timer(struct tcpcb *aTcb, uint8_t aTimerFlag);
77 struct tcpcb *tcplp_sys_accept_ready(struct tcpcb_listen *aTcbListen, struct in6_addr *aAddr, uint1…
79 struct tcpcb * aAccepted,
82 void tcplp_sys_connection_lost(struct tcpcb *aTcb, uint8_t aErrNum);
83 void tcplp_sys_on_state_change(struct tcpcb *aTcb, int aNewState);
/openthread-latest/src/core/net/
Dtcp6.hpp55 struct tcpcb;
65 void tcplp_sys_set_timer(struct tcpcb *aTcb, uint8_t aTimerFlag, uint32_t aDelay);
68 void tcplp_sys_stop_timer(struct tcpcb *aTcb, uint8_t aTimerFlag);
342 … static Endpoint &FromTcb(struct tcpcb &aTcb) { return *reinterpret_cast<Endpoint *>(&aTcb); } in FromTcb()
347 struct tcpcb &GetTcb(void) { return *reinterpret_cast<struct tcpcb *>(&mTcb); } in GetTcb()
352 … const struct tcpcb &GetTcb(void) const { return *reinterpret_cast<const struct tcpcb *>(&mTcb); } in GetTcb()
360 friend void ::tcplp_sys_set_timer(struct tcpcb *aTcb, uint8_t aTimerFlag, uint32_t aDelay);
361 friend void ::tcplp_sys_stop_timer(struct tcpcb *aTcb, uint8_t aTimerFlag);
Dtcp6.cpp47 static_assert(sizeof(struct tcpcb) == sizeof(Tcp::Endpoint::mTcb), "mTcb field in otTcpEndpoint is …
48 static_assert(alignof(struct tcpcb) == alignof(decltype(Tcp::Endpoint::mTcb)),
70 struct tcpcb &tp = GetTcb(); in Initialize()
116 const struct tcpcb &tp = GetTcb(); in GetLocalAddress()
128 const struct tcpcb &tp = GetTcb(); in GetPeerAddress()
141 struct tcpcb &tp = GetTcb(); in Bind()
157 struct tcpcb &tp = GetTcb(); in Connect()
186 struct tcpcb &tp = GetTcb(); in SendByReference()
213 struct tcpcb &tp = GetTcb(); in SendByExtension()
240 struct tcpcb &tp = GetTcb(); in ReceiveByReference()
[all …]