summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-16 03:13:14 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-16 03:13:14 +0000
commit4c467da68fa8dfd4e1231ee9f63de5735fb257e6 (patch)
treefbd237f3a1af087271dd5d42c371241aa2a57813
parent377eb14a9f5670e69612d66f3eeb06bf9b48a0ad (diff)
* ext/socket/mkconstants.rb: add new constants. a patch from
IWAMURO Motonori <deenheart+ruby at gmail.com> in [ruby-dev:36309]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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 1f8ace1aac..5d1c929ebc 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 46a6655bfc..bb05250805 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