sync: auto-generate latest BPF helpers

Latest changes to BPF helper definitions.
This commit is contained in:
Andrii Nakryiko
2020-01-10 10:48:22 -08:00
committed by Andrii Nakryiko
parent b50eb28758
commit 0cccc9ff28

View File

@@ -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;