]> git.ipfire.org Git - thirdparty/iproute2.git/commit
ip: iplink_xdp.c: add json output support
authorJulien Fortin <julien@cumulusnetworks.com>
Thu, 17 Aug 2017 17:36:05 +0000 (10:36 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Fri, 18 Aug 2017 01:02:41 +0000 (18:02 -0700)
commit2f26065e254352ec95d92e58ffd478de58fb98d6
tree3873f140a558b2b648aa6668906d06fda8999642
parent3b98d9b804e010b3c890672ad6fefe2c7400145c
ip: iplink_xdp.c: add json output support

Schema
{
    "attached": {
        "type": "uint",
        "attr": "IFLA_XDP_ATTACHED"
    },
    "prog_id": {
        "type": "uint",
        "attr": "IFLA_XDP_PROG_ID"
    }
}

Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
ip/iplink_xdp.c