Re: [PATCH bpf-next] tools: bpftool: make it easier to feed hex bytes to bpftool

2018-04-18 Thread Daniel Borkmann
On 04/18/2018 04:46 AM, Jakub Kicinski wrote: > From: Quentin Monnet > > bpftool uses hexadecimal values when it dumps map contents: > > # bpftool map dump id 1337 > key: ff 13 37 ff value: a1 b2 c3 d4 ff ff ff ff > Found 1 element > > In order to

[PATCH bpf-next] tools: bpftool: make it easier to feed hex bytes to bpftool

2018-04-17 Thread Jakub Kicinski
From: Quentin Monnet bpftool uses hexadecimal values when it dumps map contents: # bpftool map dump id 1337 key: ff 13 37 ff value: a1 b2 c3 d4 ff ff ff ff Found 1 element In order to lookup or update values with bpftool, the natural reflex is then to