mbox series

[net-next,v2,0/2] Add helper functions to parse netlink msg of ip_tunnel

Message ID 20220928033917.281937-1-liujian56@huawei.com (mailing list archive)
Headers show
Series Add helper functions to parse netlink msg of ip_tunnel | expand

Message

liujian (CE) Sept. 28, 2022, 3:39 a.m. UTC
Add helper functions to parse netlink msg of ip_tunnel

v1->v2: Move the implementation of the helper function to ip_tunnel_core.c

Liu Jian (2):
  net: Add helper function to parse netlink msg of ip_tunnel_encap
  net: Add helper function to parse netlink msg of ip_tunnel_parm

 include/net/ip_tunnels.h  |  6 ++++
 net/ipv4/ip_tunnel_core.c | 67 +++++++++++++++++++++++++++++++++++++++
 net/ipv4/ipip.c           | 62 ++----------------------------------
 net/ipv6/ip6_tunnel.c     | 37 ++-------------------
 net/ipv6/sit.c            | 65 ++-----------------------------------
 5 files changed, 81 insertions(+), 156 deletions(-)