From 0cccc9ff282d1bc429495d8e194cef7de10b7db7 Mon Sep 17 00:00:00 2001 From: Andrii Nakryiko Date: Fri, 10 Jan 2020 10:48:22 -0800 Subject: [PATCH] sync: auto-generate latest BPF helpers Latest changes to BPF helper definitions. --- src/bpf_helper_defs.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/bpf_helper_defs.h b/src/bpf_helper_defs.h index 1f357f6..247c98f 100644 --- a/src/bpf_helper_defs.h +++ b/src/bpf_helper_defs.h @@ -2756,4 +2756,15 @@ static int (*bpf_probe_read_user_str)(void *dst, __u32 size, const void *unsafe_ */ static int (*bpf_probe_read_kernel_str)(void *dst, __u32 size, const void *unsafe_ptr) = (void *) 115; +/* + * bpf_tcp_send_ack + * + * Send out a tcp-ack. *tp* is the in-kernel struct tcp_sock. + * *rcv_nxt* is the ack_seq to be sent out. + * + * Returns + * 0 on success, or a negative error in case of failure. + */ +static int (*bpf_tcp_send_ack)(void *tp, __u32 rcv_nxt) = (void *) 116; +