]> git.proxmox.com Git - mirror_ovs.git/blame - datapath/vport-generic.h
datapath: Add 'patch' vport.
[mirror_ovs.git] / datapath / vport-generic.h
CommitLineData
b19e8815
JG
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
14void vport_gen_rand_ether_addr(u8 *addr);
15unsigned vport_gen_get_dev_flags(const struct vport *);
16int vport_gen_is_running(const struct vport *);
17unsigned char vport_gen_get_operstate(const struct vport *);
18
19#endif /* vport-generic.h */