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_input.c | |
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_input.c')
-rw-r--r-- | sys/netinet/ip_input.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c index 15d053a..04de9cb 100644 --- a/sys/netinet/ip_input.c +++ b/sys/netinet/ip_input.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)ip_input.c 8.2 (Berkeley) 1/4/94 - * $Id: ip_input.c,v 1.36 1996/02/23 15:47:53 phk Exp $ + * $Id: ip_input.c,v 1.37 1996/02/24 00:17:34 phk Exp $ */ #include <sys/param.h> @@ -121,7 +121,7 @@ dummy_ip_fw_chk(m, ip, rif, dir) int (*ip_fw_chk_ptr)(struct mbuf *, struct ip *, struct ifnet *, int dir) = dummy_ip_fw_chk; -int (*ip_fw_ctl_ptr)(int, struct mbuf *); +int (*ip_fw_ctl_ptr)(int, struct mbuf **); /* * We need to save the IP options in case a protocol wants to respond @@ -190,7 +190,7 @@ ip_input(struct mbuf *m) register struct ip *ip; register struct ipq *fp; register struct in_ifaddr *ia; - int hlen, s; + int hlen; #ifdef DIAGNOSTIC if ((m->m_flags & M_PKTHDR) == 0) |