From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.nue.novell.com (smtp.nue.novell.com [195.135.221.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 8287B2095DBBA for ; Tue, 25 Jul 2017 00:21:35 -0700 (PDT) Received: from emea4-mta.ukb.novell.com ([10.120.13.87]) by smtp.nue.novell.com with ESMTP (TLS encrypted); Tue, 25 Jul 2017 09:23:34 +0200 Received: from 220-128-196-69.suse.de (nwb-a10-snat.microfocus.com [10.120.13.201]) by emea4-mta.ukb.novell.com with ESMTP (TLS encrypted); Tue, 25 Jul 2017 08:23:18 +0100 Date: Tue, 25 Jul 2017 15:23:11 +0800 From: Michael Chang To: edk2-devel@lists.01.org Message-ID: <20170725072311.GA28934@220-128-196-69.suse.de> MIME-Version: 1.0 User-Agent: Mutt/1.5.24 (2015-08-30) Subject: Clarification needed for RouteTableSize of EFI_IP4_CONFIG2_INTERFACE_INFO X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jul 2017 07:21:35 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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