EndPointLoc

Function

Defines the endpoint location type structure.

Prototype

typedef struct {
    EndpointLocType locType;        /* Endpoint location type */
    union {
        uint8_t raws[60];           /* General data */
        struct {
            uint32_t devPhyId;      /* Physical device ID */
            uint32_t superDevId;    /* SuperPoD device ID */
            uint32_t serverIdx;     /* Server index */
            uint32_t superPodIdx;   /* SuperPoD location index */
        } device;                   /* Used when locType is DEVICE */
        struct {
            uint32_t id;            /* Common ID, which is used when locType is HOST or others */
        } host;
    };
} EndpointLoc;