oms_aa_address_resolve_ring()

Abstract

Resolves all MAC addresses in a Token Ring or FDDI network in which all node addresses are auto-assigned.

Syntax

oms_aa_address_resolve_ring (oms_aa_handle, module_id_lptr)

Argument Type Description
oms_aa_handle OmsT_Aa_Address_Handle Handle to the list for the specific address type
module_id_lptr List * Object ID of the module registering the address

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. Addresses are stored in a temporary list, and assigned only after every other MAC in the network has also registered for an address.

If any member in the ring network has an explicitly assigned address, you should use oms_aa_address_verify_ring() instead.

Example

From tr_mac_op_v2 process model, ring_reg enter execs:

tr_ring_id_resolve (&Tr_Ring_ID, "ring_id", ring_mod_objid_list, &status);
/* 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",
	Tr_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 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