TianoCore EDK2 master
|
#include <Uefi.h>
Go to the source code of this file.
Functions | |
EFI_STATUS | Dhcp6SeekInnerOptionSafe (UINT16 IaType, UINT8 *Option, UINT32 OptionLen, UINT8 **IaInnerOpt, UINT16 *IaInnerLen) |
EFI_STATUS | Dhcp6SeekStsOption (IN DHCP6_INSTANCE *Instance, IN EFI_DHCP6_PACKET *Packet, OUT UINT8 **Option) |
Acts as header for private functions under test in Dhcp6Io.c
Copyright (c) Microsoft Corporation SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file Dhcp6IoGoogleTest.h.
EFI_STATUS Dhcp6SeekInnerOptionSafe | ( | UINT16 | IaType, |
UINT8 * | Option, | ||
UINT32 | OptionLen, | ||
UINT8 ** | IaInnerOpt, | ||
UINT16 * | IaInnerLen | ||
) |
Seeks the Inner Options from a DHCP6 Option
[in] | IaType | The type of the IA option. |
[in] | Option | The pointer to the DHCP6 Option. |
[in] | OptionLen | The length of the DHCP6 Option. |
[out] | IaInnerOpt | The pointer to the IA inner option. |
[out] | IaInnerLen | The length of the IA inner option. |
EFI_SUCCESS | Seek the inner option successfully. |
EFI_DEVICE_ERROR | The OptionLen is invalid. |
EFI_STATUS Dhcp6SeekStsOption | ( | IN DHCP6_INSTANCE * | Instance, |
IN EFI_DHCP6_PACKET * | Packet, | ||
OUT UINT8 ** | Option | ||
) |
Seek StatusCode Option in package. A Status Code option may appear in the options field of a DHCP message and/or in the options field of another option. See details in section 22.13, RFC3315.
[in] | Instance | The pointer to the Dhcp6 instance. |
[in] | Packet | The pointer to reply messages. |
[out] | Option | The pointer to status code option. |
EFI_SUCCESS | Seek status code option successfully. |
EFI_DEVICE_ERROR | An unexpected error. |