Skip to contentSkip to conversation

man/man5/gai.conf: Document glibc label additions

PATCH Superseded [email protected] 2 participants 2 messages Jan 5 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 man/man5/gai.conf: Document glibc label additions

From: "Dr. David Alan Gilbert" <[email protected]>

Glibc includes some extra entries in its default label table as listed in the gai.conf it distributes:
https://sourceware.org/git/?p=glibc.git;a=blob;f=posix/gai.conf

Update the EXAMPLES to include the spec default and the version glibc actually uses.

---
v2
Semantic newlines added.

 man/man5/gai.conf.5 | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
man/man5/gai.conf.5 +14 -0
index ef330995d..0d3c86842 100644
@@ -87,6 +87,20 @@ .SH EXAMPLES
 precedence ::/96          20
 precedence ::ffff:0:0/96  10
 .EE
+.P
+Glibc includes some extra rules in the label table for site-local addresses,
+ULA, and Teredo tunnels. Its default label table is:
+.in +4n
+.EX
+label ::1/128        0
+label ::/0           1
+label 2002::/16      2
+label ::/96          3
+label ::ffff:0:0/96  4
+label fec0::/10      5
+label fc00::/7       6
+label 2001:0::/32    7
+.EE
 .in
 .\" .SH AUTHOR
 .\" Ulrich Drepper <[email protected]>
Signature · 1 line
2.52.0
#1 lore raw
Quoted 6 lines · * [email protected] ([email protected]) wrote:

From: "Dr. David Alan Gilbert" <[email protected]>

Glibc includes some extra entries in its default label table as listed in the gai.conf it distributes:
https://sourceware.org/git/?p=glibc.git;a=blob;f=posix/gai.conf

Quoted 7 lines

Update the EXAMPLES to include the spec default and the version glibc actually uses.

---
v2
Semantic newlines added.

Erp no, they escaped, try again....

Quoted 32 lines
 man/man5/gai.conf.5 | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
man/man5/gai.conf.5 +14 -0
index ef330995d..0d3c86842 100644
@@ -87,6 +87,20 @@ .SH EXAMPLES
 precedence ::/96          20
 precedence ::ffff:0:0/96  10
 .EE
+.P
+Glibc includes some extra rules in the label table for site-local addresses,
+ULA, and Teredo tunnels. Its default label table is:
+.in +4n
+.EX
+label ::1/128        0
+label ::/0           1
+label 2002::/16      2
+label ::/96          3
+label ::ffff:0:0/96  4
+label fec0::/10      5
+label fc00::/7       6
+label 2001:0::/32    7
+.EE
 .in
 .\" .SH AUTHOR
 .\" Ulrich Drepper <[email protected]>
Signature · 1 line
2.52.0
Signature · 4 lines
 -----Open up your eyes, open up your mind, open up your code -------   
/ Dr. David Alan Gilbert    |       Running GNU/Linux       | Happy  \ 
\        dave @ treblig.org |                               | In Hex /
 \ _________________________|_____ http://www.treblig.org   |_______/