oms_aa_address_verify_ring()

Abstract

Creates and resolves all MAC addresses in a Token Ring or FDDI network in which one or more nodes have an explicitly assigned address.

Syntax

oms_aa_address_verify_ring (oms_aa_handle, module_id_ptr, first_addr)

Argument Type Description
oms_aa_handle OmsT_Aa_Address_Handle Handle to the list for the specific address type
module_id_ptr List * Object ID of the module registering the address
first_addr int Address-list index where the first MAC Return Type

Return Type

void

No return value

Details

This procedure is generally called by a randomly chosen ring member, and resolves addresses for all nodes of the ring.

If the procedure encounters two nodes with the same explicitly assigned address, the simulation terminates with an error message.

If all ring members have auto-assigned addresses, use oms_aa_address_resolve_ring() instead.

Example

From lms_lane_if_v3 process model, function block, lane_if_mac_address_resolve() function:

/* Now that the ring id's have been registered for all the          */
/* stations along a ring, the station addresses can be registered.  */
lowest_addr = tr_address_resolve (ring_mod_objid_list, "station_address", my_ring_id, ADDR_REGISTER);
/* Register the addresses of the stations on the ring to     */
/* the global MAC address pool. We will call a different     */
/* function if all the addresses are dynamically assigned, so*/
/* that they can be re-assigned if necessary.                */
if (lowest_addr == ADDR_DYNAMIC)
	oms_aa_address_resolve_ring (oms_aa_handle, ring_mod_objid_list);
	else
	oms_aa_address_verify_ring (oms_aa_handle, ring_mod_objid_list,
	  lowest_addr);

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