[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Wed, 29 May 2019 20:17:37 -0700
From: David Ahern <dsahern@...nel.org>
To: stephen@...workplumber.org
Cc: netdev@...r.kernel.org, David Ahern <dsahern@...il.com>
Subject: [PATCH iproute2-next 0/9] ip: Add support for nexthop objects
From: David Ahern <dsahern@...il.com>
This set adds support for nexthop objects to the ip command. The syntax
for nexthop objects is identical to the current 'ip route .. nexthop ...'
syntax making it easy to convert existing use cases.
David Ahern (9):
libnetlink: Set NLA_F_NESTED in rta_nest
lwtunnel: Pass encap and encap_type attributes to lwt_parse_encap
libnetlink: Add helper to add a group via setsockopt
uapi: Import nexthop object API
libnetlink: Add helper to create nexthop dump request
ip route: Export print_rt_flags and print_rta_if
ip: Add support for nexthop objects
ip route: Add option to use nexthop objects
ipmonitor: Add nexthop option to monitor
include/libnetlink.h | 7 +-
include/uapi/linux/nexthop.h | 56 +++++
ip/Makefile | 3 +-
ip/ip.c | 3 +-
ip/ip_common.h | 8 +-
ip/ipmonitor.c | 24 ++
ip/ipnexthop.c | 571 +++++++++++++++++++++++++++++++++++++++++++
ip/iproute.c | 25 +-
ip/iproute_lwtunnel.c | 7 +-
lib/libnetlink.c | 34 +++
10 files changed, 723 insertions(+), 15 deletions(-)
create mode 100644 include/uapi/linux/nexthop.h
create mode 100644 ip/ipnexthop.c
--
2.11.0
Powered by blists - more mailing lists