Home / Function/ setInterface() — netty Function Reference

setInterface() — netty Function Reference

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

Function java Buffer Telemetry calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  2ca251d5_1ef6_c101_ef60_5810f4c805e1["setInterface()"]
  d4234a66_3b23_bb74_6392_7b4eca8428c6["LinuxSocket"]
  2ca251d5_1ef6_c101_ef60_5810f4c805e1 -->|defined in| d4234a66_3b23_bb74_6392_7b4eca8428c6
  f99f40dd_7c0a_a584_bdb5_61505165f617["setNetworkInterface()"]
  f99f40dd_7c0a_a584_bdb5_61505165f617 -->|calls| 2ca251d5_1ef6_c101_ef60_5810f4c805e1
  cd5cde44_97e9_e3ba_70b6_c79a1ebeaadd["interfaceIndex()"]
  2ca251d5_1ef6_c101_ef60_5810f4c805e1 -->|calls| cd5cde44_97e9_e3ba_70b6_c79a1ebeaadd
  style 2ca251d5_1ef6_c101_ef60_5810f4c805e1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-classes-epoll/src/main/java/io/netty/channel/epoll/LinuxSocket.java lines 72–75

    void setInterface(InetAddress address) throws IOException {
        final NativeInetAddress a = NativeInetAddress.newInstance(address);
        setInterface(intValue(), ipv6, a.address(), a.scopeId(), interfaceIndex(address));
    }

Domain

Subdomains

Frequently Asked Questions

What does setInterface() do?
setInterface() is a function in the netty codebase, defined in transport-classes-epoll/src/main/java/io/netty/channel/epoll/LinuxSocket.java.
Where is setInterface() defined?
setInterface() is defined in transport-classes-epoll/src/main/java/io/netty/channel/epoll/LinuxSocket.java at line 72.
What does setInterface() call?
setInterface() calls 1 function(s): interfaceIndex.
What calls setInterface()?
setInterface() is called by 1 function(s): setNetworkInterface.

Analyze Your Own Codebase

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

Try Supermodel Free