From 1fe29381876838e26c5ffbd2efaf449a5a9522a9 Mon Sep 17 00:00:00 2001 From: Sverker Eriksson Date: Fri, 14 Jun 2019 17:41:57 +0200 Subject: Move net.xml from erts to kernel --- erts/doc/src/Makefile | 3 +- erts/doc/src/net.xml | 129 -------------------------------------------- lib/kernel/doc/src/Makefile | 1 + lib/kernel/doc/src/net.xml | 129 ++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 131 insertions(+), 131 deletions(-) delete mode 100644 erts/doc/src/net.xml create mode 100644 lib/kernel/doc/src/net.xml diff --git a/erts/doc/src/Makefile b/erts/doc/src/Makefile index bc01919da1..a509f33eac 100644 --- a/erts/doc/src/Makefile +++ b/erts/doc/src/Makefile @@ -56,8 +56,7 @@ XML_REF3_EFILES = \ atomics.xml \ counters.xml \ zlib.xml \ - socket.xml \ - net.xml + socket.xml XML_REF3_FILES = \ $(XML_REF3_EFILES) \ diff --git a/erts/doc/src/net.xml b/erts/doc/src/net.xml deleted file mode 100644 index 6fbc37076c..0000000000 --- a/erts/doc/src/net.xml +++ /dev/null @@ -1,129 +0,0 @@ - - - - -
- - 20182018 - Ericsson AB. All Rights Reserved. - - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - - - net - - - - - net.xml -
- net - Network interface. - -

This module provides an API for the network interface.

- -

There is currently no support for Windows.

-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - Get hostname. - -

Returns the name of the current host.

-
-
- - - - - Address-to-name transaltion. - -

Address-to-name translation in a protocol-independant manner.

-

This function is the inverse of - getaddrinfo. - It converts a socket address to a corresponding host and service.

-
-
- - - - - - - Network address and service transation. - -

Network address and service translation.

-

This function is the inverse of - getnameinfo. - It converts host and service to a corresponding socket address.

-

One of the Host and Service may be undefined - but not both.

-
-
- - - - Mappings between network interface names and indexes. - -

Mappings between network interface names and indexes.

-
-
- - - - Mappings between network interface index and names. - -

Mappings between network interface index and names.

-
-
- - - - Get network interface names and indexes. - -

Get network interface names and indexes.

-
-
- -
- -
- diff --git a/lib/kernel/doc/src/Makefile b/lib/kernel/doc/src/Makefile index f8867ccf25..9a1379d21e 100644 --- a/lib/kernel/doc/src/Makefile +++ b/lib/kernel/doc/src/Makefile @@ -62,6 +62,7 @@ XML_REF3_FILES = application.xml \ logger_disk_log_h.xml \ logger_filters.xml \ logger_formatter.xml \ + net.xml \ net_adm.xml \ net_kernel.xml \ os.xml \ diff --git a/lib/kernel/doc/src/net.xml b/lib/kernel/doc/src/net.xml new file mode 100644 index 0000000000..6fbc37076c --- /dev/null +++ b/lib/kernel/doc/src/net.xml @@ -0,0 +1,129 @@ + + + + +
+ + 20182018 + Ericsson AB. All Rights Reserved. + + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + + + net + + + + + net.xml +
+ net + Network interface. + +

This module provides an API for the network interface.

+ +

There is currently no support for Windows.

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + Get hostname. + +

Returns the name of the current host.

+
+
+ + + + + Address-to-name transaltion. + +

Address-to-name translation in a protocol-independant manner.

+

This function is the inverse of + getaddrinfo. + It converts a socket address to a corresponding host and service.

+
+
+ + + + + + + Network address and service transation. + +

Network address and service translation.

+

This function is the inverse of + getnameinfo. + It converts host and service to a corresponding socket address.

+

One of the Host and Service may be undefined + but not both.

+
+
+ + + + Mappings between network interface names and indexes. + +

Mappings between network interface names and indexes.

+
+
+ + + + Mappings between network interface index and names. + +

Mappings between network interface index and names.

+
+
+ + + + Get network interface names and indexes. + +

Get network interface names and indexes.

+
+
+ +
+ +
+ -- cgit v1.2.3