summaryrefslogtreecommitdiff
path: root/ext/socket/mkconstants.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/socket/mkconstants.rb')
-rw-r--r--ext/socket/mkconstants.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/socket/mkconstants.rb b/ext/socket/mkconstants.rb
index da15fb4c795..2b126b17e75 100644
--- a/ext/socket/mkconstants.rb
+++ b/ext/socket/mkconstants.rb
@@ -172,6 +172,9 @@ def def_intern(func_name, pat, prefix_optional=nil)
end
def_intern('intern_family', /\AAF_/)
+def_intern('intern_protocol_family', /\APF_/)
+def_intern('intern_socktype', /\ASOCK_/)
+def_intern('intern_ipproto', /\AIPPROTO_/)
result << ERB.new(<<'EOS', nil, '%').result(binding)