aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/lib/kernel/include
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2011-05-20 15:43:53 +0200
committerBjörn-Egil Dahlberg <[email protected]>2011-05-20 15:43:53 +0200
commit95c3ab442c13e84502a749e61ad09fc8e5816d34 (patch)
tree9ff5767b2b55e24ef4fbcc4e015287a09ca9bf41 /bootstrap/lib/kernel/include
parentf51fe0b00300082fe2a937c4575afedd9e113afa (diff)
downloadotp-95c3ab442c13e84502a749e61ad09fc8e5816d34.tar.gz
otp-95c3ab442c13e84502a749e61ad09fc8e5816d34.tar.bz2
otp-95c3ab442c13e84502a749e61ad09fc8e5816d34.zip
Update primary bootstrap
Diffstat (limited to 'bootstrap/lib/kernel/include')
-rw-r--r--bootstrap/lib/kernel/include/inet.hrl15
1 files changed, 4 insertions, 11 deletions
diff --git a/bootstrap/lib/kernel/include/inet.hrl b/bootstrap/lib/kernel/include/inet.hrl
index 929b2ee294..3e64d4bb79 100644
--- a/bootstrap/lib/kernel/include/inet.hrl
+++ b/bootstrap/lib/kernel/include/inet.hrl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1997-2009. All Rights Reserved.
+%% Copyright Ericsson AB 1997-2011. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -19,18 +19,11 @@
%% This record is returned by inet:gethostbyaddr/2 and inet:gethostbyname/2.
--type hostname() :: atom() | string().
--type ip4_address() :: {0..255,0..255,0..255,0..255}.
--type ip6_address() :: {0..65535,0..65535,0..65535,0..65535,
- 0..65535,0..65535,0..65535,0..65535}.
--type ip_address() :: ip4_address() | ip6_address().
--type ip_port() :: 0..65535.
-
-record(hostent,
{
- h_name :: hostname(), %% offical name of host
- h_aliases = [] :: [hostname()], %% alias list
+ h_name :: inet:hostname(), %% offical name of host
+ h_aliases = [] :: [inet:hostname()], %% alias list
h_addrtype :: 'inet' | 'inet6', %% host address type
h_length :: non_neg_integer(), %% length of address
- h_addr_list = [] :: [ip_address()] %% list of addresses from name server
+ h_addr_list = [] :: [inet:ip_address()]%% list of addresses from name server
}).