]> granicus.if.org Git - libnl/commit
route: Add support for lwtunnel encapsulations
authorDavid Ahern <dsahern@gmail.com>
Thu, 17 Aug 2017 22:59:36 +0000 (15:59 -0700)
committerThomas Haller <thaller@redhat.com>
Fri, 18 Aug 2017 13:01:04 +0000 (15:01 +0200)
commit0164d57aee542507942b1f746d9ff3140d61658b
treea6d9f71c479c5509e414dff149af0428f8b86f5d
parent000a792c7b2b3cffa731c8170eb9c969b569d8a9
route: Add support for lwtunnel encapsulations

Add framework to support lwtunnel encapsulations per nexthop.

Encapsulations types are expected to fill in the nh_encap_ops for
building and parsing messages, compare encapsulations in routes,
dumping the encapsulations and freeing memory.

Signed-off-by: David Ahern <dsahern@gmail.com>
Makefile.am
include/netlink-private/route/nexthop-encap.h [new file with mode: 0644]
include/netlink-private/types.h
lib/route/nexthop.c
lib/route/nexthop_encap.c [new file with mode: 0644]
lib/route/route_obj.c