Detecting IP_TOS (and IPPROTO_IP vs. SOL_IP)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Calling the sequence:

setsockopt(fd, XXXX, IP_TOS, &foo, sizeof(foo));

can be tricky.  Linux uses SOL_IP for XXXX, whereas Solaris and BSD use
IPPROTO_IP for this instead.

Not sure what MacOS or HP-UX do.

Do the newer versions of autoconf have canned code for detecting what to
use?  And if not, can someone please add it?

I just grepped the 2.65 tarball but didn't find anything in there.

Thanks,

-Philip



_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux