diff options
author | phk <phk@FreeBSD.org> | 1996-02-24 13:38:28 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1996-02-24 13:38:28 +0000 |
commit | 45a7f29691072258573e111c1034432e37e944f2 (patch) | |
tree | c2e95be8f2e89f3c4a7e2f1ecd65471c55e01cb8 /sys/netinet/ip_fw.h | |
parent | 4bcbc91c0c769ab35c42d986c2ec4a6f6cc51b8d (diff) | |
download | FreeBSD-src-45a7f29691072258573e111c1034432e37e944f2.zip FreeBSD-src-45a7f29691072258573e111c1034432e37e944f2.tar.gz |
Make getsockopt() capable of handling more than one mbuf worth of data.
Use this to read rules out of ipfw.
Add the lkm code to ipfw.c
Diffstat (limited to 'sys/netinet/ip_fw.h')
-rw-r--r-- | sys/netinet/ip_fw.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/sys/netinet/ip_fw.h b/sys/netinet/ip_fw.h index f39688c..9f6ac09 100644 --- a/sys/netinet/ip_fw.h +++ b/sys/netinet/ip_fw.h @@ -11,7 +11,7 @@ * * This software is provided ``AS IS'' without any warranties of any kind. * - * $Id: ip_fw.h,v 1.15 1996/02/23 15:47:52 phk Exp $ + * $Id: ip_fw.h,v 1.16 1996/02/24 00:17:33 phk Exp $ */ /* @@ -115,15 +115,7 @@ struct ip_fw_chain { #define IP_FW_DEL (IP_FW_BASE_CTL+1) #define IP_FW_FLUSH (IP_FW_BASE_CTL+2) #define IP_FW_ZERO (IP_FW_BASE_CTL+3) - -/* - * Policy flags... - */ -#define IP_FW_P_DENY 0x01 -#define IP_FW_P_ICMP 0x02 -#define IP_FW_P_MBIPO 0x04 -#define IP_FW_P_MASK 0x07 - +#define IP_FW_GET (IP_FW_BASE_CTL+4) /* * Main firewall chains definitions and global var's definitions. @@ -134,7 +126,7 @@ struct ip_fw_chain { * Function pointers. */ extern int (*ip_fw_chk_ptr)(struct mbuf *, struct ip *,struct ifnet *, int dir); -extern int (*ip_fw_ctl_ptr)(int,struct mbuf *); +extern int (*ip_fw_ctl_ptr)(int,struct mbuf **); /* * Function definitions. |