diff options
| author | Paul Chaignon <paul.chaignon@gmail.com> | 2023-05-06 23:50:25 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2023-08-25 14:18:37 +0000 |
| commit | 7481b108ac4af790dfc163514c6dc3a1ff5f3902 (patch) | |
| tree | bff6967d55afa66480084ed1314bdc17f309f97b /executor/executor_linux.h | |
| parent | b64118ab2f7c483d4d00a7d022230a96d88c8af6 (diff) | |
sys/linux: cover live packet mode for BPF_PROG_RUN
Commit [1] upstream added a new mode for the BPF command BPF_PROG_RUN
when used with XDP program (type BPF_PROG_TYPE_XDP). This new mode
allows injecting packets to the network stack after they have been
processed by the test BPF program.
This new mode expects specific arguments. Specifically, only the
BPF_F_TEST_XDP_LIVE_FRAMES flag is accepted and data_out & ctx_out must
be NULL.
1 - https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b530e9e1063ed
Signed-off-by: Paul Chaignon <paul.chaignon@gmail.com>
Diffstat (limited to 'executor/executor_linux.h')
0 files changed, 0 insertions, 0 deletions
