Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
vport-netdev.c File Reference
#include <linux/if_arp.h>
#include <linux/if_bridge.h>
#include <linux/if_vlan.h>
#include <linux/kernel.h>
#include <linux/llc.h>
#include <linux/rtnetlink.h>
#include <linux/skbuff.h>
#include <net/llc.h>
#include "datapath.h"
#include "vport-internal_dev.h"
#include "vport-netdev.h"

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 

Functions

const charovs_netdev_get_name (const struct vport *vport)
 
int ovs_netdev_get_ifindex (const struct vport *vport)
 
struct vportovs_netdev_get_vport (struct net_device *dev)
 

Variables

struct vport_ops ovs_netdev_vport_ops
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 19 of file vport-netdev.c.

Function Documentation

int ovs_netdev_get_ifindex ( const struct vport vport)

Definition at line 137 of file vport-netdev.c.

const char* ovs_netdev_get_name ( const struct vport vport)

Definition at line 131 of file vport-netdev.c.

struct vport* ovs_netdev_get_vport ( struct net_device dev)
read

Definition at line 182 of file vport-netdev.c.

Variable Documentation

struct vport_ops ovs_netdev_vport_ops
Initial value:
= {
.create = netdev_create,
.destroy = netdev_destroy,
.get_name = ovs_netdev_get_name,
.get_ifindex = ovs_netdev_get_ifindex,
.send = netdev_send,
}

Definition at line 191 of file vport-netdev.c.