Home
last modified time | relevance | path

Searched hist:a4ea5d43c807be28545625c1e0641905022fa0d1 (Results 1 – 2 of 2) sorted by relevance

/linux/include/net/
H A Dip_fib.hdiff a4ea5d43c807be28545625c1e0641905022fa0d1 Sat Apr 06 01:30:30 CEST 2019 David Ahern <dsahern@gmail.com> ipv4: Add support to fib_config for IPv6 gateway

Add support for an IPv6 gateway to fib_config. Since a gateway is either
IPv4 or IPv6, make it a union with fc_gw4 where fc_gw_family decides
which address is in use. Update current checks on family and gw4 to
handle ipv6 as well.

Signed-off-by: David Ahern <dsahern@gmail.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/linux/net/ipv4/
H A Dfib_semantics.cdiff a4ea5d43c807be28545625c1e0641905022fa0d1 Sat Apr 06 01:30:30 CEST 2019 David Ahern <dsahern@gmail.com> ipv4: Add support to fib_config for IPv6 gateway

Add support for an IPv6 gateway to fib_config. Since a gateway is either
IPv4 or IPv6, make it a union with fc_gw4 where fc_gw_family decides
which address is in use. Update current checks on family and gw4 to
handle ipv6 as well.

Signed-off-by: David Ahern <dsahern@gmail.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>