Home / Function/ shouldUseIpv6() — netty Function Reference

shouldUseIpv6() — netty Function Reference

Architecture documentation for the shouldUseIpv6() function in Socket.java from the netty codebase.

Function java Buffer Search calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  54ce885b_d37c_959b_00f2_f27130981083["shouldUseIpv6()"]
  c1db2c0c_ff79_5334_3102_02a56efa545c["Socket"]
  54ce885b_d37c_959b_00f2_f27130981083 -->|defined in| c1db2c0c_ff79_5334_3102_02a56efa545c
  04a300fb_8059_92dd_4850_a45627662aef["newSocketStream0()"]
  04a300fb_8059_92dd_4850_a45627662aef -->|calls| 54ce885b_d37c_959b_00f2_f27130981083
  5bf22e48_5748_0d16_fc7b_36890c1532dc["newSocketDgram0()"]
  5bf22e48_5748_0d16_fc7b_36890c1532dc -->|calls| 54ce885b_d37c_959b_00f2_f27130981083
  d6fc9580_2466_bd2d_8229_e7c0e95b46e0["isIPv6Preferred()"]
  54ce885b_d37c_959b_00f2_f27130981083 -->|calls| d6fc9580_2466_bd2d_8229_e7c0e95b46e0
  style 54ce885b_d37c_959b_00f2_f27130981083 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-native-unix-common/src/main/java/io/netty/channel/unix/Socket.java lines 556–560

    @Deprecated
    public static boolean shouldUseIpv6(InternetProtocolFamily family) {
        return family == null ? isIPv6Preferred() :
                        family == InternetProtocolFamily.IPv6;
    }

Domain

Subdomains

Frequently Asked Questions

What does shouldUseIpv6() do?
shouldUseIpv6() is a function in the netty codebase, defined in transport-native-unix-common/src/main/java/io/netty/channel/unix/Socket.java.
Where is shouldUseIpv6() defined?
shouldUseIpv6() is defined in transport-native-unix-common/src/main/java/io/netty/channel/unix/Socket.java at line 556.
What does shouldUseIpv6() call?
shouldUseIpv6() calls 1 function(s): isIPv6Preferred.
What calls shouldUseIpv6()?
shouldUseIpv6() is called by 2 function(s): newSocketDgram0, newSocketStream0.

Analyze Your Own Codebase

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

Try Supermodel Free