diff options
| author | Mark Stapp <mjs@voltanet.io> | 2021-05-05 07:57:04 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-05 07:57:04 -0400 |
| commit | 3d4b999fab50a4f08d2c4257ec059218a90ed29f (patch) | |
| tree | 135eea80ddb75fb83ff291f43b7f1a87572cf5d6 /lib/zclient.h | |
| parent | 48c20391997a9809c710d4669a05f9eee8b5bff8 (diff) | |
| parent | dee1c6c3384ca9f22f2920263640f4c4dc9eb67c (diff) | |
Merge pull request #8237 from pguibert6WIND/nhrp_use_zebra_2
Nhrp use zebra 2
Diffstat (limited to 'lib/zclient.h')
| -rw-r--r-- | lib/zclient.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/zclient.h b/lib/zclient.h index e8fff4b881..8c27916542 100644 --- a/lib/zclient.h +++ b/lib/zclient.h @@ -232,6 +232,9 @@ typedef enum { ZEBRA_NEIGH_IP_ADD, ZEBRA_NEIGH_IP_DEL, ZEBRA_CONFIGURE_ARP, + ZEBRA_GRE_GET, + ZEBRA_GRE_UPDATE, + ZEBRA_GRE_SOURCE_SET, } zebra_message_types_t; enum zebra_error_types { @@ -393,6 +396,7 @@ struct zclient { void (*neighbor_added)(ZAPI_CALLBACK_ARGS); void (*neighbor_removed)(ZAPI_CALLBACK_ARGS); void (*neighbor_get)(ZAPI_CALLBACK_ARGS); + void (*gre_update)(ZAPI_CALLBACK_ARGS); }; /* Zebra API message flag. */ @@ -1228,6 +1232,8 @@ struct zapi_client_close_info { extern int zapi_client_close_notify_decode(struct stream *s, struct zapi_client_close_info *info); +extern int zclient_send_zebra_gre_request(struct zclient *client, + struct interface *ifp); #ifdef __cplusplus } #endif |
