[ovs-dev] [PATCH] windows/net: Define name size for easy compilation.

Gurucharan Shetty shettyg at nicira.com
Thu Mar 13 20:34:36 UTC 2014


On Thu, Mar 13, 2014 at 8:51 AM, Ben Pfaff <blp at nicira.com> wrote:
> On Wed, Mar 12, 2014 at 11:21:24AM -0700, Gurucharan Shetty wrote:
>> I am not yet sure of the network name size limitation on
>> Windows. To move forward with compilation of netdev-vport, have the
>> same limitation as that in Linux.
>>
>> Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>
>
> A little web searching shows that the corresponding constant for Windows
> seems to be 256 bytes, e.g. I see the following:
>
> #ifndef IF_NAMESIZE              // Should be defined in Windows netioapi.h
> #define IF_NAMESIZE         256  // Windows maps interface names to NDIS names which are 256 bytes long
> #endif
Thanks. I searched for "IFNAMSIZ" instead of IF_NAMESIZE. I will use it.


>
> at https://ptpv2d.googlecode.com/svn-history/r23/trunk/ptpv2d-1a0/application/src/dep/constants_dep.h



More information about the dev mailing list