aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/ip_fil.h
diff options
context:
space:
mode:
authorGuido van Rooij <guido@FreeBSD.org>2000-02-10 21:29:11 +0000
committerGuido van Rooij <guido@FreeBSD.org>2000-02-10 21:29:11 +0000
commita993ad154a0e38688f39f09663054a5485bee6e8 (patch)
tree5c117ae5bbfb49c036e3224dac3d37e89f47d8e9 /sys/netinet/ip_fil.h
parent960e15a70b124639b7f5d34174943952d8d50e34 (diff)
Notes
Diffstat (limited to 'sys/netinet/ip_fil.h')
-rw-r--r--sys/netinet/ip_fil.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/netinet/ip_fil.h b/sys/netinet/ip_fil.h
index aa42f2fdf14f..8ec87cf99808 100644
--- a/sys/netinet/ip_fil.h
+++ b/sys/netinet/ip_fil.h
@@ -7,6 +7,7 @@
*
* @(#)ip_fil.h 1.35 6/5/96
* $Id: ip_fil.h,v 2.3.2.7 2000/01/27 08:49:41 darrenr Exp $
+ * $FreeBSD$
*/
#ifndef __IP_FIL_H__
@@ -82,8 +83,8 @@
#define SIOCINSFR SIOCINAFR
typedef struct fr_ip {
- u_char fi_v:4; /* IP version */
- u_char fi_fl:4; /* packet flags */
+ u_int fi_v:4; /* IP version */
+ u_int fi_fl:4; /* packet flags */
u_char fi_tos; /* IP packet TOS */
u_char fi_ttl; /* IP packet TTL */
u_char fi_p; /* IP packet protocol */
@@ -427,6 +428,7 @@ typedef struct ipflog {
#ifndef _KERNEL
+struct ifnet;
extern int fr_check __P((ip_t *, int, void *, int, mb_t **));
extern int (*fr_checkp) __P((ip_t *, int, void *, int, mb_t **));
extern int send_reset __P((ip_t *, struct ifnet *));