/* Call back function to DhcpIterateOptions to compute each option's length. It just adds the data length of all the occurrences of this Tag. Context is an array of 256 DHCP_OPTION_COUNT. */
EFI_STATUS DhcpGetOptionLen(IN UINT8 Tag, IN UINT8 Len, IN UINT8 *Data, IN VOID *Context)
/* Call back function to DhcpIterateOptions to compute each option's length. It just adds the data length of all the occurrences of this Tag. Context is an array of 256 DHCP_OPTION_COUNT. */
EFI_STATUS DhcpGetOptionLen(IN UINT8 Tag, IN UINT8 Len, IN UINT8 *Data, IN VOID *Context)
{
  DHCP_OPTION_COUNT  *OpCount;
  OpCount             = (DHCP_OPTION_COUNT *)Context;
  OpCount[Tag].Offset = (UINT16)(OpCount[Tag].Offset + Len);
  return EFI_SUCCESS;
}