2 * Copyright (c) 2010 Nicira Networks.
3 * Distributed under the terms of the GNU GPL version 2.
5 * Significant portions of this file may be copied from parts of the Linux
6 * kernel, by Linus Torvalds and others.
9 #ifndef VPORT_GENERIC_H
10 #define VPORT_GENERIC_H 1
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 *);
19 #endif /* vport-generic.h */