]> git.proxmox.com Git - mirror_ovs.git/blob - datapath/dp_sysfs.h
ofp-actions: export OVSINST_OFPIT11_xxx
[mirror_ovs.git] / datapath / dp_sysfs.h
1 /*
2 * Copyright (c) 2007-2011 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 DP_SYSFS_H
20 #define DP_SYSFS_H 1
21
22 struct datapath;
23 struct vport;
24
25 /* dp_sysfs_dp.c */
26 int ovs_dp_sysfs_add_dp(struct datapath *dp);
27 int ovs_dp_sysfs_del_dp(struct datapath *dp);
28
29 /* dp_sysfs_if.c */
30 int ovs_dp_sysfs_add_if(struct vport *p);
31 int ovs_dp_sysfs_del_if(struct vport *p);
32
33 #ifdef CONFIG_SYSFS
34 extern struct sysfs_ops ovs_brport_sysfs_ops;
35 #endif
36
37 #endif /* dp_sysfs.h */
38