commit | 597cfe4fc3390a055f42546c254e48601b37009f | [log] [tgz] |
---|---|---|
author | David Ahern <dsahern@gmail.com> | Fri May 24 14:43:05 2019 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue May 28 21:37:30 2019 -0700 |
tree | 654185d19b811823df503a1d33d1127e667184d6 | |
parent | ab84be7e54fc3d9b248285f1a14067558d858819 [diff] |
nexthop: Add support for IPv4 nexthops Add support for IPv4 nexthops. If nh_family is set to AF_INET, then NHA_GATEWAY is expected to be an IPv4 address. Register for netdev events to be notified of admin up/down changes as well as deletes. A hash table is used to track nexthop per devices to quickly convert device events to the affected nexthops. Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>