diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-03-29 12:09:15 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-29 12:09:15 -0400 |
| commit | 465cd0eb941d45dc125c5e843df965f8a387868e (patch) | |
| tree | 5143fcd91116bfd8600895b73df74460d11327eb /lib/zclient.h | |
| parent | 615e608d76bd3e1acf1769c914142210ac88e3f7 (diff) | |
| parent | b98f77282b83f519f2134661d43b845fd69d5f60 (diff) | |
Merge pull request #1824 from pguibert6WIND/table_manager
Table manager for zebra
Diffstat (limited to 'lib/zclient.h')
| -rw-r--r-- | lib/zclient.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/zclient.h b/lib/zclient.h index b51c518463..04f2a5c178 100644 --- a/lib/zclient.h +++ b/lib/zclient.h @@ -132,6 +132,9 @@ typedef enum { ZEBRA_RULE_ADD, ZEBRA_RULE_DELETE, ZEBRA_RULE_NOTIFY_OWNER, + ZEBRA_TABLE_MANAGER_CONNECT, + ZEBRA_GET_TABLE_CHUNK, + ZEBRA_RELEASE_TABLE_CHUNK, } zebra_message_types_t; struct redist_proto { @@ -538,6 +541,12 @@ extern int lm_get_label_chunk(struct zclient *zclient, uint8_t keep, uint32_t *end); extern int lm_release_label_chunk(struct zclient *zclient, uint32_t start, uint32_t end); +extern int tm_table_manager_connect(struct zclient *zclient); +extern int tm_get_table_chunk(struct zclient *zclient, uint32_t chunk_size, + uint32_t *start, uint32_t *end); +extern int tm_release_table_chunk(struct zclient *zclient, uint32_t start, + uint32_t end); + extern int zebra_send_pw(struct zclient *zclient, int command, struct zapi_pw *pw); extern void zebra_read_pw_status_update(int command, struct zclient *zclient, |
