]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: read multipath routes and hw addr from netlink
authorJosh Bailey <joshb@google.com>
Thu, 22 Mar 2012 08:09:21 +0000 (01:09 -0700)
committerAvneesh Sachdev <avneesh@opensourcerouting.org>
Sat, 7 Apr 2012 20:54:02 +0000 (13:54 -0700)
commit26e2ae362baf207d82e4c1ac76bc1c2b2df6ccaa
treee0d060875b5eab622244977e58b2445d55d6d240
parentd531050b7bf0f93d4d29a7a2f7b745641778b483
zebra: read multipath routes and hw addr from netlink

  * zebra/rt_netlink.c:

    - Pick up the hardware address of an interface when we receive a
      netlink link change message. Extract code for parsing the
      link-layer hardware address into a new function so we can reuse
      it.

    - netlink_routing_table(): Update to handle multipath routes.

    - netlink_route_change(): Update to handle multipath routes. Fix
      problem where the metric was not being read out.

  * zebra/zebra_rib.[ch]: Extern nexthop_ipv4_ifindex_add() -- it is
    now called from the netlink code.

From: Josh Bailey <joshb@google.com>
Signed-off-by: Avneesh Sachdev <avneesh@opensourcerouting.org>
Signed-off-by: David Lamparter <equinox@diac24.net>
zebra/rib.h
zebra/rt_netlink.c
zebra/zebra_rib.c