Allow the use of custom keys in BPF_HASH_OF_MAPS (#3500)
authormasibw <masi19bw@gmail.com>
Tue, 22 Jun 2021 06:18:23 +0000 (15:18 +0900)
committerGitHub <noreply@github.com>
Tue, 22 Jun 2021 06:18:23 +0000 (23:18 -0700)
commit722cf83941879c52ebea5e5a1692b2976de6ad62
treeb8fb26bc3c5e07cd9e4c1b6b375667f732bd049c
parentc60bd48a857a4099dec7dc846ab8cc27e26650a2
Allow the use of custom keys in BPF_HASH_OF_MAPS (#3500)

 - Allow the use of custom keys in BPF_HASH_OF_MAPS
 - Add both python and C++ tests
src/cc/api/BPF.cc
src/cc/api/BPF.h
src/cc/api/BPFTable.cc
src/cc/api/BPFTable.h
src/cc/export/helpers.h
tests/cc/test_map_in_map.cc
tests/python/CMakeLists.txt
tests/python/test_map_in_map.py