yumapro  25.10-3
YumaPro SDK
Loading...
Searching...
No Matches
sid_file.h File Reference

YANG SID File support for ietf-sid-file. More...

#include "status_enum.h"
#include "obj.h"
Include dependency graph for sid_file.h:

Go to the source code of this file.

Functions

status_t sid_file_init (void)
 Initialize the SID FIle Parser Module. More...
 
void sid_file_cleanup (void)
 Cleanup the SID FIle Parser Module. More...
 
val_value_tsid_file_load (ncx_module_t *mod, status_t *res)
 
  • Load the SID file for the specified YANG module.
More...
 
val_value_tsid_file_load_update (ncx_module_t *mod, const xmlChar *parmstr, boolean is_date, status_t *res)
 
  • Load the SID file for the specified YANG module.
More...
 
status_t sid_file_apply (uint32 sid_tree_id, val_value_t *sidfile, ncx_module_t *mod, boolean internal, boolean update_mode)
 Apply the SID file contents to specified YANG module. More...
 
obj_template_tsid_file_get_obj (void)
 Get the OBJ template for the SID file. More...
 
status_t sid_file_get_ranges (val_value_t *sidfile, dlq_hdr_t *sid_rangeQ, uint32 *total)
 Get the assignment ranges from the SID file val_value_t. More...
 
status_t sid_file_add_range (ncx_sid_t range_start, uint32 range_size, dlq_hdr_t *sid_rangeQ)
 Add a specified range struct to the end of the sid_rangeQ. More...
 
status_t sid_file_check_ranges (ncx_sid_t sid, dlq_hdr_t *sid_rangeQ, boolean set_highest, ncx_sid_range_t **ret_range)
 Check if a SID value is in range. More...
 
status_t sid_file_verify_ranges (dlq_hdr_t *sid_rangeQ)
 Verify that all the SID ranges are separate and do not overlap. More...
 

Detailed Description

YANG SID File support for ietf-sid-file.