summaryrefslogtreecommitdiff
path: root/sys/netinet6/ipcomp_input.c
diff options
context:
space:
mode:
authordarrenr <darrenr@NetBSD.org>2000-02-17 10:59:32 +0000
committerdarrenr <darrenr@NetBSD.org>2000-02-17 10:59:32 +0000
commitfd7edad6c38dd58a486169a70249f2d366ca44dc (patch)
tree404fb15bb4c55272991878d69ba66476f06440d3 /sys/netinet6/ipcomp_input.c
parent376d66b867dba7acc4137c86bacbf8958cd03b68 (diff)
Change the use of pfil hooks. There is no longer a single list of all
pfil information, instead, struct protosw now contains a structure which caontains list heads, etc. The per-protosw pfil struct is passed to pfil_hook_get(), along with an in/out flag to get the head of the relevant filter list. This has been done for only IPv4 and IPv6, at present, with these patches only enabling filtering for IPPROTO_IP and IPPROTO_IPV6, although it is possible to have tcp/udp, etc, dedicated filters now also. The ipfilter code has been updated to only filter IPv4 packets - next major release of ipfilter is required for ipv6.
Diffstat (limited to 'sys/netinet6/ipcomp_input.c')
-rw-r--r--sys/netinet6/ipcomp_input.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/netinet6/ipcomp_input.c b/sys/netinet6/ipcomp_input.c
index 45e16a4fc29..ea5b4860a34 100644
--- a/sys/netinet6/ipcomp_input.c
+++ b/sys/netinet6/ipcomp_input.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ipcomp_input.c,v 1.9 2000/02/06 12:49:46 itojun Exp $ */
+/* $NetBSD: ipcomp_input.c,v 1.10 2000/02/17 10:59:39 darrenr Exp $ */
/*
* Copyright (C) 1999 WIDE Project.
@@ -78,9 +78,6 @@
#define IPLEN_FLIPPED
#ifdef INET
-extern struct protosw inetsw[];
-extern u_char ip_protox[];
-
void
#if __STDC__
ipcomp4_input(struct mbuf *m, ...)