diff --git a/ChangeLog b/ChangeLog index 09264d00a4..cb517a784f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Mon May 5 23:53:24 2014 Tanaka Akira + + * ext/socket/mkconstants.rb: Add IP_TRANSPARENT. + IP_TRANSPARENT is provieded since glibc-2.12. + Reported by Eliezer Croitoru. [ruby-core:50372] [Bug #7476] + Mon May 5 22:29:47 2014 Tanaka Akira * process.c (check_exec_redirect): Open the file in write mode for diff --git a/ext/socket/mkconstants.rb b/ext/socket/mkconstants.rb index d12b2a24e3..2d38e5ab97 100644 --- a/ext/socket/mkconstants.rb +++ b/ext/socket/mkconstants.rb @@ -540,6 +540,7 @@ IP_FREEBIND nil Allow binding to nonexistent IP addresses IP_IPSEC_POLICY nil IPsec security policy IP_XFRM_POLICY IP_PASSSEC nil Retrieve security context with datagram +IP_TRANSPARENT nil Transparent proxy IP_PMTUDISC_DONT nil Never send DF frames IP_PMTUDISC_WANT nil Use per-route hints IP_PMTUDISC_DO nil Always send DF frames