]> git.proxmox.com Git - ovs.git/blame - datapath/dp_sysfs.h
datapath: Reformat copyright messages.
[ovs.git] / datapath / dp_sysfs.h
CommitLineData
a14bc59f 1/*
a9a29d22 2 * Copyright (c) 2007-2011 Nicira Networks.
a14bc59f 3 *
a9a29d22
JG
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
a14bc59f
BP
17 */
18
2ba9026e
BP
19#ifndef DP_SYSFS_H
20#define DP_SYSFS_H 1
064af421
BP
21
22struct datapath;
e779d8d9 23struct vport;
064af421 24
2ba9026e
BP
25/* dp_sysfs_dp.c */
26int dp_sysfs_add_dp(struct datapath *dp);
27int dp_sysfs_del_dp(struct datapath *dp);
064af421 28
2ba9026e 29/* dp_sysfs_if.c */
e779d8d9
BP
30int dp_sysfs_add_if(struct vport *p);
31int dp_sysfs_del_if(struct vport *p);
064af421 32
8fef8c71 33#ifdef CONFIG_SYSFS
bb8b3479 34extern struct sysfs_ops brport_sysfs_ops;
58c342f6
BP
35#endif
36
2ba9026e 37#endif /* dp_sysfs.h */
064af421 38