svn commit: r349903 - in stable: 10/sys/contrib/ipfilter/netinet 11/sys/contrib/ipfilter/netinet 12/sys/contrib/ipfilter/netinet

Cy Schubert cy at FreeBSD.org
Thu Jul 11 00:44:11 UTC 2019


Author: cy
Date: Thu Jul 11 00:44:09 2019
New Revision: 349903
URL: https://svnweb.freebsd.org/changeset/base/349903

Log:
  MFC 349843:
  
  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.

Modified:
  stable/10/sys/contrib/ipfilter/netinet/ip_fil.h
Directory Properties:
  stable/10/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/11/sys/contrib/ipfilter/netinet/ip_fil.h
  stable/12/sys/contrib/ipfilter/netinet/ip_fil.h
Directory Properties:
  stable/11/   (props changed)
  stable/12/   (props changed)

Modified: stable/10/sys/contrib/ipfilter/netinet/ip_fil.h
==============================================================================
--- stable/10/sys/contrib/ipfilter/netinet/ip_fil.h	Thu Jul 11 00:38:10 2019	(r349902)
+++ stable/10/sys/contrib/ipfilter/netinet/ip_fil.h	Thu Jul 11 00:44:09 2019	(r349903)
@@ -600,14 +600,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


More information about the svn-src-all mailing list