Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net g/c last bit of old ipv6 prefix management.



details:   https://anonhg.NetBSD.org/src/rev/c434e7e4b7a1
branches:  trunk
changeset: 533183:c434e7e4b7a1
user:      itojun <itojun%NetBSD.org@localhost>
date:      Sun Jun 23 23:34:08 2002 +0000

description:
g/c last bit of old ipv6 prefix management.

diffstat:

 sys/net/if.h |  17 +----------------
 1 files changed, 1 insertions(+), 16 deletions(-)

diffs (38 lines):

diff -r 2420cc61d547 -r c434e7e4b7a1 sys/net/if.h
--- a/sys/net/if.h      Sun Jun 23 22:18:49 2002 +0000
+++ b/sys/net/if.h      Sun Jun 23 23:34:08 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if.h,v 1.79 2002/06/11 11:03:55 pooka Exp $    */
+/*     $NetBSD: if.h,v 1.80 2002/06/23 23:34:08 itojun Exp $   */
 
 /*-
  * Copyright (c) 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -273,7 +273,6 @@
        struct ifaltq if_snd;           /* output queue (includes altq) */
        struct  sockaddr_dl *if_sadl;   /* pointer to our sockaddr_dl */
        u_int8_t *if_broadcastaddr;     /* linklevel broadcast bytestring */
-       struct ifprefix *if_prefixlist; /* linked list of prefixes per if */
        void    *if_bridge;             /* bridge glue */
        int     if_dlt;                 /* data link type (<net/dlt.h>) */
        struct pfil_head if_pfil;       /* filtering point */
@@ -431,20 +430,6 @@
 #define        IFA_ROUTE       RTF_UP /* 0x01 *//* 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.
  */



Home | Main Index | Thread Index | Old Index