Versions in this module Expand all Collapse all v0 v0.1.1 Jul 17, 2023 Changes in this version + func MapCreate(attr *MapCreateAttr) (uintptr, error) + type Cmd uint32 + const BPF_MAP_CREATE + type MapCreateAttr struct + BtfFd uint32 + BtfKeyTypeId TypeID + BtfValueTypeId TypeID + BtfVmlinuxValueTypeId TypeID + InnerMapFd uint32 + KeySize uint32 + MapExtra uint64 + MapFlags MapFlags + MapIfindex uint32 + MapName ObjName + MapType MapType + MaxEntries uint32 + NumaNode uint32 + ValueSize uint32 + type MapFlags uint32 + type MapType uint32 + type ObjName [unix.BPF_OBJ_NAME_LEN]byte + type TypeID uint32