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:

    “No people require maxims so much as the American. The reason is obvious: the country is so vast, the people always going somewhere, from Oregon apple valley to boreal New England, that we do not know whether to be temperate orchards or sterile climate.”
    —Edward Dahlberg (1900–1977)