tools: bpftool: copy JSON writer from iproute2 repository
authorQuentin Monnet <quentin.monnet@netronome.com>
Mon, 23 Oct 2017 16:24:05 +0000 (09:24 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Oct 2017 00:25:08 +0000 (01:25 +0100)
commitb66e907cfee240a09a4b5aabf950a0d4c8da8d32
tree8e2035f10fa6353f08b85b13a87db87305b405e1
parent4c4fde210ce665d400e5d859a62e792dcb1bbf37
tools: bpftool: copy JSON writer from iproute2 repository

In prevision of following commits, supposed to add JSON output to the
tool, two files are copied from the iproute2 repository (taken at commit
268a9eee985f): lib/json_writer.c and include/json_writer.h.

Signed-off-by: Quentin Monnet <quentin.monnet@netronome.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/bpf/bpftool/json_writer.c [new file with mode: 0644]
tools/bpf/bpftool/json_writer.h [new file with mode: 0644]