next up previous contents
Next: Retrieving the Differentiated Services Up: Idiomatic constructs Previous: IP options   Contents

TCP connections

tcp_incoming is non-zero if the packet is the SYN segment of an incoming TCP connection. Note that ``incoming'' is from the perspective of the classifier, i.e. tcp_incoming is non-zero if the connection is being set up in the same direction in which the current packet is traveling, as shown in figure 2.1.

Figure 2.1: Result of tcp_incoming.
\begin{figure}\begin{center}
\epsfig{file=incoming.eps}\end{center}\end{figure}

The macro not_tcp_incoming is the negation of tcp_incoming.



Martin A. Brown 2003-11-06