Data Structures | |
struct | junos_kcom_mpsdk_cfg_req_s |
junos_kcom_mpsdk_cfg_req_t is a structure used to register, deregister. More... | |
Defines | |
#define | JUNOS_KCOM_MPSDK_CFG_FREE(_cfg) |
This is for plugin control handler to free the Service SDK application configuration blob after processing it. | |
Typedefs | |
typedef int(* | junos_kcom_mpsdk_msg_handler_ptr )(junos_kcom_gencfg_t *) |
junos_kcom_mpsdk_msg_handler_ptr is a user-supplied function called to give async notifications to the users. | |
typedef junos_kcom_mpsdk_cfg_req_s | junos_kcom_mpsdk_cfg_req_t |
junos_kcom_mpsdk_cfg_req_t is a structure used to register, deregister. | |
Enumerations | |
enum | junos_kcom_mpsdk_cfg_req_opcode_t { JUNOS_KCOM_MPSDK_CFG_REG, JUNOS_KCOM_MPSDK_CFG_DEREG, JUNOS_KCOM_MPSDK_CFG_GET_ALL } |
junos_kcom_mpsdk_cfg_opcode_t is an enum defining the type of operations which can be done on the MP-SDK config blobs. More... | |
Functions | |
int | junos_kcom_mpsdk_cfg_req (junos_kcom_mpsdk_cfg_req_t *req) |
API to request all possible operations for the MP-SDK config blobs. |
The data structures and apis defined in this header file will be only available at MS PIC. The purpose is to demux the gencfg messages from PFEMAN to different applications.
|
Value: do { \ free(_cfg->get_p); \ free(_cfg); \ } while (0)
|
|
The notifications can be for adding, deletion, and modification of the registered MP-SDK config blob. |
|
Use these values when calling the API junos_kcom_mpsdk_cfg_req(). |
|
API to request all possible operations for the MP-SDK config blobs. The application can register, degregister an async notification routine; it also can request to get all the existing mpsdk config blobs.
|