From: Michael Chang <mchang@suse.com>
To: edk2-devel@lists.01.org
Subject: Clarification needed for RouteTableSize of EFI_IP4_CONFIG2_INTERFACE_INFO
Date: Tue, 25 Jul 2017 15:23:11 +0800 [thread overview]
Message-ID: <20170725072311.GA28934@220-128-196-69.suse.de> (raw)
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
reply other threads:[~2017-07-25 7:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170725072311.GA28934@220-128-196-69.suse.de \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox