TOPOLOGY_MAP structure (1394.h)

The TOPOLOGY_MAP structure is used to store an IEEE 1394 bus topology map. The relations between devices are found in the port members of the entries in TOP_Self_ID_Array.

Syntax

typedef struct _TOPOLOGY_MAP {
  USHORT  TOP_Length;
  USHORT  TOP_CRC;
  ULONG   TOP_Generation;
  USHORT  TOP_Node_Count;
  USHORT  TOP_Self_ID_Count;
  SELF_ID TOP_Self_ID_Array[1];
} TOPOLOGY_MAP, *PTOPOLOGY_MAP;

Members

TOP_Length

Specifies the length in quadlets of the topology map.

TOP_CRC

Specifies the CRC value for the topology map.

TOP_Generation

Specifies the bus reset generation for which the topology map was created.

TOP_Node_Count

Specifies the number of nodes in the topology map.

TOP_Self_ID_Count

Specifies the number of entries in TOP_Self_ID_Array.

TOP_Self_ID_Array[1]

Pointer to an array of SELF_ID and SELF_ID_MORE structures (the two structures are the same size).

Remarks

All data will be in big-endian format.

Requirements

Requirement Value
Header 1394.h (include 1394.h)

See also

REQUEST_GET_SPEED_TOPOLOGY_MAPS