Deleted Added
full compact
vnet.h (192669) vnet.h (193232)
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 192669 2009-05-23 21:43:44Z zec $
30 * $FreeBSD: head/sys/net/vnet.h 193232 2009-06-01 15:49:42Z bz $
31 */
32
33#ifndef _NET_VNET_H_
34#define _NET_VNET_H_
35
36#include <net/if_var.h>
37
38struct vnet_net {
39 int _if_index;
40 struct ifindex_entry * _ifindex_table;
41 struct ifnethead _ifnet;
42 struct ifgrouphead _ifg_head;
43
44 int _if_indexlim;
45 struct knlist _ifklist;
46
47 struct rtstat _rtstat;
31 */
32
33#ifndef _NET_VNET_H_
34#define _NET_VNET_H_
35
36#include <net/if_var.h>
37
38struct vnet_net {
39 int _if_index;
40 struct ifindex_entry * _ifindex_table;
41 struct ifnethead _ifnet;
42 struct ifgrouphead _ifg_head;
43
44 int _if_indexlim;
45 struct knlist _ifklist;
46
47 struct rtstat _rtstat;
48 struct radix_node_head *_rt_tables[RT_MAXFIBS][AF_MAX+1];
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
55 LIST_HEAD(, rawcb) _rawcb_list;
56

--- 41 unchanged lines hidden ---
49 int _rttrash;
50 uma_zone_t _rtzone;
51
52 struct ifnet * _loif;
53 struct if_clone * _lo_cloner;
54
55 LIST_HEAD(, rawcb) _rawcb_list;
56

--- 41 unchanged lines hidden ---