View | Details | Raw Unified | Return to bug 238796 | Differences between
and this patch

Collapse All | Expand All

(-)b/sys/contrib/ipfilter/netinet/ip_fil.h (-1 / +5 lines)
Lines 686-692 typedef struct frentry { Link Here
686
	int	fr_ref;		/* reference count */
686
	int	fr_ref;		/* reference count */
687
	int	fr_statecnt;	/* state count - for limit rules */
687
	int	fr_statecnt;	/* state count - for limit rules */
688
	u_32_t	fr_die;		/* only used on loading the rule */
688
	u_32_t	fr_die;		/* only used on loading the rule */
689
	u_int	fr_cksum;	/* checksum on filter rules for performance */
690
	/*
689
	/*
691
	 * The line number from a file is here because we need to be able to
690
	 * The line number from a file is here because we need to be able to
692
	 * match the rule generated with ``grep rule ipf.conf | ipf -rf -''
691
	 * match the rule generated with ``grep rule ipf.conf | ipf -rf -''
Lines 754-759 typedef struct frentry { Link Here
754
	 */
753
	 */
755
	int	fr_namelen;
754
	int	fr_namelen;
756
	char	fr_names[1];
755
	char	fr_names[1];
756
	/*
757
	 * This must be last and will change after loaded into the kernel.
758
	 * XXX: Moving this is career limiting.
759
	 */
760
	u_int	fr_cksum;	/* checksum on filter rules for performance */
757
} frentry_t;
761
} frentry_t;
758
762
759
#define	fr_lastpkt	fr_lpu.frp_lastpkt
763
#define	fr_lastpkt	fr_lpu.frp_lastpkt

Return to bug 238796