diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-07-09 15:35:54 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-07-09 15:35:54 +0000 |
commit | 41643b2f0dc57675550a3462521738101cf096f6 (patch) | |
tree | deb34ed74f0ddda5f2fe0a4bbe9c999a972297b2 /sys/net | |
parent | ce4cfe3eed842a022ceb8fee515a8ed7ff44d5d9 (diff) |
Kill unused route storages.
blambert@, henning@, lteo@
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_gif.h | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/sys/net/if_gif.h b/sys/net/if_gif.h index a1e8dd66f85..469be32a86c 100644 --- a/sys/net/if_gif.h +++ b/sys/net/if_gif.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_gif.h,v 1.10 2009/11/21 14:08:14 claudio Exp $ */ +/* $OpenBSD: if_gif.h,v 1.11 2014/07/09 15:35:53 mpi Exp $ */ /* $KAME: if_gif.h,v 1.17 2000/09/11 11:36:41 sumikawa Exp $ */ /* @@ -37,30 +37,14 @@ #ifndef _NET_IF_GIF_H_ #define _NET_IF_GIF_H_ - -#include <netinet/in.h> -/* XXX sigh, why route have struct route instead of pointer? */ - struct gif_softc { struct ifnet gif_if; /* common area */ struct sockaddr *gif_psrc; /* Physical src addr */ struct sockaddr *gif_pdst; /* Physical dst addr */ - union { - struct route gifscr_ro; /* xxx */ -#ifdef INET6 - struct route_in6 gifscr_ro6; /* xxx */ -#endif - } gifsc_gifscr; - int gif_flags; u_int gif_rtableid; LIST_ENTRY(gif_softc) gif_list; /* list of all gifs */ }; -#define gif_ro gifsc_gifscr.gifscr_ro -#ifdef INET6 -#define gif_ro6 gifsc_gifscr.gifscr_ro6 -#endif - #define GIF_MTU (1280) /* Default MTU */ #define GIF_MTU_MIN (1280) /* Minimum MTU */ #define GIF_MTU_MAX (8192) /* Maximum MTU */ |