Home / Type/ DnsOptEcsRecord Type — netty Architecture

DnsOptEcsRecord Type — netty Architecture

Architecture documentation for the DnsOptEcsRecord type/interface in DnsOptEcsRecord.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  f58b69cb_178c_7f93_b89c_fb3780901dbb["DnsOptEcsRecord"]
  18ff74da_a095_8f05_6942_7d0495e2ec51["DnsOptEcsRecord.java"]
  f58b69cb_178c_7f93_b89c_fb3780901dbb -->|defined in| 18ff74da_a095_8f05_6942_7d0495e2ec51
  style f58b69cb_178c_7f93_b89c_fb3780901dbb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-dns/src/main/java/io/netty/handler/codec/dns/DnsOptEcsRecord.java lines 23–40

public interface DnsOptEcsRecord extends DnsOptPseudoRecord {

    /**
     * Returns the leftmost number of significant bits of ADDRESS to be used for the lookup.
     */
    int sourcePrefixLength();

    /**
     * Returns the leftmost number of significant bits of ADDRESS that the response covers.
     * In queries, it MUST be 0.
     */
    int scopePrefixLength();

    /**
     * Returns the bytes of the {@link InetAddress} to use.
     */
    byte[] address();
}

Frequently Asked Questions

What is the DnsOptEcsRecord type?
DnsOptEcsRecord is a type/interface in the netty codebase, defined in codec-dns/src/main/java/io/netty/handler/codec/dns/DnsOptEcsRecord.java.
Where is DnsOptEcsRecord defined?
DnsOptEcsRecord is defined in codec-dns/src/main/java/io/netty/handler/codec/dns/DnsOptEcsRecord.java at line 23.

Analyze Your Own Codebase

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

Try Supermodel Free