11#ifndef REDFISH_HOST_INTERFACE_
12#define REDFISH_HOST_INTERFACE_
16#define REDFISH_HOST_INTERFACE_DEVICE_TYPE_USB 0x02
18#define REDFISH_HOST_INTERFACE_DEVICE_TYPE_PCI_PCIE 0x03
20#define REDFISH_HOST_INTERFACE_DEVICE_TYPE_USB_V2 0x04
21#define REDFISH_HOST_INTERFACE_DEVICE_TYPE_PCI_PCIE_V2 0x05
23#define REDFISH_HOST_INTERFACE_HOST_IP_ASSIGNMENT_TYPE_UNKNOWN 0x00
24#define REDFISH_HOST_INTERFACE_HOST_IP_ASSIGNMENT_TYPE_STATIC 0x01
25#define REDFISH_HOST_INTERFACE_HOST_IP_ASSIGNMENT_TYPE_DHCP 0x02
26#define REDFISH_HOST_INTERFACE_HOST_IP_ASSIGNMENT_TYPE_AUTO_CONFIGURE 0x03
27#define REDFISH_HOST_INTERFACE_HOST_IP_ASSIGNMENT_TYPE_HOST_SELECTED 0x04
29#define REDFISH_HOST_INTERFACE_HOST_IP_ADDRESS_FORMAT_UNKNOWN 0x00
30#define REDFISH_HOST_INTERFACE_HOST_IP_ADDRESS_FORMAT_IP4 0x01
31#define REDFISH_HOST_INTERFACE_HOST_IP_ADDRESS_FORMAT_IP6 0x02
37 RedfishHostIpAssignmentUnknown,
38 RedfishHostIpAssignmentStatic,
39 RedfishHostIpAssignmentDhcp,
40 RedfishHostIpAssignmentAutoConfigure,
41 RedfishHostIpAssignmentHostSelected,
42 RedfishHostIpAssignmentReserved
90 UINT8 OemDefinedData[1];
96#define USB_INTERFACE_DEVICE_DESCRIPTOR_V2_SIZE_1_3 0x11
98#define USB_INTERFACE_DEVICE_DESCRIPTOR_V2_SIZE_1_2 0x0d
131 UINT8 HostIpAssignmentType;
139 UINT8 HostIpAddressFormat;
145 UINT8 HostIpAddress[16];
151 UINT8 HostIpMask[16];
161 UINT8 RedfishServiceIpDiscoveryType;
169 UINT8 RedfishServiceIpAddressFormat;
175 UINT8 RedfishServiceIpAddress[16];
181 UINT8 RedfishServiceIpMask[16];
183 UINT16 RedfishServiceIpPort;
184 UINT32 RedfishServiceVlanId;
185 UINT8 RedfishServiceHostnameLength;
186 UINT8 RedfishServiceHostname[1];
REDFISH_HOST_IP_ASSIGNMENT
UINT32 VendorIana
The IANA code for the vendor (MSB first).
UINT16 VendorId
The Vendor ID of the PCI/PCIe device.
UINT8 Length
Length of the structure, including Device Type and Length fields.
UINT8 BusNumber
The Bus Number of the PCI/PCIe device.
UINT16 DeviceId
The Device ID of the PCI/PCIe device.
UINT16 SubsystemVendorId
The Subsystem Vendor ID of the PCI/PCIe device.
UINT16 SubsystemId
The Subsystem ID of the PCI/PCIe device.
UINT8 DeviceFunctionNumber
The Device/Function Number of the PCI/PCIe.
UINT16 SegmemtGroupNumber
The Segment Group Number of the PCI/PCIe.
Device descriptor data formated based on Device Type.
DEVICE_DESCRITOR DeviceDescriptor
The Device descriptor.
UINT8 DeviceType
The Device Type of the interface.
UINT16 CredentialBootstrappingHandle
Credential bootstrapping handle.
UINT16 Characteristics
Additional device characteristics.
OEM_DEVICE_DESCRIPTOR OemDevice
OEM type device discriptor.
PCI_OR_PCIE_INTERFACE_DEVICE_DESCRIPTOR_V2 PciPcieDeviceV2
Device type PCI/PCIe V2 device discriptor.
USB_INTERFACE_DEVICE_DESCRIPTOR_V2 UsbDeviceV2
Device type USB V2 device discriptor.