nareshkamboju

include/uapi/linux/bpf.h

Dec 15th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.88 KB | None | 0 0
  1.  union bpf_attr {
  2.         struct { /* anonymous struct used by BPF_MAP_CREATE command */
  3. @@ -113,7 +231,14 @@
  4.                 __u32   key_size;       /* size of key in bytes */
  5.                 __u32   value_size;     /* size of value in bytes */
  6.                 __u32   max_entries;    /* max number of entries in a map */
  7. -               __u32   map_flags;      /* prealloc or not */
  8. +               __u32   map_flags;      /* BPF_MAP_CREATE related
  9. +                                        * flags defined above.
  10. +                                        */
  11. +               __u32   inner_map_fd;   /* fd pointing to the inner map */
  12. +               __u32   numa_node;      /* numa node (effective only if
  13. +                                        * BPF_F_NUMA_NODE is set).
  14. +                                        */
  15. +               char    map_name[BPF_OBJ_NAME_LEN];
  16.         };
Add Comment
Please, Sign In to add comment