Home / Function/ NativeInetAddress() — netty Function Reference

NativeInetAddress() — netty Function Reference

Architecture documentation for the NativeInetAddress() function in NativeInetAddress.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  55503a66_5d9d_ab86_5bbb_fe252cf0d737["NativeInetAddress()"]
  8c187a6a_d8a7_5d2b_d6bb_c850cff3c2c3["NativeInetAddress"]
  55503a66_5d9d_ab86_5bbb_fe252cf0d737 -->|defined in| 8c187a6a_d8a7_5d2b_d6bb_c850cff3c2c3
  b00d13a5_4f19_23f6_c395_dd77ba52a972["ipv4MappedIpv6Address()"]
  55503a66_5d9d_ab86_5bbb_fe252cf0d737 -->|calls| b00d13a5_4f19_23f6_c395_dd77ba52a972
  style 55503a66_5d9d_ab86_5bbb_fe252cf0d737 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-native-unix-common/src/main/java/io/netty/channel/unix/NativeInetAddress.java lines 32–40

    public static NativeInetAddress newInstance(InetAddress addr) {
        byte[] bytes = addr.getAddress();
        if (addr instanceof Inet6Address) {
            return new NativeInetAddress(bytes, ((Inet6Address) addr).getScopeId());
        } else {
            // convert to ipv4 mapped ipv6 address;
            return new NativeInetAddress(ipv4MappedIpv6Address(bytes));
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does NativeInetAddress() do?
NativeInetAddress() is a function in the netty codebase, defined in transport-native-unix-common/src/main/java/io/netty/channel/unix/NativeInetAddress.java.
Where is NativeInetAddress() defined?
NativeInetAddress() is defined in transport-native-unix-common/src/main/java/io/netty/channel/unix/NativeInetAddress.java at line 32.
What does NativeInetAddress() call?
NativeInetAddress() calls 1 function(s): ipv4MappedIpv6Address.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free