Home
last modified time | relevance | path

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

/external/openthread/third_party/tcplp/bsdtcp/
Dtcp_var.h131 #define tcp6cb tcpcb /* for KAME src sync over BSD*'s */
178 struct tcpcb { struct
370 void initialize_tcb(struct tcpcb* tp);
375 void tcp_state_change(struct tcpcb *, int);
376 tcp_seq tcp_new_isn(struct tcpcb *);
377 struct tcpcb *tcp_close(struct tcpcb *);
378 struct tcpcb *tcp_drop(struct tcpcb *, int);
380 tcp_respond(struct tcpcb *tp, otInstance* instance, struct ip6_hdr* ip6gen, struct tcphdr *thgen,
382 void tcp_setpersist(struct tcpcb *);
383 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.c55 tcp_seq tcp_new_isn(struct tcpcb* tp) { in tcp_new_isn()
75 tcp_state_change(struct tcpcb *tp, int newstate) in tcp_state_change()
93 __attribute__((used)) void initialize_tcb(struct tcpcb* tp) { in initialize_tcb()
97 …memset(((uint8_t*) tp) + offsetof(struct tcpcb, laddr), 0x00, sizeof(struct tcpcb) - offsetof(stru… in initialize_tcb()
157 tcp_discardcb(struct tcpcb *tp) in tcp_discardcb()
179 struct tcpcb *
180 tcp_close(struct tcpcb *tp) in tcp_close()
198 tcpip_maketemplate(struct tcpcb* tp, struct tcptemp* t) in tcpip_maketemplate()
216 tcpip_fillheaders(struct tcpcb* tp, otMessageInfo* ip_ptr, void *tcp_ptr) in tcpip_fillheaders()
284 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) in tcp_usr_send()
351 tcp_usr_rcvd(struct tcpcb* tp) in tcp_usr_rcvd()
387 tcp_usr_shutdown(struct tcpcb* tp) in tcp_usr_shutdown()
430 tcp_usrclosed(struct tcpcb *tp) in tcp_usrclosed()
493 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_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.c105 struct tcpcb *tp, int drop_hdrlen, int tlen, uint8_t iptos,
107 static void tcp_xmit_timer(struct tcpcb *, int);
108 void tcp_hc_get(/*struct in_conninfo *inc*/ struct tcpcb* tp, struct hc_metrics_lite *hc_metrics_li…
109 static void tcp_newreno_partial_ack(struct tcpcb *, struct tcphdr *);
115 cc_ack_received(struct tcpcb *tp, struct tcphdr *th, uint16_t type) in cc_ack_received()
145 cc_conn_init(struct tcpcb *tp) in cc_conn_init()
221 cc_cong_signal(struct tcpcb *tp, struct tcphdr *th, uint32_t type) in cc_cong_signal()
287 cc_post_recovery(struct tcpcb *tp, struct tcphdr *th) in cc_post_recovery()
319 cc_ecnpkt_handler(struct tcpcb *tp, struct tcphdr *th, uint8_t iptos) in cc_ecnpkt_handler()
364 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_output.c51 cc_after_idle(struct tcpcb *tp) in cc_after_idle()
77 tcp_setpersist(struct tcpcb *tp) in tcp_setpersist()
99 tcp_output(struct tcpcb *tp) in tcp_output()
/external/openthread/third_party/tcplp/
Dtcplp.h74 void tcplp_sys_set_timer(struct tcpcb *tcb, uint8_t timer_flag, uint32_t delay);
75 void tcplp_sys_stop_timer(struct tcpcb *tcb, uint8_t timer_flag);
76 struct tcpcb *tcplp_sys_accept_ready(struct tcpcb_listen *tpl, struct in6_addr *addr, uint16_t port…
78 struct tcpcb * accepted,
81 void tcplp_sys_connection_lost(struct tcpcb *tcb, uint8_t errnum);
82 void tcplp_sys_on_state_change(struct tcpcb *tcb, int newstate);
/external/openthread/src/core/net/
Dtcp6.hpp55 struct tcpcb;
58 void tcplp_sys_set_timer(struct tcpcb *aTcb, uint8_t aTimerFlag, uint32_t aDelay);
59 void tcplp_sys_stop_timer(struct tcpcb *aTcb, uint8_t aTimerFlag);
350 … static Endpoint &FromTcb(struct tcpcb &aTcb) { return *reinterpret_cast<Endpoint *>(&aTcb); } in FromTcb()
355 struct tcpcb &GetTcb(void) { return *reinterpret_cast<struct tcpcb *>(&mTcb); } in GetTcb()
360 … const struct tcpcb &GetTcb(void) const { return *reinterpret_cast<const struct tcpcb *>(&mTcb); } in GetTcb()
368 friend void ::tcplp_sys_set_timer(struct tcpcb *aTcb, uint8_t aTimerFlag, uint32_t aDelay);
369 friend void ::tcplp_sys_stop_timer(struct tcpcb *aTcb, uint8_t aTimerFlag);
Dtcp6.cpp61 static_assert(sizeof(struct tcpcb) == sizeof(Tcp::Endpoint::mTcb), "mTcb field in otTcpEndpoint is …
62 static_assert(alignof(struct tcpcb) == alignof(decltype(Tcp::Endpoint::mTcb)),
84 struct tcpcb &tp = GetTcb(); in Initialize()
133 const struct tcpcb &tp = GetTcb(); in GetLocalAddress()
145 const struct tcpcb &tp = GetTcb(); in GetPeerAddress()
158 struct tcpcb &tp = GetTcb(); in Bind()
174 struct tcpcb & tp = GetTcb(); in Connect()
192 struct tcpcb &tp = GetTcb(); in SendByReference()
209 struct tcpcb &tp = GetTcb(); in SendByExtension()
226 struct tcpcb &tp = GetTcb(); in ReceiveByReference()
[all …]