Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/progs/
Dbpf_cubic.c273 __u32 acked) in bictcp_update() argument
278 ca->ack_cnt += acked; /* count the number of ACKed packets */ in bictcp_update()
296 ca->ack_cnt = acked; /* start counting */ in bictcp_update()
387 void BPF_STRUCT_OPS(bpf_cubic_cong_avoid, struct sock *sk, __u32 ack, __u32 acked) in BPF_STRUCT_OPS() argument
398 acked = tcp_slow_start(tp, acked); in BPF_STRUCT_OPS()
399 if (!acked) in BPF_STRUCT_OPS()
402 bictcp_update(ca, tp->snd_cwnd, acked); in BPF_STRUCT_OPS()
403 tcp_cong_avoid_ai(tp, ca->cnt, acked); in BPF_STRUCT_OPS()
Dbpf_dctcp.c222 extern void tcp_reno_cong_avoid(struct sock *sk, __u32 ack, __u32 acked) __ksym;
225 void BPF_PROG(dctcp_cong_avoid, struct sock *sk, __u32 ack, __u32 acked) in BPF_PROG() argument
227 tcp_reno_cong_avoid(sk, ack, acked); in BPF_PROG()
/tools/testing/selftests/bpf/
Dbpf_tcp_helpers.h166 void (*cong_avoid)(struct sock *sk, __u32 ack, __u32 acked);
225 extern __u32 tcp_slow_start(struct tcp_sock *tp, __u32 acked) __ksym;
226 extern void tcp_cong_avoid_ai(struct tcp_sock *tp, __u32 w, __u32 acked) __ksym;