This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

macros for sockets?




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@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]