SCTP Discussions

Text archives Help


Re: [SCTP-Discussion] Cygwin build: IFNAMSIZ undefined


Chronological Thread 
  • From: Michael Tuexen <Michael.Tuexen AT micmac.franken.de>
  • To: "Schulpen D (Daan)" <daan.schulpen AT intraffic.nl>
  • Cc: "sctp-discussion AT sctp.de" <sctp-discussion AT sctp.de>
  • Subject: Re: [SCTP-Discussion] Cygwin build: IFNAMSIZ undefined
  • Date: Fri, 1 May 2015 14:27:08 +0200
  • List-archive: <http://lists.franken.de/pipermail/sctp-discussion>
  • List-id: SCTP Discussions <sctp-discussion.sctp.de>

> On 01 May 2015, at 13:24, Schulpen D (Daan)
> <daan.schulpen AT intraffic.nl>
> wrote:
>
> Hey all,
>
> While building the Win32 version of scptlib through Cygwin, CL complained
> about IFNAMSIZ being undefined. And as far as I can tell through google,
> the Win32 headers don’t use or define IFNAMSIZ.
In the usrsctp library we just define it to be 64 on Windowsplatforms. I
guess this might work here, too. See
https://code.google.com/p/sctp-refimpl/source/browse/trunk/KERN/usrsctp/usrsctplib/netinet/sctp_os_userspace.h#287

Best regards
Michael
>
> For now, I’ve worked around this by #define’ing it myself, which seems to
> work well enough. I suppose I could pull in net/if.h, but that feels
> somewhat pointless, as the networking seems to be implemented using
> winsock2.
>
> Is there any particular header that the Win32 version of scptlib expects to
> provide IFNAMSIZ?
>
>
> Kind regards,
>
> Daan
>
>
> <image001.gif>
>
> Daan Schulpen
> Technisch Ontwerper
> Tel: +31 88 345 5195
> +31 88 345 5000 (algemeen)
> Postadres: Postbus 7095, 3430 JB Nieuwegein
> Bezoekadres: Iepenhoeve 11, 3438 MR Nieuwegein
>
> <image002.png><image003.png><image004.png><image005.png>
>
>
>
> Deze e-mail en de inhoud daarvan is vertrouwelijk. Indien dit bericht niet
> voor u bestemd is, verzoeken wij u deze e-mail direct aan ons te
> retourneren en daarna te vernietigen. In dit geval is het ook niet
> toegestaan deze e-mail en de inhoud daarvan te gebruiken, kopieren of
> openbaar te maken aan derden. Onze onderneming sluit elke aansprakelijkheid
> uit in verband met het niet juist, onvolledig of niet tijdig overkomen van
> de informatie in deze e-mail. InTraffic B.V. / Nieuwegein / Kamer van
> Koophandel 30188133.
>
> This e-mail and its contents are confidential and may be legally
> privileged. If this e-mail is not intended for you, please contact us
> immediately by reply e-mail and destroy the e-mail. In this case, please do
> not use, copy or disclose the e-mail and its contents to anyone. Our
> company is liable neither for the proper and complete transmission of the
> information in this e-mail nor for any delay in its receipt. InTraffic B.V.
> / Nieuwegein / Chamber of Commerce 30188133.
> _______________________________________________
> sctp-discussion mailing list
> sctp-discussion AT sctp.de
> http://www.sctp.de/mailman/listinfo/sctp-discussion





Archive powered by MHonArc 2.6.19+.

Top of page