public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Clarification needed for RouteTableSize of EFI_IP4_CONFIG2_INTERFACE_INFO
@ 2017-07-25  7:23 Michael Chang
  0 siblings, 0 replies; only message in thread
From: Michael Chang @ 2017-07-25  7:23 UTC (permalink / raw)
  To: edk2-devel

Hi,

I found an inconsistency between UEFI specifcation (v2.7) and EDK2 source. The
"RouteTableSize" defined in EFI_IP4_CONFIG2_INTERFACE_INFO is "Size of the
following RouteTable , in bytes. May be zero". The related definition can be
found in p.1693 of v2.7 specification.

However, the edk2 seems to implement it as "number of route table entries in
the following RouteTable.", likely to follow the same defintion of "RouteCount"
of EFI_IP6_CONFIG_INTERFACE_INFO.

https://github.com/tianocore/edk2/blob/master/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c#L1098
https://github.com/tianocore/edk2/blob/master/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ifconfig.c#L646

Not sure if I was mistaken, anyone here please help to clarify ?

Thanks,
Michael


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-07-25  7:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-25  7:23 Clarification needed for RouteTableSize of EFI_IP4_CONFIG2_INTERFACE_INFO Michael Chang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox