diff options
| author | Paul Chaignon <paul.chaignon@gmail.com> | 2023-11-07 22:55:21 +0100 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2023-11-09 18:26:45 +0000 |
| commit | d101c824dacdc6a2bc7d75eff07106452e71c5dc (patch) | |
| tree | 3dc6bcb9b563c294ae43993a9b36a8c0d47e36b1 /vm/starnix | |
| parent | eb146eaf8a525cbaaf511a013d0dbb70bb1207b9 (diff) | |
sys/linux: add BPF_RB_* flags for ringbuf helpers
BPF helpers bpf_ringbuf_{discard,submit,output} take a set of flags.
This commit describes those flags.
The default is a zero value, but the kernel doesn't have a macro for
that. Thus, "0" is simply added to the flag definition.
Note bpf_ringbuf_reserve also has a flags argument, but it is currently
unused on the kernel side.
Signed-off-by: Paul Chaignon <paul.chaignon@gmail.com>
Diffstat (limited to 'vm/starnix')
0 files changed, 0 insertions, 0 deletions
