Hi All

Can somebody please tell which is the header file, that will give me the
definitions of

SIOCGIFCONF
SIOCGIFFLAGS
Etc.. 

My code uses them as 

status = ioctl(sock, SIOCGIFFLAGS, &req);
 status = ioctl(sock, SIOCGIFCONF, &conf);


Where sock is int, conf is "struct  ifconf" & req is "struct  ifreq".

On my solaris box they are defined in sys/sockio.h file. Using a quick
grep tells me that it is in linux/sockios.h. But are they similar. Given
definition in two header files gives me some doubts.

-Ajay







_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to