if_gif.c (185088) | if_gif.c (185895) |
---|---|
1/* $FreeBSD: head/sys/net/if_gif.c 185088 2008-11-19 09:39:34Z zec $ */ | 1/* $FreeBSD: head/sys/net/if_gif.c 185895 2008-12-10 23:12:39Z zec $ */ |
2/* $KAME: if_gif.c,v 1.87 2001/10/19 08:50:27 itojun Exp $ */ 3 4/*- 5 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions --- 80 unchanged lines hidden (view full) --- 90#define GIFNAME "gif" 91 92/* 93 * gif_mtx protects the global gif_softc_list. 94 */ 95static struct mtx gif_mtx; 96static MALLOC_DEFINE(M_GIF, "gif", "Generic Tunnel Interface"); 97 | 2/* $KAME: if_gif.c,v 1.87 2001/10/19 08:50:27 itojun Exp $ */ 3 4/*- 5 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions --- 80 unchanged lines hidden (view full) --- 90#define GIFNAME "gif" 91 92/* 93 * gif_mtx protects the global gif_softc_list. 94 */ 95static struct mtx gif_mtx; 96static MALLOC_DEFINE(M_GIF, "gif", "Generic Tunnel Interface"); 97 |
98#ifndef VIMAGE 99#ifndef VIMAGE_GLOBALS 100struct vnet_gif vnet_gif_0; 101#endif 102#endif 103 |
|
98#ifdef VIMAGE_GLOBALS 99static LIST_HEAD(, gif_softc) gif_softc_list; 100static int max_gif_nesting; 101static int parallel_tunnels; 102#ifdef INET 103int ip_gif_ttl; 104#endif 105#ifdef INET6 --- 902 unchanged lines hidden --- | 104#ifdef VIMAGE_GLOBALS 105static LIST_HEAD(, gif_softc) gif_softc_list; 106static int max_gif_nesting; 107static int parallel_tunnels; 108#ifdef INET 109int ip_gif_ttl; 110#endif 111#ifdef INET6 --- 902 unchanged lines hidden --- |