Home
last modified time | relevance | path

Searched refs:acked (Results 1 – 3 of 3) sorted by relevance

/tools/testing/selftests/bpf/progs/
Dbpf_cubic.c267 __u32 acked) in bictcp_update() argument
272 ca->ack_cnt += acked; /* count the number of ACKed packets */ in bictcp_update()
290 ca->ack_cnt = acked; /* start counting */ in bictcp_update()
381 void BPF_STRUCT_OPS(bpf_cubic_cong_avoid, struct sock *sk, __u32 ack, __u32 acked) in BPF_STRUCT_OPS() argument
392 acked = tcp_slow_start(tp, acked); in BPF_STRUCT_OPS()
393 if (!acked) in BPF_STRUCT_OPS()
396 bictcp_update(ca, tp->snd_cwnd, acked); in BPF_STRUCT_OPS()
397 tcp_cong_avoid_ai(tp, ca->cnt, acked); in BPF_STRUCT_OPS()
Dbpf_dctcp.c231 extern void tcp_reno_cong_avoid(struct sock *sk, __u32 ack, __u32 acked) __ksym;
234 void BPF_PROG(dctcp_cong_avoid, struct sock *sk, __u32 ack, __u32 acked) in BPF_PROG() argument
236 tcp_reno_cong_avoid(sk, ack, acked); in BPF_PROG()
/tools/testing/selftests/bpf/
Dbpf_tcp_helpers.h171 void (*cong_avoid)(struct sock *sk, __u32 ack, __u32 acked);
230 extern __u32 tcp_slow_start(struct tcp_sock *tp, __u32 acked) __ksym;
231 extern void tcp_cong_avoid_ai(struct tcp_sock *tp, __u32 w, __u32 acked) __ksym;