Home / Function/ NetworkInterface() — netty Function Reference

NetworkInterface() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  9db13a55_e0da_dcd4_9f9c_caef22e471b5["NetworkInterface()"]
  d4234a66_3b23_bb74_6392_7b4eca8428c6["LinuxSocket"]
  9db13a55_e0da_dcd4_9f9c_caef22e471b5 -->|defined in| d4234a66_3b23_bb74_6392_7b4eca8428c6
  de935043_7caa_f1ff_3844_263cc5015c23["getInterface()"]
  9db13a55_e0da_dcd4_9f9c_caef22e471b5 -->|calls| de935043_7caa_f1ff_3844_263cc5015c23
  style 9db13a55_e0da_dcd4_9f9c_caef22e471b5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-classes-epoll/src/main/java/io/netty/channel/epoll/LinuxSocket.java lines 97–104

    NetworkInterface getNetworkInterface() throws IOException {
        int ret = getInterface(intValue(), ipv6);
        if (ipv6) {
            return NetworkInterface.getByIndex(ret);
        }
        InetAddress address = inetAddress(ret);
        return address != null ? NetworkInterface.getByInetAddress(address) : null;
    }

Domain

Subdomains

Frequently Asked Questions

What does NetworkInterface() do?
NetworkInterface() is a function in the netty codebase, defined in transport-classes-epoll/src/main/java/io/netty/channel/epoll/LinuxSocket.java.
Where is NetworkInterface() defined?
NetworkInterface() is defined in transport-classes-epoll/src/main/java/io/netty/channel/epoll/LinuxSocket.java at line 97.
What does NetworkInterface() call?
NetworkInterface() calls 1 function(s): getInterface.

Analyze Your Own Codebase

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

Try Supermodel Free