]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - tools/include/uapi/linux/bpf.h
bpf: allocate 0x06 to new eBPF instruction class JMP32
[linux.git] / tools / include / uapi / linux / bpf.h
index 91c43884f295f60a85268ddf0020bf8aa47f8329..60b99b730a41857a0bac432af81b294f1df7877e 100644 (file)
@@ -14,6 +14,7 @@
 /* Extended instruction set based on top of classic BPF */
 
 /* instruction classes */
+#define BPF_JMP32      0x06    /* jmp mode in word width */
 #define BPF_ALU64      0x07    /* alu mode in double word width */
 
 /* ld/ldx fields */
@@ -2540,6 +2541,7 @@ struct __sk_buff {
        __bpf_md_ptr(struct bpf_flow_keys *, flow_keys);
        __u64 tstamp;
        __u32 wire_len;
+       __u32 gso_segs;
 };
 
 struct bpf_tunnel_key {