Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/tcp_stacks/rack_bbr_common.c
Show First 20 Lines • Show All 527 Lines • ▼ Show 20 Lines | ctf_do_queued_segments(struct socket *so, struct tcpcb *tp, int have_pkt) | ||||
if (tp->t_in_pkt) { | if (tp->t_in_pkt) { | ||||
m = tp->t_in_pkt; | m = tp->t_in_pkt; | ||||
tp->t_in_pkt = NULL; | tp->t_in_pkt = NULL; | ||||
tp->t_tail_pkt = NULL; | tp->t_tail_pkt = NULL; | ||||
if (ctf_process_inbound_raw(tp, so, m, have_pkt)) { | if (ctf_process_inbound_raw(tp, so, m, have_pkt)) { | ||||
/* We lost the tcpcb (maybe a RST came in)? */ | /* We lost the tcpcb (maybe a RST came in)? */ | ||||
return(1); | return(1); | ||||
} | } | ||||
tcp_handle_wakeup(tp, so); | |||||
} | } | ||||
return (0); | return (0); | ||||
} | } | ||||
uint32_t | uint32_t | ||||
ctf_outstanding(struct tcpcb *tp) | ctf_outstanding(struct tcpcb *tp) | ||||
{ | { | ||||
uint32_t bytes_out; | uint32_t bytes_out; | ||||
▲ Show 20 Lines • Show All 487 Lines • Show Last 20 Lines |