19#define DHCP4_TAG_PAD 0
20#define DHCP4_TAG_EOP 255
21#define DHCP4_TAG_NETMASK 1
22#define DHCP4_TAG_TIME_OFFSET 2
23#define DHCP4_TAG_ROUTER 3
24#define DHCP4_TAG_TIME_SERVER 4
25#define DHCP4_TAG_NAME_SERVER 5
26#define DHCP4_TAG_DNS_SERVER 6
27#define DHCP4_TAG_LOG_SERVER 7
28#define DHCP4_TAG_COOKIE_SERVER 8
29#define DHCP4_TAG_LPR_SERVER 9
30#define DHCP4_TAG_IMPRESS_SERVER 10
31#define DHCP4_TAG_RL_SERVER 11
32#define DHCP4_TAG_HOSTNAME 12
33#define DHCP4_TAG_BOOTFILE_LEN 13
34#define DHCP4_TAG_DUMP 14
35#define DHCP4_TAG_DOMAINNAME 15
36#define DHCP4_TAG_SWAP_SERVER 16
37#define DHCP4_TAG_ROOTPATH 17
38#define DHCP4_TAG_EXTEND_PATH 18
39#define DHCP4_TAG_IPFORWARD 19
40#define DHCP4_TAG_NONLOCAL_SRR 20
41#define DHCP4_TAG_POLICY_SRR 21
42#define DHCP4_TAG_EMTU 22
43#define DHCP4_TAG_TTL 23
44#define DHCP4_TAG_PATHMTU_AGE 24
45#define DHCP4_TAG_PATHMTU_PLATEAU 25
46#define DHCP4_TAG_IFMTU 26
47#define DHCP4_TAG_SUBNET_LOCAL 27
48#define DHCP4_TAG_BROADCAST 28
49#define DHCP4_TAG_DISCOVER_MASK 29
50#define DHCP4_TAG_SUPPLY_MASK 30
51#define DHCP4_TAG_DISCOVER_ROUTE 31
52#define DHCP4_TAG_ROUTER_SOLICIT 32
53#define DHCP4_TAG_STATIC_ROUTE 33
54#define DHCP4_TAG_TRAILER 34
55#define DHCP4_TAG_ARPAGE 35
56#define DHCP4_TAG_ETHER_ENCAP 36
57#define DHCP4_TAG_TCP_TTL 37
58#define DHCP4_TAG_KEEP_INTERVAL 38
59#define DHCP4_TAG_KEEP_GARBAGE 39
60#define DHCP4_TAG_NIS_DOMAIN 40
61#define DHCP4_TAG_NIS_SERVER 41
62#define DHCP4_TAG_NTP_SERVER 42
63#define DHCP4_TAG_VENDOR 43
64#define DHCP4_TAG_NBNS 44
65#define DHCP4_TAG_NBDD 45
66#define DHCP4_TAG_NBTYPE 46
67#define DHCP4_TAG_NBSCOPE 47
68#define DHCP4_TAG_XFONT 48
69#define DHCP4_TAG_XDM 49
70#define DHCP4_TAG_REQUEST_IP 50
71#define DHCP4_TAG_LEASE 51
72#define DHCP4_TAG_OVERLOAD 52
73#define DHCP4_TAG_MSG_TYPE 53
74#define DHCP4_TAG_SERVER_ID 54
75#define DHCP4_TAG_PARA_LIST 55
76#define DHCP4_TAG_MESSAGE 56
77#define DHCP4_TAG_MAXMSG 57
78#define DHCP4_TAG_T1 58
79#define DHCP4_TAG_T2 59
80#define DHCP4_TAG_VENDOR_CLASS_ID 60
81#define DHCP4_TAG_CLIENT_ID 61
82#define DHCP4_TAG_NISPLUS 64
83#define DHCP4_TAG_NISPLUS_SERVER 65
84#define DHCP4_TAG_TFTP 66
85#define DHCP4_TAG_BOOTFILE 67
86#define DHCP4_TAG_MOBILEIP 68
87#define DHCP4_TAG_SMTP 69
88#define DHCP4_TAG_POP3 70
89#define DHCP4_TAG_NNTP 71
90#define DHCP4_TAG_WWW 72
91#define DHCP4_TAG_FINGER 73
92#define DHCP4_TAG_IRC 74
93#define DHCP4_TAG_STTALK 75
94#define DHCP4_TAG_STDA 76
95#define DHCP4_TAG_USER_CLASS_ID 77
96#define DHCP4_TAG_ARCH 93
97#define DHCP4_TAG_UNDI 94
98#define DHCP4_TAG_UUID 97
99#define DHCP4_TAG_CLASSLESS_ROUTE 121
108 Dhcp6MsgAdvertise = 2,
116 Dhcp6MsgReconfigure = 10,
117 Dhcp6MsgInfoRequest = 11
124 Dhcp6OptClientId = 1,
125 Dhcp6OptServerId = 2,
129 Dhcp6OptRequestOption = 6,
130 Dhcp6OptPreference = 7,
131 Dhcp6OptElapsedTime = 8,
132 Dhcp6OptReplayMessage = 9,
133 Dhcp6OptAuthentication = 11,
134 Dhcp6OptServerUnicast = 12,
135 Dhcp6OptStatusCode = 13,
136 Dhcp6OptRapidCommit = 14,
137 Dhcp6OptUserClass = 15,
138 Dhcp6OptVendorClass = 16,
139 Dhcp6OptVendorInfo = 17,
140 Dhcp6OptInterfaceId = 18,
141 Dhcp6OptReconfigMessage = 19,
142 Dhcp6OptReconfigureAccept = 20
150 Dhcp6StsUnspecFail = 1,
151 Dhcp6StsNoAddrsAvail = 2,
152 Dhcp6StsNoBinding = 3,
153 Dhcp6StsNotOnLink = 4,
154 Dhcp6StsUseMulticast = 5
161 Dhcp6DuidTypeLlt = 1,
164 Dhcp6DuidTypeUuid = 4
173#define DHCP6_SOL_MAX_DELAY 1
174#define DHCP6_SOL_IRT 1
175#define DHCP6_SOL_MRC 0
176#define DHCP6_SOL_MRT 120
177#define DHCP6_SOL_MRD 0
181#define DHCP6_REQ_IRT 1
182#define DHCP6_REQ_MRC 10
183#define DHCP6_REQ_MRT 30
184#define DHCP6_REQ_MRD 0
188#define DHCP6_CNF_MAX_DELAY 1
189#define DHCP6_CNF_IRT 1
190#define DHCP6_CNF_MRC 0
191#define DHCP6_CNF_MRT 4
192#define DHCP6_CNF_MRD 10
196#define DHCP6_REN_IRT 10
197#define DHCP6_REN_MRC 0
198#define DHCP6_REN_MRT 600
199#define DHCP6_REN_MRD 0
203#define DHCP6_REB_IRT 10
204#define DHCP6_REB_MRC 0
205#define DHCP6_REB_MRT 600
206#define DHCP6_REB_MRD 0
210#define DHCP6_INF_MAX_DELAY 1
211#define DHCP6_INF_IRT 1
212#define DHCP6_INF_MRC 0
213#define DHCP6_INF_MRT 120
214#define DHCP6_INF_MRD 0
218#define DHCP6_REL_IRT 1
219#define DHCP6_REL_MRC 5
220#define DHCP6_REL_MRT 0
221#define DHCP6_REL_MRD 0
225#define DHCP6_DEC_IRT 1
226#define DHCP6_DEC_MRC 5
227#define DHCP6_DEC_MRT 0
228#define DHCP6_DEC_MRD 0
233#define DHCP6_OPT_CLIENT_ID 1
234#define DHCP6_OPT_SERVER_ID 2
235#define DHCP6_OPT_IA_NA 3
236#define DHCP6_OPT_IA_TA 4
237#define DHCP6_OPT_IAADDR 5
238#define DHCP6_OPT_ORO 6
239#define DHCP6_OPT_PREFERENCE 7
240#define DHCP6_OPT_ELAPSED_TIME 8
241#define DHCP6_OPT_REPLAY_MSG 9
242#define DHCP6_OPT_AUTH 11
243#define DHCP6_OPT_UNICAST 12
244#define DHCP6_OPT_STATUS_CODE 13
245#define DHCP6_OPT_RAPID_COMMIT 14
246#define DHCP6_OPT_USER_CLASS 15
247#define DHCP6_OPT_VENDOR_CLASS 16
248#define DHCP6_OPT_VENDOR_OPTS 17
249#define DHCP6_OPT_INTERFACE_ID 18
250#define DHCP6_OPT_RECONFIG_MSG 19
251#define DHCP6_OPT_RECONFIG_ACCEPT 20
252#define DHCP6_OPT_DNS_SERVERS 23
253#define DHCP6_OPT_BOOT_FILE_URL 59
254#define DHCP6_OPT_BOOT_FILE_PARAM 60
255#define DHCP6_OPT_ARCH 61
256#define DHCP6_OPT_UNDI 62
263#define PXE_CLIENT_ARCH_X86_BIOS 0x0000
264#define PXE_CLIENT_ARCH_IPF 0x0002
265#define PXE_CLIENT_ARCH_IA32 0x0006
266#define PXE_CLIENT_ARCH_X64 0x0007
267#define PXE_CLIENT_ARCH_EBC 0x0009
268#define PXE_CLIENT_ARCH_ARM 0x000A
269#define PXE_CLIENT_ARCH_AARCH64 0x000B
270#define PXE_CLIENT_ARCH_RISCV32 0x0019
271#define PXE_CLIENT_ARCH_RISCV64 0x001B
272#define PXE_CLIENT_ARCH_RISCV128 0x001D
273#define PXE_CLIENT_ARCH_LOONGARCH32 0x0025
274#define PXE_CLIENT_ARCH_LOONGARCH64 0x0027
276#define HTTP_CLIENT_ARCH_IA32 0x000F
277#define HTTP_CLIENT_ARCH_X64 0x0010
278#define HTTP_CLIENT_ARCH_EBC 0x0011
279#define HTTP_CLIENT_ARCH_ARM 0x0012
280#define HTTP_CLIENT_ARCH_AARCH64 0x0013
281#define HTTP_CLIENT_ARCH_RISCV32 0x001A
282#define HTTP_CLIENT_ARCH_RISCV64 0x001C
283#define HTTP_CLIENT_ARCH_RISCV128 0x001E
284#define HTTP_CLIENT_ARCH_LOONGARCH32 0x0026
285#define HTTP_CLIENT_ARCH_LOONGARCH64 0x0028