diff options
author | Cy Schubert <cy@FreeBSD.org> | 2019-07-08 19:11:49 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2019-07-08 19:11:49 +0000 |
commit | 67a1d0547c02d4623c66fa280ab82091ed347e3e (patch) | |
tree | 37963d5f98694f4a971ba75ae27a2041b8e269b0 /sys/contrib/ipfilter/netinet | |
parent | b64b92b0d204a38aef966f9783905ded8c8142cb (diff) | |
download | src-67a1d0547c02d4623c66fa280ab82091ed347e3e.tar.gz src-67a1d0547c02d4623c66fa280ab82091ed347e3e.zip |
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
Notes
Notes:
svn path=/head/; revision=349843
Diffstat (limited to 'sys/contrib/ipfilter/netinet')
-rw-r--r-- | sys/contrib/ipfilter/netinet/ip_fil.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/contrib/ipfilter/netinet/ip_fil.h b/sys/contrib/ipfilter/netinet/ip_fil.h index cbcc8827a497..95b9af7f011d 100644 --- a/sys/contrib/ipfilter/netinet/ip_fil.h +++ b/sys/contrib/ipfilter/netinet/ip_fil.h @@ -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 |