37
37
#include <netinet/in.h>
38
38
#include "ipc_gen.h"
40
#include "openaisCfg.h"
42
42
enum req_lib_cfg_types {
43
MESSAGE_REQ_CFG_STATETRACKSTART = 0,
44
MESSAGE_REQ_CFG_STATETRACKSTOP = 1,
45
MESSAGE_REQ_CFG_ADMINISTRATIVESTATESET = 2,
46
MESSAGE_REQ_CFG_ADMINISTRATIVESTATEGET = 3,
43
MESSAGE_REQ_CFG_RINGSTATUSGET = 0,
44
MESSAGE_REQ_CFG_RINGREENABLE = 1,
45
MESSAGE_REQ_CFG_STATETRACKSTART = 2,
46
MESSAGE_REQ_CFG_STATETRACKSTOP = 3,
47
MESSAGE_REQ_CFG_ADMINISTRATIVESTATESET = 4,
48
MESSAGE_REQ_CFG_ADMINISTRATIVESTATEGET = 5,
49
51
enum res_lib_cfg_types {
50
MESSAGE_RES_CFG_STATETRACKSTART = 0,
51
MESSAGE_RES_CFG_STATETRACKSTOP = 1,
52
MESSAGE_RES_CFG_ADMINISTRATIVESTATESET = 2,
53
MESSAGE_RES_CFG_ADMINISTRATIVESTATEGET = 3,
52
MESSAGE_RES_CFG_RINGSTATUSGET = 0,
53
MESSAGE_RES_CFG_RINGREENABLE = 1,
54
MESSAGE_RES_CFG_STATETRACKSTART = 2,
55
MESSAGE_RES_CFG_STATETRACKSTOP = 3,
56
MESSAGE_RES_CFG_ADMINISTRATIVESTATESET = 4,
57
MESSAGE_RES_CFG_ADMINISTRATIVESTATEGET = 5,
56
struct req_lib_cfg_statetrackstart {
60
struct req_lib_cfg_statetrack {
57
61
mar_req_header_t header;
58
62
SaUint8T trackFlags;
59
63
OpenaisCfgStateNotificationT *notificationBufferAddress;
62
struct res_lib_cfg_statetrackstart {
66
struct res_lib_cfg_statetrack {
63
67
mar_res_header_t header;
92
96
struct res_lib_cfg_administrativestateget {
93
mar_res_header_t header;
97
mar_res_header_t header __attribute__((aligned(8)));
100
struct req_lib_cfg_ringstatusget {
101
mar_req_header_t header __attribute__((aligned(8)));
104
struct res_lib_cfg_ringstatusget {
105
mar_res_header_t header __attribute__((aligned(8)));
106
mar_uint32_t interface_count __attribute__((aligned(8)));
107
char interface_name[16][128] __attribute__((aligned(8)));
108
char interface_status[16][512] __attribute__((aligned(8)));
111
struct req_lib_cfg_ringreenable {
112
mar_req_header_t header __attribute__((aligned(8)));
115
struct res_lib_cfg_ringreenable {
116
mar_res_header_t header __attribute__((aligned(8)));