Flags specified on map creation, see MapFlags
For offloading, ifindex of network device to create the map on (since Linux 4.16)
For map-in-map types: parameters for the inner map, or FD of an existing map to clone parameters from. The passed map's lifetime isn't affected in any way.
Size of every key, in bytes
Maximum amount of entries: the meaning of this is type-dependent
Map name (might get truncated if longer than OBJ_NAME_LEN) (since Linux 4.15)
NUMA node on which to store the map (since Linux 4.15)
Map type. This decides the available operations and their semantics. Keep in mind that not all of the types may be supported by your kernel.
Size of every value, in bytes
Generated using TypeDoc
Parameters to create an eBPF map.
After the map is created, the parameters may be different because of rounding, truncating or type-dependent behaviour.