junos_kcom_gencfg_s Struct Reference

This is the main structure for the KCOM-GENCFG and SDK interface. More...

Data Fields

u_int32_t ver
 Structure version.
junos_kcom_gencfg_opcode_t opcode
 Operation code.
u_int32_t size
 Size of the structure.
u_int16_t blob_id
 Blob minor type identifier Maximum allowed range is 0-63.
u_int16_t priv_id
u_int16_t cfg_index
 Daemon issued CFG index.
junos_kcom_gencfg_szptr_t key
 Key information.
junos_kcom_gencfg_szptr_t blob
 Blob information.
junos_kcom_gencfg_szptr_t dep
 Depend information.
u_int32_t flags
void * get_p
 Response to GET request.
void * user_handler
 User async handler routine.
void * user_info_p
 User information ptr returned.
junos_kcom_gencfg_dest_t dest
 Destination of blobs.
 Array of peers.
int peer_count
 Number of PFE peers.

Detailed Description

This is the main structure for the KCOM-GENCFG and SDK interface.

All required parameters are conveyed through this structure, and specific fields are mandatory for each request or notification. Non-zero length in length-pointer fields indicates field presence. The memory pointed by peer_info for JUNOS_KCOM_GENCFG_OPCODE_BLOB_GET and JUNOS_KCOM_GENCFG_OPCODE_BLOB_GETNEXT will be dynamically allocated inside of junos_kcom_gencfg () api, caller is supposed to free this memory by using opcode JUNOS_KCOM_GENCFG_OPCODE_GET_FREE.

The documentation for this struct was generated from the following file:
2007-2009 Juniper Networks, Inc. All rights reserved. The information contained herein is confidential information of Juniper Networks, Inc., and may not be used, disclosed, distributed, modified, or copied without the prior written consent of Juniper Networks, Inc. in an express license. This information is subject to change by Juniper Networks, Inc. Juniper Networks, the Juniper Networks logo, and JUNOS are registered trademarks of Juniper Networks, Inc. in the United States and other countries. All other trademarks, service marks, registered trademarks, or registered service marks are the property of their respective owners.
Generated on Sun May 30 20:24:36 2010 for libjunos-sdk by Doxygen 1.4.5