]> git.proxmox.com Git - mirror_frr.git/blob - nhrpd/vici.h
nhrpd: implement next hop resolution protocol
[mirror_frr.git] / nhrpd / vici.h
1
2 enum vici_type_t {
3 VICI_START = 0,
4 VICI_SECTION_START = 1,
5 VICI_SECTION_END = 2,
6 VICI_KEY_VALUE = 3,
7 VICI_LIST_START = 4,
8 VICI_LIST_ITEM = 5,
9 VICI_LIST_END = 6,
10 VICI_END = 7
11 };
12
13 enum vici_operation_t {
14 VICI_CMD_REQUEST = 0,
15 VICI_CMD_RESPONSE,
16 VICI_CMD_UNKNOWN,
17 VICI_EVENT_REGISTER,
18 VICI_EVENT_UNREGISTER,
19 VICI_EVENT_CONFIRM,
20 VICI_EVENT_UNKNOWN,
21 VICI_EVENT,
22 };
23
24 #define VICI_MAX_MSGLEN (512*1024)