]> rtime.felk.cvut.cz Git - zynq/linux.git/blobdiff - include/linux/bpf.h
Merge tag 'v4.0.8' into xlnx_4.0.8-rt6
[zynq/linux.git] / include / linux / bpf.h
index bbfceb7564523bc5e17037e25663185aee02311e..33b52fb0e20f647c1b65e5e86f1867fb103ecd15 100644 (file)
@@ -48,7 +48,7 @@ struct bpf_map *bpf_map_get(struct fd f);
 
 /* function argument constraints */
 enum bpf_arg_type {
-       ARG_ANYTHING = 0,       /* any argument is ok */
+       ARG_DONTCARE = 0,       /* unused argument in helper function */
 
        /* the following constraints used to prototype
         * bpf_map_lookup/update/delete_elem() functions
@@ -62,6 +62,8 @@ enum bpf_arg_type {
         */
        ARG_PTR_TO_STACK,       /* any pointer to eBPF program stack */
        ARG_CONST_STACK_SIZE,   /* number of bytes accessed from stack */
+
+       ARG_ANYTHING,           /* any (initialized) argument is ok */
 };
 
 /* type of values returned from helper functions */