From d9f5b2f50f53d625986dbd47cd12778c9f841f0c Mon Sep 17 00:00:00 2001 From: Stephen Worley Date: Mon, 25 Feb 2019 18:18:07 -0500 Subject: zebra: Add functionality to parse RTM_NEWNEXTHOP and RTM_DELNEXTHOP messages Add the functionality to parse new nexthop group messages from the kernel and insert them into the appropriate hash tables. Parsing is done at startup between interface and interface address lookup. Add functionality to parse changes to nexthops we already have. Add functionality to parse delete nexthop messages from the kernel and remove them from our table. Signed-off-by: Stephen Worley --- zebra/zebra_errors.h | 1 + 1 file changed, 1 insertion(+) (limited to 'zebra/zebra_errors.h') diff --git a/zebra/zebra_errors.h b/zebra/zebra_errors.h index 44d61fc9b0..73bb53a773 100644 --- a/zebra/zebra_errors.h +++ b/zebra/zebra_errors.h @@ -73,6 +73,7 @@ enum zebra_log_refs { EC_ZEBRA_VTEP_ADD_FAILED, EC_ZEBRA_VNI_ADD_FAILED, EC_ZEBRA_NHG_TABLE_INSERT_FAILED, + EC_ZEBRA_NHG_SYNC, /* warnings */ EC_ZEBRA_NS_NOTIFY_READ, EC_ZEBRAING_LM_PROTO_MISMATCH, -- cgit v1.2.3