[ovs-dev] [PATCH] windows/net: Define name size for easy compilation.
Ben Pfaff
blp at nicira.com
Thu Mar 13 15:51:45 UTC 2014
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
at https://ptpv2d.googlecode.com/svn-history/r23/trunk/ptpv2d-1a0/application/src/dep/constants_dep.h
More information about the dev
mailing list