]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
more BPF headers update
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 10 Aug 2017 23:42:35 +0000 (16:42 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Thu, 10 Aug 2017 23:42:35 +0000 (16:42 -0700)
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
include/linux/bpf.h

index 8b3d7d3f3278683b949f8527ccbc494321f2f201..9c7c78bcecf580309cc09cac78ba7c68018ae779 100644 (file)
 #define BPF_FROM_LE    BPF_TO_LE
 #define BPF_FROM_BE    BPF_TO_BE
 
+/* jmp encodings */
 #define BPF_JNE                0x50    /* jump != */
+#define BPF_JLT                0xa0    /* LT is unsigned, '<' */
+#define BPF_JLE                0xb0    /* LE is unsigned, '<=' */
 #define BPF_JSGT       0x60    /* SGT is signed '>', GT in x86 */
 #define BPF_JSGE       0x70    /* SGE is signed '>=', GE in x86 */
+#define BPF_JSLT       0xc0    /* SLT is signed, '<' */
+#define BPF_JSLE       0xd0    /* SLE is signed, '<=' */
 #define BPF_CALL       0x80    /* function call */
 #define BPF_EXIT       0x90    /* function return */