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:

    My apple trees will never get across
    And eat the cones under his pines, I tell him.
    He only says, “Good fences make good neighbors.”
    Robert Frost (1874–1963)