Explicit Congestion Notification - Implementations - ECN Support in TCP By Hosts - Apple Macintosh

Apple Macintosh

Mac OS X 10.5 and 10.6 implements ECN support for TCP. It is controlled using the following boolean sysctl variables:

net.inet.tcp.ecn_negotiate_in
net.inet.tcp.ecn_initiate_out

The first enables ECN on incoming connections that already have ECN flags set; the second tries to initiate outgoing connections with ECN enabled. Both variables default to 0, but can be set to 1 to enable the respective behavior:

sysctl -w net.inet.tcp.ecn_negotiate_in=1
sysctl -w net.inet.tcp.ecn_initiate_out=1

To make the settings persistent, put following lines in /etc/sysctl.conf:

net.inet.tcp.ecn_initiate_out=1
net.inet.tcp.ecn_negotiate_in=1

Read more about this topic:  Explicit Congestion Notification, Implementations, ECN Support in TCP By Hosts

Famous quotes containing the word apple:

    Your apple face, the simple crèche
    Of your arms, the August smells
    Of your skin. Then I sorted your clothes
    And the loves you had left, Elizabeth,
    Elizabeth, until you were gone.
    Anne Sexton (1928–1974)