]> git.proxmox.com Git - mirror_ovs.git/blob - datapath/dp_sysfs.h
ovsdb: New functions ovsdb_atom_default(), ovsdb_datum_default().
[mirror_ovs.git] / datapath / dp_sysfs.h
1 /*
2 * Copyright (c) 2009, 2010 Nicira Networks.
3 * Distributed under the terms of the GNU GPL version 2.
4 *
5 * Significant portions of this file may be copied from parts of the Linux
6 * kernel, by Linus Torvalds and others.
7 */
8
9 #ifndef DP_SYSFS_H
10 #define DP_SYSFS_H 1
11
12 struct datapath;
13 struct dp_port;
14
15 /* dp_sysfs_dp.c */
16 int dp_sysfs_add_dp(struct datapath *dp);
17 int dp_sysfs_del_dp(struct datapath *dp);
18
19 /* dp_sysfs_if.c */
20 int dp_sysfs_add_if(struct dp_port *p);
21 int dp_sysfs_del_if(struct dp_port *p);
22
23 #ifdef CONFIG_SYSFS
24 extern struct sysfs_ops brport_sysfs_ops;
25 #endif
26
27 #endif /* dp_sysfs.h */
28