delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/05/19/16:28:34

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-Id: <9905192026.AA01375@ch1d2301nwk>
Mime-Version: 1.0 (NeXT Mail 3.3 v124.8483.6)
X-Nextstep-Mailer: Mail 3.3 (Enhance 1.3)
From: Rand Dvorak <Rand DOT Dvorak AT wdr DOT com>
Date: Wed, 19 May 99 15:26:42 -0500
To: cygwin AT sourceware DOT cygnus DOT com
Subject: macros for sockets?
X-WDR-Disclaimer: Version $Revision: 1.13 $
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id QAA20170


I need the following macros defined to compile some low
level libraries that we have.  The two macros that I need are:


SIOCGIFNETMASK & SIOCGIFBRDADDR

from looking at <asm/socket.h> I know they should look like:


#define	SIOCGIFNETMASK	_IOW('s', xx, struct ifreq)  /* get net addr mask */
#define	SIOCGIFBRDADDR	_IOW('s', xx, struct ifreq)   /* get broadcast addr */

but I don't know what xx should be? Can anyone familiar with
the ifreq structure and the _IOW(x, y, z) macro answer these questions?

I would think, given the ifreq structure, at least minimally these should be defined
anyway.

Thanks in advance,
Rand Dvorak




This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019