Changeset 105670 in vbox for trunk/src/VBox/Devices/EFI/FirmwareNew/NetworkPkg/Dhcp6Dxe/Dhcp6Utility.h
- Timestamp:
- Aug 14, 2024 1:16:30 PM (6 months ago)
- Location:
- trunk/src/VBox/Devices/EFI/FirmwareNew
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/FirmwareNew
-
Property svn:mergeinfo
changed from (toggle deleted branches)
to (toggle deleted branches)/vendor/edk2/current 103735-103757,103769-103776,129194-159268 /vendor/edk2/current 103735-103757,103769-103776,129194-164365
-
Property svn:mergeinfo
changed from (toggle deleted branches)
-
trunk/src/VBox/Devices/EFI/FirmwareNew/NetworkPkg/Dhcp6Dxe/Dhcp6Utility.h
r99404 r105670 161 161 162 162 /** 163 Append the appointed option to the buf, and move the buf to the end. 164 165 @param[in, out] Buf The pointer to buffer. 166 @param[in] OptType The option type. 167 @param[in] OptLen The length of option content.s 168 @param[in] Data The pointer to the option content. 169 170 @return Buf The position to append the next option. 171 172 **/ 173 UINT8 * 163 Append the option to Buf, update the length of packet, and move Buf to the end. 164 165 @param[in, out] Packet A pointer to the packet, on success Packet->Length 166 will be updated. 167 @param[in, out] PacketCursor The pointer in the packet, on success PacketCursor 168 will be moved to the end of the option. 169 @param[in] OptType The option type. 170 @param[in] OptLen The length of option contents. 171 @param[in] Data The pointer to the option content. 172 173 @retval EFI_INVALID_PARAMETER An argument provided to the function was invalid 174 @retval EFI_BUFFER_TOO_SMALL The buffer is too small to append the option. 175 @retval EFI_SUCCESS The option is appended successfully. 176 **/ 177 EFI_STATUS 174 178 Dhcp6AppendOption ( 175 IN OUT UINT8 *Buf, 176 IN UINT16 OptType, 177 IN UINT16 OptLen, 178 IN UINT8 *Data 179 ); 180 181 /** 182 Append the Ia option to Buf, and move Buf to the end. 183 184 @param[in, out] Buf The pointer to the position to append. 179 IN OUT EFI_DHCP6_PACKET *Packet, 180 IN OUT UINT8 **PacketCursor, 181 IN UINT16 OptType, 182 IN UINT16 OptLen, 183 IN UINT8 *Data 184 ); 185 186 /** 187 Append the appointed Ia option to Buf, update the Ia option length, and move Buf 188 to the end of the option. 189 @param[in, out] Packet A pointer to the packet, on success Packet->Length 190 will be updated. 191 @param[in, out] PacketCursor The pointer in the packet, on success PacketCursor 192 will be moved to the end of the option. 185 193 @param[in] Ia The pointer to the Ia. 186 194 @param[in] T1 The time of T1. … … 188 196 @param[in] MessageType Message type of DHCP6 package. 189 197 190 @return Buf The position to append the next Ia option. 191 192 **/ 193 UINT8 * 198 @retval EFI_INVALID_PARAMETER An argument provided to the function was invalid 199 @retval EFI_BUFFER_TOO_SMALL The buffer is too small to append the option. 200 @retval EFI_SUCCESS The option is appended successfully. 201 **/ 202 EFI_STATUS 194 203 Dhcp6AppendIaOption ( 195 IN OUT UINT8 *Buf, 196 IN EFI_DHCP6_IA *Ia, 197 IN UINT32 T1, 198 IN UINT32 T2, 199 IN UINT32 MessageType 204 IN OUT EFI_DHCP6_PACKET *Packet, 205 IN OUT UINT8 **PacketCursor, 206 IN EFI_DHCP6_IA *Ia, 207 IN UINT32 T1, 208 IN UINT32 T2, 209 IN UINT32 MessageType 200 210 ); 201 211 … … 203 213 Append the appointed Elapsed time option to Buf, and move Buf to the end. 204 214 205 @param[in, out] Buf The pointer to the position to append. 215 @param[in, out] Packet A pointer to the packet, on success Packet->Length 216 @param[in, out] PacketCursor The pointer in the packet, on success PacketCursor 217 will be moved to the end of the option. 206 218 @param[in] Instance The pointer to the Dhcp6 instance. 207 219 @param[out] Elapsed The pointer to the elapsed time value in 208 220 the generated packet. 209 221 210 @return Buf The position to append the next Ia option. 211 212 **/ 213 UINT8 * 222 @retval EFI_INVALID_PARAMETER An argument provided to the function was invalid 223 @retval EFI_BUFFER_TOO_SMALL The buffer is too small to append the option. 224 @retval EFI_SUCCESS The option is appended successfully. 225 226 **/ 227 EFI_STATUS 214 228 Dhcp6AppendETOption ( 215 IN OUT UINT8 *Buf, 216 IN DHCP6_INSTANCE *Instance, 217 OUT UINT16 **Elapsed 229 IN OUT EFI_DHCP6_PACKET *Packet, 230 IN OUT UINT8 **PacketCursor, 231 IN DHCP6_INSTANCE *Instance, 232 OUT UINT16 **Elapsed 218 233 ); 219 234 … … 222 237 elapsed time option. 223 238 224 @param[in] Elapsed The pointer to the position to append. 225 @param[in] Instance The pointer to the Dhcp6 instance. 239 @retval EFI_INVALID_PARAMETER An argument provided to the function was invalid 240 @retval EFI_BUFFER_TOO_SMALL The buffer is too small to append the option. 241 @retval EFI_SUCCESS The option is appended successfully. 226 242 **/ 227 243 VOID
Note:
See TracChangeset
for help on using the changeset viewer.