14#ifndef EFI_REDFISH_DISCOVER_PROTOCOL_H_
15#define EFI_REDFISH_DISCOVER_PROTOCOL_H_
20#define EFI_REDFISH_DISCOVER_PROTOCOL_GUID \
22 0x5db12509, 0x4550, 0x4347, { 0x96, 0xb3, 0x73, 0xc0, 0xff, 0x6e, 0x86, 0x9f } \
25#define REDFISH_DISCOVER_TOKEN_SIGNATURE SIGNATURE_32 ('R', 'F', 'T', 'S')
27typedef UINT32 EFI_REDFISH_DISCOVER_FLAG;
28#define EFI_REDFISH_DISCOVER_HOST_INTERFACE 0x00000001
29#define EFI_REDFISH_DISCOVER_SSDP 0x00000002
30#define EFI_REDFISH_DISCOVER_SSDP_UDP6 0x00000004
31#define EFI_REDFISH_DISCOVER_KEEP_ALIVE 0x00000008
33#define EFI_REDFISH_DISCOVER_RENEW 0x00000010
37#define EFI_REDFISH_DISCOVER_VALIDATION 0x80000000
38#define EFI_REDFISH_DISCOVER_DURATION_MASK 0x0f000000
113 OUT UINTN *NumberOfNetworkInterfaces,
147 IN EFI_REDFISH_DISCOVER_FLAG Flags,
192extern EFI_GUID gEfiRedfishDiscoverProtocolGuid;
EFI_STATUS(EFIAPI * EFI_REDFISH_DISCOVER_RELEASE_SERVICE)(IN EFI_REDFISH_DISCOVER_PROTOCOL *This, IN EFI_REDFISH_DISCOVERED_LIST *List)
EFI_STATUS(EFIAPI * EFI_REDFISH_DISCOVER_ABORT_ACQUIRE)(IN EFI_REDFISH_DISCOVER_PROTOCOL *This, IN EFI_REDFISH_DISCOVER_NETWORK_INTERFACE *TargetNetworkInterface OPTIONAL)
EFI_STATUS(EFIAPI * EFI_REDFISH_DISCOVER_NETWORK_LIST)(IN EFI_REDFISH_DISCOVER_PROTOCOL *This, IN EFI_HANDLE ImageHandle, OUT UINTN *NumberOfNetworkInterfaces, OUT EFI_REDFISH_DISCOVER_NETWORK_INTERFACE **NetworkInterfaces)
EFI_STATUS(EFIAPI * EFI_REDFISH_DISCOVER_ACQUIRE_SERVICE)(IN EFI_REDFISH_DISCOVER_PROTOCOL *This, IN EFI_HANDLE ImageHandle, IN EFI_REDFISH_DISCOVER_NETWORK_INTERFACE *TargetNetworkInterface OPTIONAL, IN EFI_REDFISH_DISCOVER_FLAG Flags, IN EFI_REDFISH_DISCOVERED_TOKEN *Token)
UINT8 SubnetPrefixLength
Subnet prefix-length for IPv4 and IPv6.
EFI_IP_ADDRESS SubnetId
Subnet ID.
EFI_MAC_ADDRESS MacAddress
MAC address of network interfase to discover Redfish service.
BOOLEAN IsIpv6
Indicates it's IP versino 6.
CHAR16 * Product
Redfish service product name.
CHAR16 * Location
Redfish service location.
CHAR16 * Os
Redfish service OS.
EFI_IP_ADDRESS RedfishHostIpAddress
IP address of Redfish service.
CHAR16 * OsVersion
Redfish service OS version.
CHAR16 * ProductVer
Redfish service product version.
BOOLEAN UseHttps
Using HTTPS.
UINTN RedfishVersion
Redfish service version.
CHAR16 * Uuid
Redfish service UUID.
BOOLEAN IsUdp6
Indicates it's IP versino 6.
EFI_HANDLE RedfishRestExHandle
REST EX EFI handle associated with this Redfish service.
EFI_REDFISH_DISCOVERED_INFORMATION Information
Redfish service discovered.
EFI_STATUS Status
Status of Redfish service discovery.
UINTN NumberOfServiceFound
Must be 0 when pass to Acquire ().
EFI_REDFISH_DISCOVERED_INSTANCE * RedfishInstances
Must be NULL when pass to Acquire ().
UINT32 Signature
Token signature.
EFI_REDFISH_DISCOVERED_LIST DiscoverList