TianoCore EDK2 master
Loading...
Searching...
No Matches
RedfishHostInterface.h File Reference

Go to the source code of this file.

Data Structures

struct  USB_INTERFACE_DEVICE_DESCRIPTOR_V2
 
struct  PCI_OR_PCIE_INTERFACE_DEVICE_DESCRIPTOR_V2
 
struct  OEM_DEVICE_DESCRIPTOR
 
union  DEVICE_DESCRITOR
 
struct  REDFISH_INTERFACE_DATA
 Device descriptor data formated based on Device Type. More...
 
struct  REDFISH_OVER_IP_PROTOCOL_DATA
 

Macros

#define REDFISH_HOST_INTERFACE_DEVICE_TYPE_USB   0x02
 
#define REDFISH_HOST_INTERFACE_DEVICE_TYPE_PCI_PCIE   0x03
 
#define REDFISH_HOST_INTERFACE_DEVICE_TYPE_USB_V2   0x04
 
#define REDFISH_HOST_INTERFACE_DEVICE_TYPE_PCI_PCIE_V2   0x05
 
#define REDFISH_HOST_INTERFACE_HOST_IP_ASSIGNMENT_TYPE_UNKNOWN   0x00
 
#define REDFISH_HOST_INTERFACE_HOST_IP_ASSIGNMENT_TYPE_STATIC   0x01
 
#define REDFISH_HOST_INTERFACE_HOST_IP_ASSIGNMENT_TYPE_DHCP   0x02
 
#define REDFISH_HOST_INTERFACE_HOST_IP_ASSIGNMENT_TYPE_AUTO_CONFIGURE   0x03
 
#define REDFISH_HOST_INTERFACE_HOST_IP_ASSIGNMENT_TYPE_HOST_SELECTED   0x04
 
#define REDFISH_HOST_INTERFACE_HOST_IP_ADDRESS_FORMAT_UNKNOWN   0x00
 
#define REDFISH_HOST_INTERFACE_HOST_IP_ADDRESS_FORMAT_IP4   0x01
 
#define REDFISH_HOST_INTERFACE_HOST_IP_ADDRESS_FORMAT_IP6   0x02
 
#define USB_INTERFACE_DEVICE_DESCRIPTOR_V2_SIZE_1_3   0x11
 
#define USB_INTERFACE_DEVICE_DESCRIPTOR_V2_SIZE_1_2   0x0d
 

Enumerations

enum  REDFISH_HOST_IP_ASSIGNMENT {
  RedfishHostIpAssignmentUnknown , RedfishHostIpAssignmentStatic , RedfishHostIpAssignmentDhcp , RedfishHostIpAssignmentAutoConfigure ,
  RedfishHostIpAssignmentHostSelected , RedfishHostIpAssignmentReserved
}
 

Detailed Description

This file defines the Redfish Interface Specific Data.

Copyright (c) 2019, Intel Corporation. All rights reserved.
(C) Copyright 2020 Hewlett Packard Enterprise Development LP
Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file RedfishHostInterface.h.

Macro Definition Documentation

◆ REDFISH_HOST_INTERFACE_DEVICE_TYPE_PCI_PCIE

#define REDFISH_HOST_INTERFACE_DEVICE_TYPE_PCI_PCIE   0x03

Definition at line 18 of file RedfishHostInterface.h.

◆ REDFISH_HOST_INTERFACE_DEVICE_TYPE_PCI_PCIE_V2

#define REDFISH_HOST_INTERFACE_DEVICE_TYPE_PCI_PCIE_V2   0x05

Definition at line 21 of file RedfishHostInterface.h.

◆ REDFISH_HOST_INTERFACE_DEVICE_TYPE_USB

#define REDFISH_HOST_INTERFACE_DEVICE_TYPE_USB   0x02

Definition at line 16 of file RedfishHostInterface.h.

◆ REDFISH_HOST_INTERFACE_DEVICE_TYPE_USB_V2

#define REDFISH_HOST_INTERFACE_DEVICE_TYPE_USB_V2   0x04

Definition at line 20 of file RedfishHostInterface.h.

◆ REDFISH_HOST_INTERFACE_HOST_IP_ADDRESS_FORMAT_IP4

#define REDFISH_HOST_INTERFACE_HOST_IP_ADDRESS_FORMAT_IP4   0x01

Definition at line 30 of file RedfishHostInterface.h.

◆ REDFISH_HOST_INTERFACE_HOST_IP_ADDRESS_FORMAT_IP6

#define REDFISH_HOST_INTERFACE_HOST_IP_ADDRESS_FORMAT_IP6   0x02

Definition at line 31 of file RedfishHostInterface.h.

◆ REDFISH_HOST_INTERFACE_HOST_IP_ADDRESS_FORMAT_UNKNOWN

#define REDFISH_HOST_INTERFACE_HOST_IP_ADDRESS_FORMAT_UNKNOWN   0x00

Definition at line 29 of file RedfishHostInterface.h.

◆ REDFISH_HOST_INTERFACE_HOST_IP_ASSIGNMENT_TYPE_AUTO_CONFIGURE

#define REDFISH_HOST_INTERFACE_HOST_IP_ASSIGNMENT_TYPE_AUTO_CONFIGURE   0x03

Definition at line 26 of file RedfishHostInterface.h.

◆ REDFISH_HOST_INTERFACE_HOST_IP_ASSIGNMENT_TYPE_DHCP

#define REDFISH_HOST_INTERFACE_HOST_IP_ASSIGNMENT_TYPE_DHCP   0x02

Definition at line 25 of file RedfishHostInterface.h.

◆ REDFISH_HOST_INTERFACE_HOST_IP_ASSIGNMENT_TYPE_HOST_SELECTED

#define REDFISH_HOST_INTERFACE_HOST_IP_ASSIGNMENT_TYPE_HOST_SELECTED   0x04

Definition at line 27 of file RedfishHostInterface.h.

◆ REDFISH_HOST_INTERFACE_HOST_IP_ASSIGNMENT_TYPE_STATIC

#define REDFISH_HOST_INTERFACE_HOST_IP_ASSIGNMENT_TYPE_STATIC   0x01

Definition at line 24 of file RedfishHostInterface.h.

◆ REDFISH_HOST_INTERFACE_HOST_IP_ASSIGNMENT_TYPE_UNKNOWN

#define REDFISH_HOST_INTERFACE_HOST_IP_ASSIGNMENT_TYPE_UNKNOWN   0x00

Definition at line 23 of file RedfishHostInterface.h.

◆ USB_INTERFACE_DEVICE_DESCRIPTOR_V2_SIZE_1_2

#define USB_INTERFACE_DEVICE_DESCRIPTOR_V2_SIZE_1_2   0x0d

Length USB interface device v2 defined in Redfish host interface spec v1.2

Definition at line 99 of file RedfishHostInterface.h.

◆ USB_INTERFACE_DEVICE_DESCRIPTOR_V2_SIZE_1_3

#define USB_INTERFACE_DEVICE_DESCRIPTOR_V2_SIZE_1_3   0x11

Define union for the Host Interface Device Descriptor Length USB interface device v2 defined in Redfish host interface spec v1.3

Definition at line 97 of file RedfishHostInterface.h.

Enumeration Type Documentation

◆ REDFISH_HOST_IP_ASSIGNMENT

Definitions for IP assignment tyeps.

Definition at line 36 of file RedfishHostInterface.h.