Commit 091f2bf6 authored by Daniel Borkmann's avatar Daniel Borkmann Committed by Alexei Starovoitov

bpf: Sync uapi bpf.h header for the tooling infra

Both commit 91051f00 ("tcp: Dump bound-only sockets in inet_diag.")
and commit 985b8ea9ec7e ("bpf, docs: Fix bpf_redirect_peer header doc")
missed the tooling header sync. Fix it.
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
parent f98df79b
...@@ -4839,9 +4839,9 @@ union bpf_attr { ...@@ -4839,9 +4839,9 @@ union bpf_attr {
* going through the CPU's backlog queue. * going through the CPU's backlog queue.
* *
* The *flags* argument is reserved and must be 0. The helper is * The *flags* argument is reserved and must be 0. The helper is
* currently only supported for tc BPF program types at the ingress * currently only supported for tc BPF program types at the
* hook and for veth device types. The peer device must reside in a * ingress hook and for veth and netkit target device types. The
* different network namespace. * peer device must reside in a different network namespace.
* Return * Return
* The helper returns **TC_ACT_REDIRECT** on success or * The helper returns **TC_ACT_REDIRECT** on success or
* **TC_ACT_SHOT** on error. * **TC_ACT_SHOT** on error.
...@@ -6904,6 +6904,7 @@ enum { ...@@ -6904,6 +6904,7 @@ enum {
BPF_TCP_LISTEN, BPF_TCP_LISTEN,
BPF_TCP_CLOSING, /* Now a valid state */ BPF_TCP_CLOSING, /* Now a valid state */
BPF_TCP_NEW_SYN_RECV, BPF_TCP_NEW_SYN_RECV,
BPF_TCP_BOUND_INACTIVE,
BPF_TCP_MAX_STATES /* Leave at the end! */ BPF_TCP_MAX_STATES /* Leave at the end! */
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment