summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-06-23 23:55:05 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-06-23 23:55:05 +0000
commit1a988cef7cd60da01934dedfd50fb4178c66c784 (patch)
treeadcd68f46c6629d6d753dd69886648849db7bc7b /sys
parentebc2cbd7b8c8038e22a28c8b4ebe6fe530f30f62 (diff)
g/c last remains of old ipv6 prefix management
Diffstat (limited to 'sys')
-rw-r--r--sys/net/if.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/sys/net/if.h b/sys/net/if.h
index fec6c7f53db..f458d034e04 100644
--- a/sys/net/if.h
+++ b/sys/net/if.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if.h,v 1.37 2002/05/27 13:42:16 itojun Exp $ */
+/* $OpenBSD: if.h,v 1.38 2002/06/23 23:55:04 itojun Exp $ */
/* $NetBSD: if.h,v 1.23 1996/05/07 02:40:27 thorpej Exp $ */
/*
@@ -172,7 +172,6 @@ struct ifnet { /* and the entries */
/* timer routine */
void (*if_watchdog)(struct ifnet *);
struct ifaltq if_snd; /* output queue (includes altq) */
- struct ifprefix *if_prefixlist; /* linked list of prefixes per if */
void *if_afdata[AF_MAX];
};
@@ -307,20 +306,6 @@ struct ifaddr {
#define IFA_ROUTE RTF_UP /* route installed */
/*
- * The prefix structure contains information about one prefix
- * of an interface. They are maintained by the different address families,
- * are allocated and attached when an prefix or an address is set,
- * and are linked together so all prfefixes for an interface can be located.
- */
-struct ifprefix {
- struct sockaddr *ifpr_prefix; /* prefix of interface */
- struct ifnet *ifpr_ifp; /* back-pointer to interface */
- struct ifprefix *ifpr_next;
- u_char ifpr_plen; /* prefix length in bits */
- u_char ifpr_type; /* protocol dependent prefix type */
-};
-
-/*
* Message format for use in obtaining information about interfaces
* from sysctl and the routing socket.
*/