diff options
Diffstat (limited to 'sys/net/if_gre.h')
-rw-r--r-- | sys/net/if_gre.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if_gre.h b/sys/net/if_gre.h index ef9fa4e..6c8e853 100644 --- a/sys/net/if_gre.h +++ b/sys/net/if_gre.h @@ -55,7 +55,7 @@ typedef enum { } wccp_ver_t; struct gre_softc { - struct ifnet sc_if; + struct ifnet *sc_ifp; LIST_ENTRY(gre_softc) sc_list; int gre_unit; int gre_flags; @@ -71,6 +71,7 @@ struct gre_softc { wccp_ver_t wccp_ver; /* version of the WCCP */ }; +#define GRE2IFP(sc) ((sc)->sc_ifp) struct gre_h { |