Re: [PATCH v5 net-next 09/14] ip6_tun: Add infrastructure for doing encapsulation

2016-05-16 Thread Alexander Duyck
On Mon, May 16, 2016 at 12:28 PM, Tom Herbert wrote: > On Mon, May 16, 2016 at 12:24 PM, Alexander Duyck > wrote: >> On Sun, May 15, 2016 at 4:42 PM, Tom Herbert wrote: >>> Add encap_hlen and ip_tunnel_encap structure to ip6_tnl. Add functions >>> for getting encap hlen, setting up encap on a tu

Re: [PATCH v5 net-next 09/14] ip6_tun: Add infrastructure for doing encapsulation

2016-05-16 Thread Tom Herbert
On Mon, May 16, 2016 at 12:24 PM, Alexander Duyck wrote: > On Sun, May 15, 2016 at 4:42 PM, Tom Herbert wrote: >> Add encap_hlen and ip_tunnel_encap structure to ip6_tnl. Add functions >> for getting encap hlen, setting up encap on a tunnel, performing >> encapsulation operation. >> >> Signed-off

Re: [PATCH v5 net-next 09/14] ip6_tun: Add infrastructure for doing encapsulation

2016-05-16 Thread Alexander Duyck
On Sun, May 15, 2016 at 4:42 PM, Tom Herbert wrote: > Add encap_hlen and ip_tunnel_encap structure to ip6_tnl. Add functions > for getting encap hlen, setting up encap on a tunnel, performing > encapsulation operation. > > Signed-off-by: Tom Herbert > --- > include/net/ip6_tunnel.h | 58 +++

[PATCH v5 net-next 09/14] ip6_tun: Add infrastructure for doing encapsulation

2016-05-15 Thread Tom Herbert
Add encap_hlen and ip_tunnel_encap structure to ip6_tnl. Add functions for getting encap hlen, setting up encap on a tunnel, performing encapsulation operation. Signed-off-by: Tom Herbert --- include/net/ip6_tunnel.h | 58 ++ net/ipv4/ip_tunnel_core.c | 5 +++ net/i