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:

    She was so overcome by the splendor of his achievement that she took him into the closet and selected a choice apple and delivered it to him, along with an improving lecture upon the added value and flavor a treat took to itself when it came without sin through virtuous effort. And while she closed with a Scriptural flourish, he “hooked” a doughnut.
    Mark Twain [Samuel Langhorne Clemens] (1835–1910)