From 07812b3df59550e71af87ee8a5eda98800ccc5cd Mon Sep 17 00:00:00 2001
From: Tristan D'audibert The structure of a UDP header
@@ -1195,7 +1195,7 @@ The
struct
function returns the IP header as a
pointer to a source
is the source port;
dest
is the destination port;syn
, ack
, fin
are the TCP flags used; for a more detailed view,
-see this diagram.1. Displaying packets in kernel spaceip_hdr()
struct iphdr
structure. The tcp_hdr()
function
returns the TCP header as a pointer to a struct tcphdr
structure.
The diagram explains how to make a TCP connection. The connection initiation +
The diagram explains how to make a TCP connection. The connection initiation
packet has the SYN
flag set in the TCP header and the ACK
flag cleared.