2 * Copyright (c) 2009, 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_INTERNAL_DEV_H
10 #define VPORT_INTERNAL_DEV_H 1
15 int is_internal_vport(const struct vport *);
17 int is_internal_dev(const struct net_device *);
18 struct vport *internal_dev_get_vport(struct net_device *);
20 #endif /* vport-internal_dev.h */