Home / Function/ VSockAddress() — netty Function Reference

VSockAddress() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  a341a531_559c_eba8_e0e7_5dd71532bfa6["VSockAddress()"]
  d4234a66_3b23_bb74_6392_7b4eca8428c6["LinuxSocket"]
  a341a531_559c_eba8_e0e7_5dd71532bfa6 -->|defined in| d4234a66_3b23_bb74_6392_7b4eca8428c6
  987f8c77_9fb9_d922_7314_6e132f1fdc68["remoteVSockAddress()"]
  a341a531_559c_eba8_e0e7_5dd71532bfa6 -->|calls| 987f8c77_9fb9_d922_7314_6e132f1fdc68
  e358d906_9f18_8a8d_211b_b6c92e315400["getIntAt()"]
  a341a531_559c_eba8_e0e7_5dd71532bfa6 -->|calls| e358d906_9f18_8a8d_211b_b6c92e315400
  f8b12eea_7484_ab44_890e_634b71874f59["localVSockAddress()"]
  a341a531_559c_eba8_e0e7_5dd71532bfa6 -->|calls| f8b12eea_7484_ab44_890e_634b71874f59
  style a341a531_559c_eba8_e0e7_5dd71532bfa6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-classes-epoll/src/main/java/io/netty/channel/epoll/LinuxSocket.java lines 344–352

    public VSockAddress remoteVSockAddress() {
        byte[] addr = remoteVSockAddress(/*fd*/intValue());
        if (addr == null) {
            return null;
        }
        int cid = getIntAt(addr, 0);
        int port = getIntAt(addr, 4);
        return new VSockAddress(cid, port);
    }

Domain

Subdomains

Frequently Asked Questions

What does VSockAddress() do?
VSockAddress() is a function in the netty codebase, defined in transport-classes-epoll/src/main/java/io/netty/channel/epoll/LinuxSocket.java.
Where is VSockAddress() defined?
VSockAddress() is defined in transport-classes-epoll/src/main/java/io/netty/channel/epoll/LinuxSocket.java at line 344.
What does VSockAddress() call?
VSockAddress() calls 3 function(s): getIntAt, localVSockAddress, remoteVSockAddress.

Analyze Your Own Codebase

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

Try Supermodel Free