calculateEcsAddressLength() — netty Function Reference
Architecture documentation for the calculateEcsAddressLength() function in DefaultDnsRecordEncoder.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 73402557_bece_7091_6c4d_50be4b96831a["calculateEcsAddressLength()"] 7acd50be_5ea0_6375_ac42_d023d53b4027["DefaultDnsRecordEncoder"] 73402557_bece_7091_6c4d_50be4b96831a -->|defined in| 7acd50be_5ea0_6375_ac42_d023d53b4027 e1aa726e_3571_f1cd_26ca_fe4a65acaf15["encodeOptEcsRecord()"] e1aa726e_3571_f1cd_26ca_fe4a65acaf15 -->|calls| 73402557_bece_7091_6c4d_50be4b96831a style 73402557_bece_7091_6c4d_50be4b96831a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-dns/src/main/java/io/netty/handler/codec/dns/DefaultDnsRecordEncoder.java lines 131–133
static int calculateEcsAddressLength(int sourcePrefixLength, int lowOrderBitsToPreserve) {
return (sourcePrefixLength >>> 3) + (lowOrderBitsToPreserve != 0 ? 1 : 0);
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does calculateEcsAddressLength() do?
calculateEcsAddressLength() is a function in the netty codebase, defined in codec-dns/src/main/java/io/netty/handler/codec/dns/DefaultDnsRecordEncoder.java.
Where is calculateEcsAddressLength() defined?
calculateEcsAddressLength() is defined in codec-dns/src/main/java/io/netty/handler/codec/dns/DefaultDnsRecordEncoder.java at line 131.
What calls calculateEcsAddressLength()?
calculateEcsAddressLength() is called by 1 function(s): encodeOptEcsRecord.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free