summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog13
-rw-r--r--ext/socket/mkconstants.rb15
2 files changed, 20 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index 1f8ace1aac4..5d1c929ebc4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue Sep 16 11:24:44 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
+
+ * ext/socket/mkconstants.rb: add new constants. a patch from
+ IWAMURO Motonori <deenheart+ruby at gmail.com> in [ruby-dev:36309].
+
Tue Sep 16 09:20:42 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* test/ruby/test_io.rb (TestIO#test_dup): exception should be
@@ -18,14 +23,6 @@ Tue Sep 16 02:02:56 2008 NARUSE, Yui <naruse@ruby-lang.org>
* string.c (prefix_escape): ditto.
-Tue Sep 16 01:50:21 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * string.c ():
-
-Tue Sep 16 01:49:44 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * string.c ():
-
Tue Sep 16 01:47:07 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* string.c (single_byte_optimizable): make function inline. based
diff --git a/ext/socket/mkconstants.rb b/ext/socket/mkconstants.rb
index 46a6655bfc0..bb05250805b 100644
--- a/ext/socket/mkconstants.rb
+++ b/ext/socket/mkconstants.rb
@@ -143,6 +143,16 @@ IPPROTO_TP
IPPROTO_XTP
IPPROTO_EON
IPPROTO_BIP
+IPPROTO_AH
+IPPROTO_DSTOPTS
+IPPROTO_ESP
+IPPROTO_FRAGMENT
+IPPROTO_HOPOPTS
+IPPROTO_ICMPV6
+IPPROTO_IPV6
+IPPROTO_NONE
+IPPROTO_ROUTING
+
IPPROTO_RAW 255
IPPROTO_MAX
@@ -232,6 +242,7 @@ EAI_FAMILY
EAI_MEMORY
EAI_NODATA
EAI_NONAME
+EAI_OVERFLOW
EAI_SERVICE
EAI_SOCKTYPE
EAI_SYSTEM
@@ -242,6 +253,7 @@ EAI_MAX
AI_PASSIVE
AI_CANONNAME
AI_NUMERICHOST
+AI_NUMERICSERV
AI_MASK
AI_ALL
AI_V4MAPPED_CFG
@@ -288,3 +300,6 @@ IPV6_RTHDR_TYPE_0
IPV6_RECVPATHMTU
IPV6_TCLASS
IPV6_USE_MIN_MTU
+
+INET_ADDRSTRLEN
+INET6_ADDRSTRLEN