Update frtuc struct comments. It not only defines TCP things we are
interested in but also UDP. While at it document the source and destination port variables. MFC after: 3 days
This commit is contained in:
parent
b64b92b0d2
commit
67a1d0547c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=349843
@ -590,14 +590,14 @@ typedef struct frpcmp {
|
||||
|
||||
|
||||
/*
|
||||
* Structure containing all the relevant TCP things that can be checked in
|
||||
* Structure containing all the relevant TCP/UDP things that can be checked in
|
||||
* a filter rule.
|
||||
*/
|
||||
typedef struct frtuc {
|
||||
u_char ftu_tcpfm; /* tcp flags mask */
|
||||
u_char ftu_tcpf; /* tcp flags */
|
||||
frpcmp_t ftu_src;
|
||||
frpcmp_t ftu_dst;
|
||||
frpcmp_t ftu_src; /* source port */
|
||||
frpcmp_t ftu_dst; /* destination port */
|
||||
} frtuc_t;
|
||||
|
||||
#define ftu_scmp ftu_src.frp_cmp
|
||||
|
Loading…
Reference in New Issue
Block a user