mirror of
https://github.com/opnsense/src.git
synced 2026-02-18 18:20:26 -05:00
Add tcp header flags ECE and CWR defined in RFC 3168.
PR: 140349 Submitted by: Alan Amesbury <amesbury@umn.edu> (earlier version) Reviewed by: delphij Approved by: sbruno (mentor)
This commit is contained in:
parent
78a4f635f8
commit
a385d0b340
3 changed files with 6 additions and 2 deletions
|
|
@ -783,7 +783,8 @@ The following ICMP type field values are available: \fBicmp-echoreply\fP,
|
|||
|
||||
The following TCP flags field values are available: \fBtcp-fin\fP,
|
||||
\fBtcp-syn\fP, \fBtcp-rst\fP, \fBtcp-push\fP,
|
||||
\fBtcp-ack\fP, \fBtcp-urg\fP.
|
||||
\fBtcp-ack\fP, \fBtcp-urg\fP, \fBtcp-ece\fP,
|
||||
\fBtcp-cwr\fP.
|
||||
.LP
|
||||
Primitives may be combined using:
|
||||
.IP
|
||||
|
|
|
|||
|
|
@ -783,7 +783,8 @@ The following ICMP type field values are available: \fBicmp-echoreply\fP,
|
|||
|
||||
The following TCP flags field values are available: \fBtcp-fin\fP,
|
||||
\fBtcp-syn\fP, \fBtcp-rst\fP, \fBtcp-push\fP,
|
||||
\fBtcp-ack\fP, \fBtcp-urg\fP.
|
||||
\fBtcp-ack\fP, \fBtcp-urg\fP, \fBtcp-ece\fP,
|
||||
\fBtcp-cwr\fP.
|
||||
.LP
|
||||
Primitives may be combined using:
|
||||
.IP
|
||||
|
|
|
|||
|
|
@ -385,6 +385,8 @@ tcp-rst { yylval.i = 0x04; return NUM; }
|
|||
tcp-push { yylval.i = 0x08; return NUM; }
|
||||
tcp-ack { yylval.i = 0x10; return NUM; }
|
||||
tcp-urg { yylval.i = 0x20; return NUM; }
|
||||
tcp-ece { yylval.i = 0x40; return NUM; }
|
||||
tcp-cwr { yylval.i = 0x80; return NUM; }
|
||||
[A-Za-z0-9]([-_.A-Za-z0-9]*[.A-Za-z0-9])? {
|
||||
yylval.s = sdup((char *)yytext); return ID; }
|
||||
"\\"[^ !()\n\t]+ { yylval.s = sdup((char *)yytext + 1); return ID; }
|
||||
|
|
|
|||
Loading…
Reference in a new issue