Home
last modified time | relevance | path

Searched refs:te (Results 1 – 5 of 5) sorted by relevance

/xnu-12377.81.4/bsd/netinet/
H A Dmptcp.c275 struct tseg_qent *te = NULL; in mptcp_reass() local
296 te = tcp_reass_qent_alloc(mp_so->so_proto); in mptcp_reass()
297 if (te == NULL) { in mptcp_reass()
331 tcp_reass_qent_free(mp_so->so_proto, te); in mptcp_reass()
332 te = NULL; in mptcp_reass()
381 te->tqe_m = m; in mptcp_reass()
382 te->tqe_th = NULL; in mptcp_reass()
383 te->tqe_len = *tlenp; in mptcp_reass()
386 LIST_INSERT_HEAD(&mp_tp->mpt_segq, te, tqe_q); in mptcp_reass()
388 LIST_INSERT_AFTER(p, te, tqe_q); in mptcp_reass()
H A Dtcp_timer.c448 #define TIMERENTRY_TO_TP(te) (__unsafe_forge_single(struct tcpcb *, ((uintptr_t)te - offsetof(struc… argument
2131 struct tcptimerentry *te, *__single next_te; in tcp_run_timerlist() local
2151 LIST_FOREACH_SAFE(te, &listp->lhead, te_le, next_te) { in tcp_run_timerlist()
2153 uint32_t runtime = te->te_runtime; in tcp_run_timerlist()
2155 tp = TIMERENTRY_TO_TP(te); in tcp_run_timerlist()
2167 if (te->te_index < TCPT_NONE && TSTMP_GT(runtime, tcp_now) && in tcp_run_timerlist()
2173 list_mode |= te->te_mode; in tcp_run_timerlist()
2293 struct tcptimerentry *te = &tp->tentry; in tcp_sched_timers() local
2294 u_int16_t index = te->te_index; in tcp_sched_timers()
2295 u_int16_t mode = te->te_mode; in tcp_sched_timers()
[all …]
H A Dtcp_subr.c1688 struct tseg_qent *te; in tcp_create_reass_qent() local
1691 te = tcp_reass_qent_alloc(tp->t_inpcb->inp_socket->so_proto); in tcp_create_reass_qent()
1692 if (te == NULL) { in tcp_create_reass_qent()
1703 te->tqe_m = m; in tcp_create_reass_qent()
1704 te->tqe_th = th; in tcp_create_reass_qent()
1705 te->tqe_len = len; in tcp_create_reass_qent()
1707 return te; in tcp_create_reass_qent()
1746 tcp_reass_qent_free(struct protosw *proto, struct tseg_qent *te) in tcp_reass_qent_free() argument
1749 zfree(tcp_reass_zone, te); in tcp_reass_qent_free()
H A Dtcp_input.c544 struct tseg_qent *te = NULL; in tcp_reass() local
608 te = tcp_create_reass_qent(tp, m, th, *tlenp); in tcp_reass()
609 if (te == NULL) { in tcp_reass()
664 tmp = tcp_destroy_reass_qent(tp, te); in tcp_reass()
666 te = NULL; in tcp_reass()
677 te->tqe_len -= i; in tcp_reass()
749 LIST_INSERT_HEAD(&tp->t_segq, te, tqe_q); in tcp_reass()
751 LIST_INSERT_AFTER(p, te, tqe_q); in tcp_reass()
H A Dtcp_var.h1816 extern void tcp_reass_qent_free(struct protosw *proto, struct tseg_qent *te);