Message ID | 20220926131944.137094-1-liujian56@huawei.com (mailing list archive) |
---|---|
Headers | show |
Series | Add helper functions to parse netlink msg of ip_tunnel | expand |
On Mon, 26 Sep 2022 21:19:42 +0800 Liu Jian wrote: > Add helper functions to parse netlinkmsg of ip_tunnel > > 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 | 66 ++++++++++++++++++++++++++++++++++++++++ > net/ipv4/ipip.c | 62 ++----------------------------------- > net/ipv6/ip6_tunnel.c | 37 ++-------------------- > net/ipv6/sit.c | 65 ++------------------------------------- Do they need to be in a header file? Could you put them in net/ipv4/ip_tunnel.c or net/ipv4/ip_tunnel_core.c instead?
> -----Original Message----- > From: Jakub Kicinski [mailto:kuba@kernel.org] > Sent: Tuesday, September 27, 2022 10:59 PM > To: liujian (CE) <liujian56@huawei.com> > Cc: davem@davemloft.net; yoshfuji@linux-ipv6.org; dsahern@kernel.org; > edumazet@google.com; pabeni@redhat.com; netdev@vger.kernel.org > Subject: Re: [PATCH net-next 0/2] Add helper functions to parse netlink msg > of ip_tunnel > > On Mon, 26 Sep 2022 21:19:42 +0800 Liu Jian wrote: > > Add helper functions to parse netlinkmsg of ip_tunnel > > > > 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 | 66 > ++++++++++++++++++++++++++++++++++++++++ > > net/ipv4/ipip.c | 62 ++----------------------------------- > > net/ipv6/ip6_tunnel.c | 37 ++-------------------- > > net/ipv6/sit.c | 65 ++------------------------------------- > > Do they need to be in a header file? Could you put them in > net/ipv4/ip_tunnel.c or net/ipv4/ip_tunnel_core.c instead? The v2 version has been sent. Thanks for your review.