History

bpf, docs: Fix bpf_redirect_peer header doc

Amend the bpf_redirect_peer() header documentation to also mention support for the netkit device type.

Victor Stewart committed 2 years ago

Commit f98df791 parent 4eaafe51 file · +3 −3Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/linux/bpf.h+3−3
@@ -4839,9 +4839,9 @@ union bpf_attr { · 4838 unmodified lines
4839 * going through the CPU's backlog queue.4839 * going through the CPU's backlog queue.
4840 *4840 *
4841 * The *flags* argument is reserved and must be 0. The helper is4841 * The *flags* argument is reserved and must be 0. The helper is
4842 * currently only supported for tc BPF program types at the ingress4842 * currently only supported for tc BPF program types at the
4843 * hook and for veth device types. The peer device must reside in a4843 * ingress hook and for veth and netkit target device types. The
4844 * different network namespace.4844 * peer device must reside in a different network namespace.
4845 * Return4845 * Return
4846 * The helper returns **TC_ACT_REDIRECT** on success or4846 * The helper returns **TC_ACT_REDIRECT** on success or
4847 * **TC_ACT_SHOT** on error.4847 * **TC_ACT_SHOT** on error.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t