On Wed, 18 Jul 2018 01:31:22 +0200, Daniel Borkmann wrote:
> # bpftool map dump id 386
> [{
> "key": 0,
> "value": {
> "": {
> "value": 0,
> "ifindex": 0,
> "mac": []
> }
> }
> },{
> "key": 1,
> "value": {
> "": {
> "value": 0,
> "ifindex": 0,
> "mac": []
> }
> }
> },{
> [...]
Ugh, the empty keys ("") look worrying, we should probably improve
handling of anonymous structs in bpftool :S
FWIW all the patches look nice to me! Thanks for keeping the support
for loading programs from the ".text" section :)