Home / Function/ incrementUintSegmentNumber() — netty Function Reference

incrementUintSegmentNumber() — netty Function Reference

Architecture documentation for the incrementUintSegmentNumber() function in PcapWriteHandler.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  89999839_bf9a_67ff_18ff_46d98e911624["incrementUintSegmentNumber()"]
  59f0289b_ecfd_de3c_3397_4cf08e2047d1["PcapWriteHandler"]
  89999839_bf9a_67ff_18ff_46d98e911624 -->|defined in| 59f0289b_ecfd_de3c_3397_4cf08e2047d1
  320d8848_c045_6f15_fc6c_77ec890cc385["handleTcpPacket()"]
  320d8848_c045_6f15_fc6c_77ec890cc385 -->|calls| 89999839_bf9a_67ff_18ff_46d98e911624
  83e8cd99_fb62_b9e8_70a4_3ee322e6c838["handlerRemoved()"]
  83e8cd99_fb62_b9e8_70a4_3ee322e6c838 -->|calls| 89999839_bf9a_67ff_18ff_46d98e911624
  style 89999839_bf9a_67ff_18ff_46d98e911624 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/pcap/PcapWriteHandler.java lines 470–473

    private static long incrementUintSegmentNumber(long sequenceNumber, int value) {
        // If the sequence number would go above the max for uint32, wrap around
        return (sequenceNumber + value) % (0xFFFFFFFFL + 1);
    }

Domain

Subdomains

Frequently Asked Questions

What does incrementUintSegmentNumber() do?
incrementUintSegmentNumber() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/pcap/PcapWriteHandler.java.
Where is incrementUintSegmentNumber() defined?
incrementUintSegmentNumber() is defined in handler/src/main/java/io/netty/handler/pcap/PcapWriteHandler.java at line 470.
What calls incrementUintSegmentNumber()?
incrementUintSegmentNumber() is called by 2 function(s): handleTcpPacket, handlerRemoved.

Analyze Your Own Codebase

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

Try Supermodel Free