summaryrefslogtreecommitdiff
path: root/datapath/vport-internal_dev.h
blob: 7c76520994415bd454173c33ca66d1e279c43a3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * Copyright (c) 2009, 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_INTERNAL_DEV_H
#define VPORT_INTERNAL_DEV_H 1

#include "datapath.h"
#include "vport.h"

int is_internal_vport(const struct vport *);

int is_internal_dev(const struct net_device *);
struct vport *internal_dev_get_vport(struct net_device *);

#endif /* vport-internal_dev.h */