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
3bb8c14f92
commit
283db005c5
@ -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…
x
Reference in New Issue
Block a user