Home / Function/ testIpv4DefaultRoute() — netty Function Reference

testIpv4DefaultRoute() — netty Function Reference

Architecture documentation for the testIpv4DefaultRoute() function in IpSubnetFilterTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  60c98320_84d4_f702_6404_67d3bb05a4e5["testIpv4DefaultRoute()"]
  a29baed8_7220_9a86_5676_d9b84ff398ba["IpSubnetFilterTest"]
  60c98320_84d4_f702_6404_67d3bb05a4e5 -->|defined in| a29baed8_7220_9a86_5676_d9b84ff398ba
  cba4d8c1_ee71_7b1a_b7df_9afd19b3641e["IpSubnetFilterRule()"]
  60c98320_84d4_f702_6404_67d3bb05a4e5 -->|calls| cba4d8c1_ee71_7b1a_b7df_9afd19b3641e
  style 60c98320_84d4_f702_6404_67d3bb05a4e5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/test/java/io/netty/handler/ipfilter/IpSubnetFilterTest.java lines 39–45

    @Test
    public void testIpv4DefaultRoute() {
        IpSubnetFilterRule rule = new IpSubnetFilterRule("0.0.0.0", 0, IpFilterRuleType.ACCEPT);
        assertTrue(rule.matches(newSockAddress("91.114.240.43")));
        assertTrue(rule.matches(newSockAddress("10.0.0.3")));
        assertTrue(rule.matches(newSockAddress("192.168.93.2")));
    }

Domain

Subdomains

Frequently Asked Questions

What does testIpv4DefaultRoute() do?
testIpv4DefaultRoute() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/ipfilter/IpSubnetFilterTest.java.
Where is testIpv4DefaultRoute() defined?
testIpv4DefaultRoute() is defined in handler/src/test/java/io/netty/handler/ipfilter/IpSubnetFilterTest.java at line 39.
What does testIpv4DefaultRoute() call?
testIpv4DefaultRoute() calls 1 function(s): IpSubnetFilterRule.

Analyze Your Own Codebase

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

Try Supermodel Free