SCTP Discussions

Text archives Help


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


Chronological Thread 
  • From: "Schulpen D (Daan)" <daan.schulpen AT intraffic.nl>
  • To: Thomas Dreibholz <dreibh AT simula.no>, "sctp-discussion AT sctp.de" <sctp-discussion AT sctp.de>
  • Subject: RE: [SCTP-Discussion] Cygwin build: IFNAMSIZ undefined
  • Date: Tue, 5 May 2015 12:54:11 +0200
  • Accept-language: nl-NL
  • Acceptlanguage: nl-NL
  • List-archive: <http://lists.franken.de/pipermail/sctp-discussion>
  • List-id: SCTP Discussions <sctp-discussion.sctp.de>



> -----Oorspronkelijk bericht-----
> Van: Thomas Dreibholz
> [mailto:dreibh AT simula.no]
> Verzonden: dinsdag 5 mei 2015 11:12
> Aan:
> sctp-discussion AT sctp.de
> CC: Michael Tuexen; Schulpen D (Daan)
> Onderwerp: Re: [SCTP-Discussion] Cygwin build: IFNAMSIZ undefined
>
> Hi Daan,
>
> could you try the attached patch on your system? It should add "#define
> IFNAMSIZ 64" on Windows systems. If it works, I will integrate it into the
> next
> maintenance version of sctplib.
>

The patch seems to work fine. I appreciate both of your quick replies.


Kind regards,

Daan

>
> Fredag 1. mai 2015 14.27.08 skrev Michael Tuexen:
> > > 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/usrsct
> > p/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?
>
> --
> Best regards / Mit freundlichen Grüßen / Med vennlig hilsen
>
> =============================================================
> ==========
> Thomas Dreibholz
>
> Simula Research Laboratory
> Simula Innovation AS, Network Systems Group Visiting address: Martin
> Linges
> vei 17, 1364 Fornebu, Norway Mailing address: P.O.Box 134, 1325 Lysaker,
> Norway
> -----------------------------------------------------------------------
> E-Mail:
> dreibh AT simula.no
> Homepage: http://simula.no/people/dreibh
> =============================================================
> ==========

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.



Archive powered by MHonArc 2.6.19+.

Top of page