summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_encap.c
diff options
context:
space:
mode:
authorfenner <fenner@FreeBSD.org>2001-07-25 20:15:49 +0000
committerfenner <fenner@FreeBSD.org>2001-07-25 20:15:49 +0000
commit8396f6f2b1f348c2e9913a28b7a926f2610a0eaa (patch)
tree5dcbd0a7b26e2394fa4cf8c0f9f958b4888c120a /sys/netinet/ip_encap.c
parent8efe98d85927d9f03562c9f563c2782bcde1e901 (diff)
downloadFreeBSD-src-8396f6f2b1f348c2e9913a28b7a926f2610a0eaa.zip
FreeBSD-src-8396f6f2b1f348c2e9913a28b7a926f2610a0eaa.tar.gz
Somewhat modernize ip_mroute.c:
- Use sysctl to export stats - Use ip_encap.c's encapsulation support - Update lkm to kld (is 6 years a record for a broken module?) - Remove some unused cruft
Diffstat (limited to 'sys/netinet/ip_encap.c')
-rw-r--r--sys/netinet/ip_encap.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/sys/netinet/ip_encap.c b/sys/netinet/ip_encap.c
index 7463300..f5263cb 100644
--- a/sys/netinet/ip_encap.c
+++ b/sys/netinet/ip_encap.c
@@ -77,9 +77,6 @@
#include <netinet/ip.h>
#include <netinet/ip_var.h>
#include <netinet/ip_encap.h>
-#ifdef MROUTING
-#include <netinet/ip_mroute.h>
-#endif /* MROUTING */
#include <netinet/ipprotosw.h>
#ifdef INET6
@@ -217,18 +214,6 @@ encap4_input(m, va_alist)
return;
}
- /* for backward compatibility */
-# ifdef MROUTING
-# define COMPATFUNC ipip_input
-# endif /*MROUTING*/
-
-#ifdef COMPATFUNC
- if (proto == IPPROTO_IPV4) {
- COMPATFUNC(m, off, proto);
- return;
- }
-#endif
-
/* last resort: inject to raw socket */
rip_input(m, off, proto);
}
OpenPOWER on IntegriCloud