datapath.h (4ba24fef3eb3b142197135223b90ced2f319cd53) | datapath.h (0c5c9fb55106333e773de8c9dd321fa8240caeb3) |
---|---|
1/* 2 * Copyright (c) 2007-2014 Nicira, Inc. 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of version 2 of the GNU General Public 6 * License as published by the Free Software Foundation. 7 * 8 * This program is distributed in the hope that it will be useful, but --- 70 unchanged lines hidden (view full) --- 79 struct flow_table table; 80 81 /* Switch ports. */ 82 struct hlist_head *ports; 83 84 /* Stats. */ 85 struct dp_stats_percpu __percpu *stats_percpu; 86 | 1/* 2 * Copyright (c) 2007-2014 Nicira, Inc. 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of version 2 of the GNU General Public 6 * License as published by the Free Software Foundation. 7 * 8 * This program is distributed in the hope that it will be useful, but --- 70 unchanged lines hidden (view full) --- 79 struct flow_table table; 80 81 /* Switch ports. */ 82 struct hlist_head *ports; 83 84 /* Stats. */ 85 struct dp_stats_percpu __percpu *stats_percpu; 86 |
87#ifdef CONFIG_NET_NS | |
88 /* Network namespace ref. */ | 87 /* Network namespace ref. */ |
89 struct net *net; 90#endif | 88 possible_net_t net; |
91 92 u32 user_features; 93}; 94 95/** 96 * struct ovs_skb_cb - OVS data in skb CB 97 * @egress_tun_key: Tunnel information about this packet on egress path. 98 * NULL if the packet is not being tunneled. --- 109 unchanged lines hidden --- | 89 90 u32 user_features; 91}; 92 93/** 94 * struct ovs_skb_cb - OVS data in skb CB 95 * @egress_tun_key: Tunnel information about this packet on egress path. 96 * NULL if the packet is not being tunneled. --- 109 unchanged lines hidden --- |