summaryrefslogtreecommitdiffstats
path: root/zebra/if_netlink.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-01-27 19:33:08 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-03-01 14:08:05 +0100
commit936ebf0a2dd70f59bf846bad9f1a0fe04c87e37e (patch)
tree2404d340c89ffb565afc6355130f149bbd9d055d /zebra/if_netlink.h
parentMerge pull request #226 from donaldsharp/evpn_fix (diff)
downloadfrr-936ebf0a2dd70f59bf846bad9f1a0fe04c87e37e.tar.xz
frr-936ebf0a2dd70f59bf846bad9f1a0fe04c87e37e.zip
zebra: Add knowledge of whether or not we are acting under startup conditions
The reading if unicast routes from the kernel acts subtly differently between reading in the routes from the kernel on startup and reading a new route or getting a response for a route. Add startup flag(currently ignored) so that we can start consolidating the functionality. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/if_netlink.h')
-rw-r--r--zebra/if_netlink.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/if_netlink.h b/zebra/if_netlink.h
index aac67916c..6fa39ccab 100644
--- a/zebra/if_netlink.h
+++ b/zebra/if_netlink.h
@@ -25,9 +25,9 @@
#ifdef HAVE_NETLINK
extern int netlink_interface_addr (struct sockaddr_nl *snl,
- struct nlmsghdr *h, ns_id_t ns_id);
+ struct nlmsghdr *h, ns_id_t ns_id, int startup);
extern int netlink_link_change (struct sockaddr_nl *snl, struct nlmsghdr *h,
- ns_id_t ns_id);
+ ns_id_t ns_id, int startup);
extern int interface_lookup_netlink (struct zebra_ns *zns);
#endif /* HAVE_NETLINK */