Compartir a través de


2.2.1.2.109 IPX_ROUTE

The IPX_ROUTE structure MAY<101> be used to specify the details for an IPX route in the RRAS server.

 typedef struct _IPX_ROUTE {
   ULONG InterfaceIndex;
   ULONG Protocol;
   UCHAR Network[4];
   USHORT TickCount;
   USHORT HopCount;
   UCHAR NextHopMacAddress[6];
   ULONG Flags;
 } IPX_ROUTE,
  *PIPX_ROUTE;

InterfaceIndex: The local index value for the network interface. This index value MAY change when a network adapter is disabled and then enabled, or under other circumstances, and need not be persistent.

Protocol: The protocol that added the route. The value MUST be one of the following values.

Value

Meaning

IPX_PROTOCOL_LOCAL

0x00000000

Local route

IPX_PROTOCOL_STATIC

0x00000001

Static route

IPX_PROTOCOL_RIP

0x00000002

Added by RIP

IPX_PROTOCOL_NLSP

0x00000004

Added by NLSP

Network: This MUST be the 4-byte IPX network number in hexadecimal (8 hexadecimal digits).

TickCount: The number of ticks it takes to reach the destination network where one tick is approximately 1/18 of a second. This estimate is based on ongoing RIP requests and replies and is determined by the transmission speed of network segments. LAN links are typically one tick, and WAN links, such as a T1 link, are usually six or seven ticks. The tick count is an estimated, not precise, measurement of the delay.

HopCount: This MUST be the number of routers to be traversed to get to the network number.

NextHopMacAddress: This MUST be the 6-byte MAC address of the next hop in hexadecimal (12 hexadecimal digits).

Flags: Indicates the type of route being added. It MUST be one of the following values.

Value

Meaning

GLOBAL_WAN_ROUTE

0x00000001

Global route.

DO_NOT_ADVERTISE_ROUTE

0x00000002

This route is not advertised.