9#ifndef __EFI_HTTP_BOOT_DHCP6_H__
10#define __EFI_HTTP_BOOT_DHCP6_H__
12#define HTTP_BOOT_OFFER_MAX_NUM 16
13#define HTTP_BOOT_DHCP6_OPTION_MAX_NUM 16
14#define HTTP_BOOT_DHCP6_OPTION_MAX_SIZE 312
15#define HTTP_BOOT_DHCP6_PACKET_MAX_SIZE 1472
16#define HTTP_BOOT_IP6_ROUTE_TABLE_TIMEOUT 10
17#define HTTP_BOOT_DEFAULT_HOPLIMIT 64
18#define HTTP_BOOT_DEFAULT_LIFETIME 50000
20#define HTTP_BOOT_DHCP6_ENTERPRISE_NUM 343
21#define HTTP_BOOT_DHCP6_MAX_BOOT_FILE_SIZE 65535
23#define HTTP_BOOT_DHCP6_IDX_IA_NA 0
24#define HTTP_BOOT_DHCP6_IDX_BOOT_FILE_URL 1
25#define HTTP_BOOT_DHCP6_IDX_BOOT_FILE_PARAM 2
26#define HTTP_BOOT_DHCP6_IDX_VENDOR_CLASS 3
27#define HTTP_BOOT_DHCP6_IDX_DNS_SERVER 4
28#define HTTP_BOOT_DHCP6_IDX_MAX 5
46 UINT8 ClassIdentifier[11];
47 UINT8 ArchitecturePrefix[5];
48 UINT8 ArchitectureType[5];
50 UINT8 InterfaceName[4];
71#define HTTP_CACHED_DHCP6_PACKET_MAX_SIZE (OFFSET_OF (EFI_DHCP6_PACKET, Dhcp6) + HTTP_BOOT_DHCP6_PACKET_MAX_SIZE)
76 UINT8 Buffer[HTTP_CACHED_DHCP6_PACKET_MAX_SIZE];
86#define GET_NEXT_DHCP6_OPTION(Opt) \
87 (EFI_DHCP6_PACKET_OPTION *) ((UINT8 *) (Opt) + \
88 sizeof (EFI_DHCP6_PACKET_OPTION) + (NTOHS ((Opt)->OpLen)) - 1)
90#define GET_DHCP6_OPTION_SIZE(Pkt) \
91 ((Pkt)->Length - sizeof (EFI_DHCP6_HEADER))
137 IN VOID *DnsServerData
EFI_STATUS HttpBootSetIp6Gateway(IN HTTP_BOOT_PRIVATE_DATA *Private)
EFI_STATUS HttpBootSetIp6Dns(IN HTTP_BOOT_PRIVATE_DATA *Private, IN UINTN DataLength, IN VOID *DnsServerData)
EFI_STATUS HttpBootSetIp6Policy(IN HTTP_BOOT_PRIVATE_DATA *Private)
EFI_STATUS HttpBootDhcp6Sarr(IN HTTP_BOOT_PRIVATE_DATA *Private)
EFI_STATUS HttpBootSetIp6Address(IN HTTP_BOOT_PRIVATE_DATA *Private)