Prepare Open vSwitch 1.1.2 release.
[sliver-openvswitch.git] / datapath / vport-internal_dev.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 VPORT_INTERNAL_DEV_H
10 #define VPORT_INTERNAL_DEV_H 1
11
12 #include "datapath.h"
13 #include "vport.h"
14
15 int is_internal_vport(const struct vport *);
16
17 int is_internal_dev(const struct net_device *);
18 struct vport *internal_dev_get_vport(struct net_device *);
19
20 #endif /* vport-internal_dev.h */