Deleted Added
full compact
vnet.h (193232) vnet.h (193731)
1/*-
2 * Copyright (c) 2006-2008 University of Zagreb
3 * Copyright (c) 2006-2008 FreeBSD Foundation
4 *
5 * This software was developed by the University of Zagreb and the
6 * FreeBSD Foundation under sponsorship by the Stichting NLnet and the
7 * FreeBSD Foundation.
8 *

--- 13 unchanged lines hidden (view full) ---

22 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE.
29 *
1/*-
2 * Copyright (c) 2006-2008 University of Zagreb
3 * Copyright (c) 2006-2008 FreeBSD Foundation
4 *
5 * This software was developed by the University of Zagreb and the
6 * FreeBSD Foundation under sponsorship by the Stichting NLnet and the
7 * FreeBSD Foundation.
8 *

--- 13 unchanged lines hidden (view full) ---

22 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE.
29 *
30 * $FreeBSD: head/sys/net/vnet.h 193232 2009-06-01 15:49:42Z bz $
30 * $FreeBSD: head/sys/net/vnet.h 193731 2009-06-08 17:15:40Z zec $
31 */
32
33#ifndef _NET_VNET_H_
34#define _NET_VNET_H_
35
36#include <net/if_var.h>
37
38struct vnet_net {

--- 7 unchanged lines hidden (view full) ---

46
47 struct rtstat _rtstat;
48 struct radix_node_head *_rt_tables;
49 int _rttrash;
50 uma_zone_t _rtzone;
51
52 struct ifnet * _loif;
53 struct if_clone * _lo_cloner;
31 */
32
33#ifndef _NET_VNET_H_
34#define _NET_VNET_H_
35
36#include <net/if_var.h>
37
38struct vnet_net {

--- 7 unchanged lines hidden (view full) ---

46
47 struct rtstat _rtstat;
48 struct radix_node_head *_rt_tables;
49 int _rttrash;
50 uma_zone_t _rtzone;
51
52 struct ifnet * _loif;
53 struct if_clone * _lo_cloner;
54 struct ifc_simple_data *_lo_cloner_data;
54
55 LIST_HEAD(, rawcb) _rawcb_list;
56
57 LIST_HEAD(, if_clone) _if_cloners;
58 int _if_cloners_count;
59
60 int _ether_ipfw;
61};

--- 20 unchanged lines hidden (view full) ---

82#define V_if_indexlim VNET_NET(if_indexlim)
83#define V_if_cloners VNET_NET(if_cloners)
84#define V_if_cloners_count VNET_NET(if_cloners_count)
85#define V_ifg_head VNET_NET(ifg_head)
86#define V_ifindex_table VNET_NET(ifindex_table)
87#define V_ifklist VNET_NET(ifklist)
88#define V_ifnet VNET_NET(ifnet)
89#define V_lo_cloner VNET_NET(lo_cloner)
55
56 LIST_HEAD(, rawcb) _rawcb_list;
57
58 LIST_HEAD(, if_clone) _if_cloners;
59 int _if_cloners_count;
60
61 int _ether_ipfw;
62};

--- 20 unchanged lines hidden (view full) ---

83#define V_if_indexlim VNET_NET(if_indexlim)
84#define V_if_cloners VNET_NET(if_cloners)
85#define V_if_cloners_count VNET_NET(if_cloners_count)
86#define V_ifg_head VNET_NET(ifg_head)
87#define V_ifindex_table VNET_NET(ifindex_table)
88#define V_ifklist VNET_NET(ifklist)
89#define V_ifnet VNET_NET(ifnet)
90#define V_lo_cloner VNET_NET(lo_cloner)
91#define V_lo_cloner_data VNET_NET(lo_cloner_data)
90#define V_loif VNET_NET(loif)
91#define V_rawcb_list VNET_NET(rawcb_list)
92#define V_rt_tables VNET_NET(rt_tables)
93#define V_rtstat VNET_NET(rtstat)
94#define V_rttrash VNET_NET(rttrash)
95#define V_rtzone VNET_NET(rtzone)
96
97#endif /* !_NET_VNET_H_ */
92#define V_loif VNET_NET(loif)
93#define V_rawcb_list VNET_NET(rawcb_list)
94#define V_rt_tables VNET_NET(rt_tables)
95#define V_rtstat VNET_NET(rtstat)
96#define V_rttrash VNET_NET(rttrash)
97#define V_rtzone VNET_NET(rtzone)
98
99#endif /* !_NET_VNET_H_ */