Skip to content

Commit

Permalink
[DOC] Utilize COMMENTS.default_proc to add fallback documents
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Dec 17, 2023
1 parent 7a60196 commit 557d929
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ext/socket/mkconstants.rb
Expand Up @@ -51,7 +51,7 @@ def c_str(str)
next
end
h[name] = default_value
COMMENTS[name] = comment
COMMENTS[name] = comment if comment
}
DEFS = h.to_a

Expand Down Expand Up @@ -423,8 +423,8 @@ def def_intern(func_name, pat, prefix_optional=nil)
PF_ISDN nil Integrated Services Digital Network
AF_NATM nil Native ATM access
PF_NATM nil Native ATM access
AF_SYSTEM
PF_SYSTEM
AF_SYSTEM nil Kernel event messages
PF_SYSTEM nil Kernel event messages
AF_NETBIOS nil NetBIOS
PF_NETBIOS nil NetBIOS
AF_PPP nil Point-to-Point Protocol
Expand All @@ -440,8 +440,8 @@ def def_intern(func_name, pat, prefix_optional=nil)

AF_E164 nil CCITT (ITU-T) E.164 recommendation
PF_XTP nil eXpress Transfer Protocol
PF_RTIP
PF_PIP
PF_RTIP nil Help Identify RTIP packets
PF_PIP nil Help Identify PIP packets
AF_KEY nil Key management protocol, originally developed for usage with IPsec
PF_KEY nil Key management protocol, originally developed for usage with IPsec
AF_NETLINK nil Kernel user interface device
Expand Down

0 comments on commit 557d929

Please sign in to comment.