pike.git / src / modules / _Stdio / file.c

version» Context lines:

pike.git/src/modules/_Stdio/file.c:58:   #endif      #ifdef HAVE_SYS_IOCTL_H   #include <sys/ioctl.h>   #endif      #ifdef HAVE_LINUX_IF_H   #include <linux/if.h>   #endif    + #ifdef HAVE_LINUX_IP_H + #include <linux/ip.h> + #endif +    #ifdef HAVE_SYS_UIO_H   #include <sys/uio.h>   #endif /* HAVE_SYS_UIO_H */      #ifdef HAVE_SYS_XATTR_H   #include <sys/xattr.h>   #endif /* HAVE_SYS_XATTR_H */      #ifdef HAVE_AVAILABILITYMACROS_H   #include <AvailabilityMacros.h>
pike.git/src/modules/_Stdio/file.c:6333:    add_integer_constant("SO_KEEPALIVE", SO_KEEPALIVE, 0);   #endif      #ifdef IP_TOS    /*! @decl constant IP_TOS    *! Used in @[File.setsockopt()] to set Type Of Service    */    add_integer_constant("IP_TOS", IP_TOS, 0);   #endif    + #ifdef IPTOS_LOWDELAY +  /*! @decl constant IPTOS_LOWDELAY +  *! Used in @[File.setsockopt()] to select minimum delay +  */ +  add_integer_constant("IPTOS_LOWDELAY", IPTOS_LOWDELAY, 0); + #endif +  + #ifdef IPTOS_THROUGHPUT +  /*! @decl constant IPTOS_THROUGHPUT +  *! Used in @[File.setsockopt()] to select maximum throughput +  */ +  add_integer_constant("IPTOS_THROUGHPUT", IPTOS_THROUGHPUT, 0); + #endif +  + #ifdef IPTOS_RELIABILITY +  /*! @decl constant IPTOS_RELIABILITY +  *! Used in @[File.setsockopt()] to select maximum reliability +  */ +  add_integer_constant("IPTOS_RELIABILITY", IPTOS_RELIABILITY, 0); + #endif +  + #ifdef IPTOS_MINCOST +  /*! @decl constant IPTOS_MINCOST +  *! Used in @[File.setsockopt()] to select minimum monetary cost +  */ +  add_integer_constant("IPTOS_MINCOST", IPTOS_MINCOST, 0); + #endif +     add_integer_constant("__HAVE_OOB__",1,0);   #ifdef PIKE_OOB_WORKS    add_integer_constant("__OOB__",PIKE_OOB_WORKS,0);   #else    add_integer_constant("__OOB__",-1,0); /* unknown */   #endif      #ifdef HAVE_SYS_UN_H    add_integer_constant("__HAVE_CONNECT_UNIX__",1,0);   #endif