Comment ECN/CWR changes more.

remotes/origin/master-1.0.x
Victor Julien 16 years ago
parent 83ddc5813a
commit 5eb4095b9a

@ -12,13 +12,16 @@
* (type + len), except EOL and NOP */
/* TCP flags */
#define TH_FIN 0x01
#define TH_SYN 0x02
#define TH_RST 0x04
#define TH_PUSH 0x08
#define TH_ACK 0x10
#define TH_URG 0x20
/** Establish a new connection reducing window */
#define TH_ECN 0x40
/** Echo Congestion flag */
#define TH_CWR 0x80
/* tcp option codes */

@ -714,6 +714,7 @@ static int StreamTcpPacketStateSynSent(ThreadVars *tv, Packet *p,
"toclient":"toserver");
switch (p->tcph->th_flags) {
/** \todo what about ECN/CWR here? */
case TH_SYN:
SCLogDebug("ssn %p: SYN packet on state SYN_SENT... resent", ssn);
if (ssn->flags & STREAMTCP_FLAG_4WHS)

Loading…
Cancel
Save