inet.3 (0c927cdd8e6e05387fc5a9ffcb5dbe128d4ad749) inet.3 (0bb263df82e129f5f8c82da6deb55dfe10daa677)
1.\" Copyright (c) 1983, 1990, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 14 unchanged lines hidden (view full) ---

23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
28.\" From: @(#)inet.3 8.1 (Berkeley) 6/4/93
29.\" $FreeBSD$
30.\"
1.\" Copyright (c) 1983, 1990, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 14 unchanged lines hidden (view full) ---

23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
28.\" From: @(#)inet.3 8.1 (Berkeley) 6/4/93
29.\" $FreeBSD$
30.\"
31.Dd June 11, 2007
31.Dd June 14, 2007
32.Dt INET 3
33.Os
34.Sh NAME
35.Nm inet_aton ,
36.Nm inet_addr ,
37.Nm inet_network ,
38.Nm inet_ntoa ,
39.Nm inet_ntoa_r ,

--- 17 unchanged lines hidden (view full) ---

57.Ft in_addr_t
58.Fn inet_network "const char *cp"
59.Ft char *
60.Fn inet_ntoa "struct in_addr in"
61.Ft char *
62.Fo inet_ntoa_r
63.Fa "struct in_addr in"
64.Fa "char *buf"
32.Dt INET 3
33.Os
34.Sh NAME
35.Nm inet_aton ,
36.Nm inet_addr ,
37.Nm inet_network ,
38.Nm inet_ntoa ,
39.Nm inet_ntoa_r ,

--- 17 unchanged lines hidden (view full) ---

57.Ft in_addr_t
58.Fn inet_network "const char *cp"
59.Ft char *
60.Fn inet_ntoa "struct in_addr in"
61.Ft char *
62.Fo inet_ntoa_r
63.Fa "struct in_addr in"
64.Fa "char *buf"
65.Fa "socklen_t size"
65.Fc
66.Ft const char *
67.Fo inet_ntop
68.Fa "int af"
69.Fa "const void * restrict src"
70.Fa "char * restrict dst"
71.Fa "socklen_t size"
72.Fc

--- 78 unchanged lines hidden (view full) ---

151.Tn ASCII
152string representing the address in
153.Ql .\&
154notation.
155The routine
156.Fn inet_ntoa_r
157is the reentrant version of
158.Fn inet_ntoa .
66.Fc
67.Ft const char *
68.Fo inet_ntop
69.Fa "int af"
70.Fa "const void * restrict src"
71.Fa "char * restrict dst"
72.Fa "socklen_t size"
73.Fc

--- 78 unchanged lines hidden (view full) ---

152.Tn ASCII
153string representing the address in
154.Ql .\&
155notation.
156The routine
157.Fn inet_ntoa_r
158is the reentrant version of
159.Fn inet_ntoa .
159It requires a buffer large enough to contain an IPv4 address.
160The routine
161.Fn inet_makeaddr
162takes an Internet network number and a local
163network address and constructs an Internet address
164from it.
165The routines
166.Fn inet_netof
167and

--- 138 unchanged lines hidden ---
160The routine
161.Fn inet_makeaddr
162takes an Internet network number and a local
163network address and constructs an Internet address
164from it.
165The routines
166.Fn inet_netof
167and

--- 138 unchanged lines hidden ---