TCPFlag Type — netty Architecture
Architecture documentation for the TCPFlag type/interface in TCPPacket.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 424d9d52_ac0a_ed00_6484_3268fd86a053["TCPFlag"] 01b05935_d4ca_200b_92ae_d5b9ab5e0e5f["TCPPacket.java"] 424d9d52_ac0a_ed00_6484_3268fd86a053 -->|defined in| 01b05935_d4ca_200b_92ae_d5b9ab5e0e5f style 424d9d52_ac0a_ed00_6484_3268fd86a053 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/main/java/io/netty/handler/pcap/TCPPacket.java lines 56–81
enum TCPFlag {
FIN(1),
SYN(1 << 1),
RST(1 << 2),
PSH(1 << 3),
ACK(1 << 4),
URG(1 << 5),
ECE(1 << 6),
CWR(1 << 7);
private final int value;
TCPFlag(int value) {
this.value = value;
}
static int getFlag(TCPFlag... tcpFlags) {
int flags = 0;
for (TCPFlag tcpFlag : tcpFlags) {
flags |= tcpFlag.value;
}
return flags;
}
}
Source
Frequently Asked Questions
What is the TCPFlag type?
TCPFlag is a type/interface in the netty codebase, defined in handler/src/main/java/io/netty/handler/pcap/TCPPacket.java.
Where is TCPFlag defined?
TCPFlag is defined in handler/src/main/java/io/netty/handler/pcap/TCPPacket.java at line 56.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free