Imex_Traf_Export_Selective()

摘要

将选定路径对象对应的当前网络流量需求导出到自描述文本文件。

语法

Imex_Traf_Export_Selective (file_name, path_attributes_list, path_selector_func)
参数 类型 说明
file_name const char * 文本文件的完整路径。
path_attributes_list PrgT_List * 需包含在文本文件中的流量属性名称列表(char*’s)。
path_selector_func ImexT_Path_Selector_Func 用户编写的函数,用于评估待导出的路径对象。

返回类型

int

导出的路径数量。

头文件

imex.h

详情

此函数从当前场景导出流量需求。其工作方式与 Imex_Traf_Export() 完全相同,不同之处在于它还会调用 path_selector_func 过程来评估网络中的每个路径对象是否纳入流量导出。被 path_selector_func 拒绝的路径对象不会被导出。

path_selector_func 的原型见 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