Global replace of Nicira Networks.
[sliver-openvswitch.git] / datapath / vport-capwap.h
1 /*
2  * Copyright (c) 2012 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
9  * WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11  * General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program; if not, write to the Free Software
15  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
16  * 02110-1301, USA
17  */
18
19 #ifndef VPORT_CAPWAP_H
20 #define VPORT_CAPWAP_H 1
21
22 #include <linux/net.h>
23
24 struct capwap_net {
25 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26)
26         struct socket *capwap_rcv_socket;
27         struct netns_frags frag_state;
28         int n_tunnels;
29 #endif
30 };
31
32 #endif /* vport-capwap.h */