Skip to content
Snippets Groups Projects
Unverified Commit 8eb86a90 authored by Pravein Govindan Kannan's avatar Pravein Govindan Kannan Committed by GitHub
Browse files

Merge pull request #105 from msherif1234/tcp_ack

Add TCP ack flag to the collectes TCP flags list
parents 420576f8 2043e1cb
No related branches found
No related tags found
No related merge requests found
......@@ -90,6 +90,8 @@ static inline void set_flags(struct tcphdr *th, u16 *flags) {
*flags |= FIN_FLAG;
} else if (th->syn) {
*flags |= SYN_FLAG;
} else if (th->ack) {
*flags |= ACK_FLAG;
} else if (th->rst) {
*flags |= RST_FLAG;
} else if (th->psh) {
......
No preview for this file type
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment