diff options
| author | Jafar Al-Gharaibeh <Jafaral@users.noreply.github.com> | 2019-10-14 01:07:24 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-14 01:07:24 -0500 |
| commit | d563896dada99f3474d428f928786cbfde936fee (patch) | |
| tree | bfb366c123c96cfc0b086803628b45dc2d2d6b05 /lib/zclient.h | |
| parent | 09ea1a40386f02a13cdb0462cc55af0d03f0c277 (diff) | |
| parent | 40e79e94110c772bfb71b97b1d97e8ad35901b88 (diff) | |
Merge pull request #4885 from satheeshkarra/pim_mlag
pimd, lib, Zebra: PIM MLAG Support
Diffstat (limited to 'lib/zclient.h')
| -rw-r--r-- | lib/zclient.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/zclient.h b/lib/zclient.h index 5f9edc36ff..71ebabbf75 100644 --- a/lib/zclient.h +++ b/lib/zclient.h @@ -178,6 +178,11 @@ typedef enum { ZEBRA_VXLAN_SG_ADD, ZEBRA_VXLAN_SG_DEL, ZEBRA_VXLAN_SG_REPLAY, + ZEBRA_MLAG_PROCESS_UP, + ZEBRA_MLAG_PROCESS_DOWN, + ZEBRA_MLAG_CLIENT_REGISTER, + ZEBRA_MLAG_CLIENT_UNREGISTER, + ZEBRA_MLAG_FORWARD_MSG, } zebra_message_types_t; struct redist_proto { @@ -272,6 +277,9 @@ struct zclient { int (*iptable_notify_owner)(ZAPI_CALLBACK_ARGS); int (*vxlan_sg_add)(ZAPI_CALLBACK_ARGS); int (*vxlan_sg_del)(ZAPI_CALLBACK_ARGS); + int (*mlag_process_up)(void); + int (*mlag_process_down)(void); + int (*mlag_handle_msg)(struct stream *msg, int len); }; /* Zebra API message flag. */ @@ -693,5 +701,11 @@ static inline void zapi_route_set_blackhole(struct zapi_route *api, SET_FLAG(api->message, ZAPI_MESSAGE_NEXTHOP); }; +extern void zclient_send_mlag_register(struct zclient *client, + uint32_t bit_map); +extern void zclient_send_mlag_deregister(struct zclient *client); + +extern void zclient_send_mlag_data(struct zclient *client, + struct stream *client_s); #endif /* _ZEBRA_ZCLIENT_H */ |
