Prepare Open vSwitch 1.1.2 release.
[sliver-openvswitch.git] / datapath / vport-generic.h
1 /*
2  * Copyright (c) 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 VPORT_GENERIC_H
10 #define VPORT_GENERIC_H 1
11
12 #include "vport.h"
13
14 void vport_gen_rand_ether_addr(u8 *addr);
15 unsigned vport_gen_get_dev_flags(const struct vport *);
16 int vport_gen_is_running(const struct vport *);
17 unsigned char vport_gen_get_operstate(const struct vport *);
18
19 #endif /* vport-generic.h */