Imex_Traf_Export_Selective()

Abstract

Exports the current network traffic demands for selected path objects to a self-documenting text file.

Syntax

Imex_Traf_Export_Selective (file_name, path_attributes_list, path_selector_func)
Argument Type Description
file_name const char * Full path of the text file.
path_attributes_list PrgT_List * List of traffic attribute names (char*’s) for those attributes to include in the text file.
path_selector_func ImexT_Path_Selector_Func User-written function called to evaluate path objects for export.

Return Type

int

Number of paths exported.

imex.h

Details

This function exports traffic demands from the current scenario. It works identically to Imex_Traf_Export(), except that it also calls the path_selector_func procedure to evaluate each path object in the network for inclusion in the traffic export. Path objects rejected by path_selector_func will not be exported.

The prototype for path_selector_func is given in ImexT_Path_Selector_Func.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com