summaryrefslogtreecommitdiff
path: root/sys/netinet6/ip6_var.h
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2015-10-25 14:43:08 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2015-10-25 14:43:08 +0000
commit7f1c0f9df7bf15b648c5c3f82e065ce87f3788b8 (patch)
treebedffb4174a2e7a46bc558ae8c7f08133ae978ef /sys/netinet6/ip6_var.h
parentd405f8eab9ae4c3743780dc94983128092e6eb8c (diff)
Remove IPV6_NEXTHOP implementation. Source routing is considered to be
a bad idea these days. kill it mpi@ general agreement in the network hackers room at u2k15
Diffstat (limited to 'sys/netinet6/ip6_var.h')
-rw-r--r--sys/netinet6/ip6_var.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/sys/netinet6/ip6_var.h b/sys/netinet6/ip6_var.h
index 08a20b63f8c..2af3a05d810 100644
--- a/sys/netinet6/ip6_var.h
+++ b/sys/netinet6/ip6_var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip6_var.h,v 1.55 2015/09/11 19:23:00 mpi Exp $ */
+/* $OpenBSD: ip6_var.h,v 1.56 2015/10/25 14:43:06 florian Exp $ */
/* $KAME: ip6_var.h,v 1.33 2000/06/11 14:59:20 jinmei Exp $ */
/*
@@ -110,14 +110,6 @@ struct ip6po_rhinfo {
#define ip6po_rthdr ip6po_rhinfo.ip6po_rhi_rthdr
#define ip6po_route ip6po_rhinfo.ip6po_rhi_route
-/* Nexthop related info */
-struct ip6po_nhinfo {
- struct sockaddr *ip6po_nhi_nexthop;
- struct route_in6 ip6po_nhi_route;
-};
-#define ip6po_nexthop ip6po_nhinfo.ip6po_nhi_nexthop
-#define ip6po_nextroute ip6po_nhinfo.ip6po_nhi_route
-
struct ip6_pktopts {
/* Hoplimit for outgoing packets */
int ip6po_hlim;
@@ -125,9 +117,6 @@ struct ip6_pktopts {
/* Outgoing IF/address information */
struct in6_pktinfo *ip6po_pktinfo;
- /* Next-hop address information */
- struct ip6po_nhinfo ip6po_nhinfo;
-
/* Hop-by-Hop options header */
struct ip6_hbh *ip6po_hbh;