oms_aa_unconnected_mac_register()

摘要

注册网络中所有未连接的对象,并在所有对象都完成地址注册之后分配 MAC 地址。

语法

oms_aa_unconnected_mac_register (oms_aa_handle)

参数 类型 说明
oms_aa_handle OmsT_Aa_Address_Handle 特定地址类型对应列表的句柄

返回类型

void

无返回值

详细说明

无

示例

来自 std/lane/lms_lane_if_v3 进程模型中 Auto_Addressing 的 exit execs

/* Obtain the MAC address for address resolution     */
	op_ima_obj_attr_get (my_object_id, "station_address",
	 &MAC_address);
/* If the MAC address is not specified as PROXY,     */
/* invoke auto-addressing and resolve the MAC         */
/* address. Once the address is resolved, the         */
/* value is read in once again since the address     */
/* resolution package resets the attribute value     */
	if (MAC_address != LANEC_MAC_PROXY)
		{
		lane_if_mac_address_resolve ();
		}
	 else
/* Inform the auto addressing package about that this MAC     */
/* does not need an address since it uses PROXY.             */
		oms_aa_unconnected_mac_register (oms_aa_handle);

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · 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