Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MapInfo

Information reported about an eBPF map.

After the map is created, the parameters may be different because of rounding, truncating or type-dependent behaviour.

Optional parameters are present if the running kernel version supports them.

Hierarchy

Index

Properties

flags: number

Flags specified on map creation, see MapFlags

id?: number

Map ID (since Linux 4.13)

ifindex?: number

For offloading, ifindex of network device the map was created on (reported since Linux 4.16)

keySize: number

Size of every key, in bytes

maxEntries: number

Maximum amount of entries: the meaning of this is type-dependent

name?: string

Map name (might get truncated if longer than OBJ_NAME_LEN) (since Linux 4.15)

netnsDev?: bigint
netnsIno?: bigint
type: MapType

Map type. This decides the available operations and their semantics.

valueSize: number

Size of every value, in bytes

Generated using TypeDoc