View | Details | Raw Unified | Return to bug 42848
Collapse All | Expand All

(-)httpd-2.3.4-alpha/srclib/apr/include/arch/unix/apr_arch_networkio.h.orig (+3 lines)
Lines 52-57 Link Here
52
#if APR_HAVE_NETINET_TCP_H
52
#if APR_HAVE_NETINET_TCP_H
53
#include <netinet/tcp.h>
53
#include <netinet/tcp.h>
54
#endif
54
#endif
55
#if APR_HAVE_NETINET_IP_H
56
#include <netinet/ip.h>
57
#endif
55
#if APR_HAVE_NETINET_SCTP_UIO_H
58
#if APR_HAVE_NETINET_SCTP_UIO_H
56
#include <netinet/sctp_uio.h>
59
#include <netinet/sctp_uio.h>
57
#endif
60
#endif
(-)httpd-2.3.4-alpha/srclib/apr/include/apr_network_io.h.orig (+2 lines)
Lines 99-104 extern "C" { Link Here
99
                                    * until data is available.
99
                                    * until data is available.
100
                                    * @see apr_socket_accept_filter
100
                                    * @see apr_socket_accept_filter
101
                                    */
101
                                    */
102
#define APR_SO_IPTOS         65536 /**< Set IP ToS markings on traffic.
103
                                    */
102
104
103
/** @} */
105
/** @} */
104
106
(-)httpd-2.3.4-alpha/srclib/apr/network_io/unix/sockopt.c.orig (+9 lines)
Lines 318-323 apr_status_t apr_socket_opt_set(apr_sock Link Here
318
        return APR_ENOTIMPL;
318
        return APR_ENOTIMPL;
319
#endif
319
#endif
320
        break;
320
        break;
321
    case APR_SO_IPTOS:
322
#if defined(SOL_IP) && defined(IP_TOS)
323
        if (setsockopt(sock->socketdes, SOL_IP, IP_TOS, (void *)&on, sizeof(int)) == -1) {
324
            return errno;
325
        }
326
#else
327
        return APR_ENOTIMPL;
328
#endif
329
        break;
321
    default:
330
    default:
322
        return APR_EINVAL;
331
        return APR_EINVAL;
323
    }
332
    }

Return to bug 42848