commit | b900201ffe58930dcc2725cda9f39c5d1984bf39 | [log] [tgz] |
---|---|---|
author | Maciej Żenczykowski <maze@google.com> | Sun Oct 01 18:32:33 2023 +0000 |
committer | Patrick Rohr <prohr@google.com> | Mon Oct 02 16:09:05 2023 +0000 |
tree | 26967ff837e2de29e1830bace296013ac18015c6 | |
parent | f74f42b4c093dabfbc34c2feb0c986c97d2ce0ba [diff] |
rename BPF2_REJECT_IF_ANY_BITS_SET -> BPF2_REJECT_IF_ANY_MASKED_BITS_SET Test: TreeHugger Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: I54a189f0f7b73917aa3fd049fe2eca387aaca250
diff --git a/staticlibs/native/bpf_headers/include/bpf/BpfClassic.h b/staticlibs/native/bpf_headers/include/bpf/BpfClassic.h index dd0804c..034460b 100644 --- a/staticlibs/native/bpf_headers/include/bpf/BpfClassic.h +++ b/staticlibs/native/bpf_headers/include/bpf/BpfClassic.h
@@ -33,7 +33,7 @@ BPF_REJECT // *TWO* instructions: compare and if none of the bits are set jump over the reject statement -#define BPF2_REJECT_IF_ANY_BITS_SET(v) \ +#define BPF2_REJECT_IF_ANY_MASKED_BITS_SET(v) \ BPF_JUMP(BPF_JMP | BPF_JSET | BPF_K, (v), 0, 1), \ BPF_REJECT