/*
 * Copyright (c) 2007-2011 Nicira, Inc.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of version 2 of the GNU General Public
 * License as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 * 02110-1301, USA
 */

#ifndef VPORT_NETDEV_H
#define VPORT_NETDEV_H 1

#include <linux/netdevice.h>
#include <linux/rcupdate.h>

#include "vport.h"

struct vport *ovs_netdev_get_vport(struct net_device *dev);

struct vport *ovs_netdev_link(struct vport *vport, const char *name);
void ovs_netdev_detach_dev(struct vport *);

int __init ovs_netdev_init(void);
void ovs_netdev_exit(void);

void ovs_netdev_tunnel_destroy(struct vport *vport);
#endif /* vport_netdev.h */
ate-remove</option>
<option value='packet-loop-back'>packet-loop-back</option>
<option value='packet-rx-pump-back'>packet-rx-pump-back</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table>
<table class='tabs'><tr><td>
<a href='/cgit.cgi/linux/net-next.git/?h=nds-private-remove'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?h=nds-private-remove&amp;id=b44700e975848a9a569a509244672ff886ec99b3'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/net/sched/sch_ingress.c?h=nds-private-remove'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/net/sched/sch_ingress.c?h=nds-private-remove&amp;id=b44700e975848a9a569a509244672ff886ec99b3'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/net/sched/sch_ingress.c?h=nds-private-remove&amp;id=b44700e975848a9a569a509244672ff886ec99b3'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/net/sched/sch_ingress.c?h=nds-private-remove&amp;id=b44700e975848a9a569a509244672ff886ec99b3'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/net/sched/sch_ingress.c'>
<input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='b44700e975848a9a569a509244672ff886ec99b3'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/log/?h=nds-private-remove&amp;id=b44700e975848a9a569a509244672ff886ec99b3'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/net?h=nds-private-remove&amp;id=b44700e975848a9a569a509244672ff886ec99b3'>net</a>/<a href='/cgit.cgi/linux/net-next.git/log/net/sched?h=nds-private-remove&amp;id=b44700e975848a9a569a509244672ff886ec99b3'>sched</a>/<a href='/cgit.cgi/linux/net-next.git/log/net/sched/sch_ingress.c?h=nds-private-remove&amp;id=b44700e975848a9a569a509244672ff886ec99b3'>sch_ingress.c</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/net/sched/sch_ingress.c?h=nds-private-remove&amp;id=b44700e975848a9a569a509244672ff886ec99b3&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>