Re: [PATCH net-next 06/18] ipv4: Add support to rtable for ipv6 gateway

2019-04-05 Thread Ido Schimmel
On Thu, Apr 04, 2019 at 10:49:55AM -0700, David Ahern wrote: > From: David Ahern > > Add support for an IPv6 gateway to rtable. Since a gateway is either > IPv4 or IPv6, make it a union with rt_gw4 where rt_gw_family decides > which address is in use. > > When dumping the route data, encode an i

[PATCH net-next 06/18] ipv4: Add support to rtable for ipv6 gateway

2019-04-04 Thread David Ahern
From: David Ahern Add support for an IPv6 gateway to rtable. Since a gateway is either IPv4 or IPv6, make it a union with rt_gw4 where rt_gw_family decides which address is in use. When dumping the route data, encode an ipv6 nexthop using RTA_VIA. Signed-off-by: David Ahern --- .../net/ethern