aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libc/net
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/net')
-rw-r--r--lib/libc/net/addr2ascii.32
-rw-r--r--lib/libc/net/byteorder.32
-rw-r--r--lib/libc/net/ethers.32
-rw-r--r--lib/libc/net/getaddrinfo.32
-rw-r--r--lib/libc/net/gethostbyname.32
-rw-r--r--lib/libc/net/getipnodebyname.32
-rw-r--r--lib/libc/net/getnameinfo.32
-rw-r--r--lib/libc/net/getnetent.32
-rw-r--r--lib/libc/net/getprotoent.32
-rw-r--r--lib/libc/net/getservent.32
-rw-r--r--lib/libc/net/if_indextoname.32
-rw-r--r--lib/libc/net/inet.32
-rw-r--r--lib/libc/net/inet6_option_space.32
-rw-r--r--lib/libc/net/inet6_rthdr_space.32
-rw-r--r--lib/libc/net/iso_addr.32
-rw-r--r--lib/libc/net/linkaddr.32
-rw-r--r--lib/libc/net/ns.32
-rw-r--r--lib/libc/net/rcmd.32
-rw-r--r--lib/libc/net/resolver.32
19 files changed, 38 insertions, 0 deletions
diff --git a/lib/libc/net/addr2ascii.3 b/lib/libc/net/addr2ascii.3
index b5ec16799f8e..e91b1d9b89d0 100644
--- a/lib/libc/net/addr2ascii.3
+++ b/lib/libc/net/addr2ascii.3
@@ -36,6 +36,8 @@
.Nm addr2ascii ,
.Nm ascii2addr
.Nd Generic address formatting routines
+.Sh LIBRARY
+.Lb libc
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <netinet/in.h>
diff --git a/lib/libc/net/byteorder.3 b/lib/libc/net/byteorder.3
index 3c55d21c18a6..a38ba8205ef7 100644
--- a/lib/libc/net/byteorder.3
+++ b/lib/libc/net/byteorder.3
@@ -41,6 +41,8 @@
.Nm ntohl ,
.Nm ntohs
.Nd convert values between host and network byte order
+.Sh LIBRARY
+.Lb libc
.Sh SYNOPSIS
.Fd #include <sys/param.h>
.Ft u_long
diff --git a/lib/libc/net/ethers.3 b/lib/libc/net/ethers.3
index 72b7488fbe2d..1c1fb2652c62 100644
--- a/lib/libc/net/ethers.3
+++ b/lib/libc/net/ethers.3
@@ -41,6 +41,8 @@
.Nm ether_ntohost ,
.Nm ether_hostton
.Nd Ethernet address conversion and lookup routines
+.Sh LIBRARY
+.Lb libc
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
diff --git a/lib/libc/net/getaddrinfo.3 b/lib/libc/net/getaddrinfo.3
index 754a79673453..fd4b6d154b13 100644
--- a/lib/libc/net/getaddrinfo.3
+++ b/lib/libc/net/getaddrinfo.3
@@ -43,6 +43,8 @@
.Nm gai_strerror
.Nd nodename-to-address translation in protocol-independent manner
.\"
+.Sh LIBRARY
+.Lb libc
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
diff --git a/lib/libc/net/gethostbyname.3 b/lib/libc/net/gethostbyname.3
index 1b48c4a4153f..e513d741faf2 100644
--- a/lib/libc/net/gethostbyname.3
+++ b/lib/libc/net/gethostbyname.3
@@ -45,6 +45,8 @@
.Nm herror ,
.Nm hstrerror
.Nd get network host entry
+.Sh LIBRARY
+.Lb libc
.Sh SYNOPSIS
.Fd #include <netdb.h>
.Vt extern int h_errno;
diff --git a/lib/libc/net/getipnodebyname.3 b/lib/libc/net/getipnodebyname.3
index d5a881ae7cf4..bb2040636451 100644
--- a/lib/libc/net/getipnodebyname.3
+++ b/lib/libc/net/getipnodebyname.3
@@ -43,6 +43,8 @@
.Nm freehostent
.Nd nodename-to-address and address-to-nodename translation
.\"
+.Sh LIBRARY
+.Lb libc
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
diff --git a/lib/libc/net/getnameinfo.3 b/lib/libc/net/getnameinfo.3
index 732af8eae3f1..4496633cfc47 100644
--- a/lib/libc/net/getnameinfo.3
+++ b/lib/libc/net/getnameinfo.3
@@ -41,6 +41,8 @@
.Nm getnameinfo
.Nd address-to-nodename translation in protocol-independent manner
.\"
+.Sh LIBRARY
+.Lb libc
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
diff --git a/lib/libc/net/getnetent.3 b/lib/libc/net/getnetent.3
index 1bf3664ee3d1..086f4c3de9a7 100644
--- a/lib/libc/net/getnetent.3
+++ b/lib/libc/net/getnetent.3
@@ -42,6 +42,8 @@
.Nm setnetent ,
.Nm endnetent
.Nd get network entry
+.Sh LIBRARY
+.Lb libc
.Sh SYNOPSIS
.Fd #include <netdb.h>
.Ft struct netent *
diff --git a/lib/libc/net/getprotoent.3 b/lib/libc/net/getprotoent.3
index fad937e9607c..22dba9ccc251 100644
--- a/lib/libc/net/getprotoent.3
+++ b/lib/libc/net/getprotoent.3
@@ -42,6 +42,8 @@
.Nm setprotoent ,
.Nm endprotoent
.Nd get protocol entry
+.Sh LIBRARY
+.Lb libc
.Sh SYNOPSIS
.Fd #include <netdb.h>
.Ft struct protoent *
diff --git a/lib/libc/net/getservent.3 b/lib/libc/net/getservent.3
index eac236161836..f7c1dcb8ddda 100644
--- a/lib/libc/net/getservent.3
+++ b/lib/libc/net/getservent.3
@@ -42,6 +42,8 @@
.Nm setservent ,
.Nm endservent
.Nd get service entry
+.Sh LIBRARY
+.Lb libc
.Sh SYNOPSIS
.Fd #include <netdb.h>
.Ft struct servent *
diff --git a/lib/libc/net/if_indextoname.3 b/lib/libc/net/if_indextoname.3
index 0906ee01f749..612ae1b24714 100644
--- a/lib/libc/net/if_indextoname.3
+++ b/lib/libc/net/if_indextoname.3
@@ -41,6 +41,8 @@
.Nm if_nameindex ,
.Nm if_freenameindex
.Nd convert interface index to name, and vice versa
+.Sh LIBRARY
+.Lb libc
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
diff --git a/lib/libc/net/inet.3 b/lib/libc/net/inet.3
index f9941fc1d7df..2c7069de39e7 100644
--- a/lib/libc/net/inet.3
+++ b/lib/libc/net/inet.3
@@ -46,6 +46,8 @@
.Nm inet_lnaof ,
.Nm inet_netof
.Nd Internet address manipulation routines
+.Sh LIBRARY
+.Lb libc
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
diff --git a/lib/libc/net/inet6_option_space.3 b/lib/libc/net/inet6_option_space.3
index 6fd71b6def28..6c0e365b35f5 100644
--- a/lib/libc/net/inet6_option_space.3
+++ b/lib/libc/net/inet6_option_space.3
@@ -45,6 +45,8 @@
.Nm inet6_option_find
.Nd IPv6 Hop-by-Hop and Destination Options manipulation
.\"
+.Sh LIBRARY
+.Lb libc
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <netinet/in.h>
diff --git a/lib/libc/net/inet6_rthdr_space.3 b/lib/libc/net/inet6_rthdr_space.3
index 5f0845e5792c..5ea8e63c3482 100644
--- a/lib/libc/net/inet6_rthdr_space.3
+++ b/lib/libc/net/inet6_rthdr_space.3
@@ -47,6 +47,8 @@
.Nm inet6_rthdr_getflags
.Nd IPv6 Routing Header Options manipulation
.\"
+.Sh LIBRARY
+.Lb libc
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <netinet/in.h>
diff --git a/lib/libc/net/iso_addr.3 b/lib/libc/net/iso_addr.3
index ad4977800bdb..7a86f631b8f5 100644
--- a/lib/libc/net/iso_addr.3
+++ b/lib/libc/net/iso_addr.3
@@ -39,6 +39,8 @@
.Nm iso_addr ,
.Nm iso_ntoa
.Nd "elementary network address conversion routines for Open System Interconnection
+.Sh LIBRARY
+.Lb libc
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <netiso/iso.h>
diff --git a/lib/libc/net/linkaddr.3 b/lib/libc/net/linkaddr.3
index 543e04019b15..9dd9e2edb187 100644
--- a/lib/libc/net/linkaddr.3
+++ b/lib/libc/net/linkaddr.3
@@ -42,6 +42,8 @@
.Nm link_addr ,
.Nm link_ntoa
.Nd elementary address specification routines for link level access
+.Sh LIBRARY
+.Lb libc
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
diff --git a/lib/libc/net/ns.3 b/lib/libc/net/ns.3
index 6e697f9d4254..3da412746c9e 100644
--- a/lib/libc/net/ns.3
+++ b/lib/libc/net/ns.3
@@ -41,6 +41,8 @@
.Nd Xerox
.Tn NS Ns (tm)
address conversion routines
+.Sh LIBRARY
+.Lb libc
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <netns/ns.h>
diff --git a/lib/libc/net/rcmd.3 b/lib/libc/net/rcmd.3
index c16cddfff2b3..0287d349e5f8 100644
--- a/lib/libc/net/rcmd.3
+++ b/lib/libc/net/rcmd.3
@@ -44,6 +44,8 @@
.Nm rresvport_af ,
.Nm iruserok_sa
.Nd routines for returning a stream to a remote command
+.Sh LIBRARY
+.Lb libc
.Sh SYNOPSIS
.Fd #include <unistd.h>
.Ft int
diff --git a/lib/libc/net/resolver.3 b/lib/libc/net/resolver.3
index 4e715859925d..e1f366562ee0 100644
--- a/lib/libc/net/resolver.3
+++ b/lib/libc/net/resolver.3
@@ -44,6 +44,8 @@
.Nm dn_comp ,
.Nm dn_expand
.Nd resolver routines
+.Sh LIBRARY
+.Lb libc
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <netinet/in.h>