aboutsummaryrefslogtreecommitdiff
path: root/datapath/vport-generic.h
blob: 8bda5ad3f48c7c2d1931bde95b171299b84160c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * Copyright (c) 2010 Nicira Networks.
 * Distributed under the terms of the GNU GPL version 2.
 *
 * Significant portions of this file may be copied from parts of the Linux
 * kernel, by Linus Torvalds and others.
 */

#ifndef VPORT_GENERIC_H
#define VPORT_GENERIC_H 1

#include "vport.h"

void vport_gen_rand_ether_addr(u8 *addr);
unsigned vport_gen_get_dev_flags(const struct vport *);
int vport_gen_is_running(const struct vport *);
unsigned char vport_gen_get_operstate(const struct vport *);

#endif /* vport-generic.h */