Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
pn_dev.c File Reference
#include <linux/kernel.h>
#include <linux/net.h>
#include <linux/slab.h>
#include <linux/netdevice.h>
#include <linux/phonet.h>
#include <linux/proc_fs.h>
#include <linux/if_arp.h>
#include <net/sock.h>
#include <net/netns/generic.h>
#include <net/phonet/pn_dev.h>

Go to the source code of this file.

Data Structures

struct  phonet_routes
 
struct  phonet_net
 

Functions

struct phonet_device_listphonet_device_list (struct net *net)
 
struct net_devicephonet_device_get (struct net *net)
 
int phonet_address_add (struct net_device *dev, u8 addr)
 
int phonet_address_del (struct net_device *dev, u8 addr)
 
u8 phonet_address_get (struct net_device *dev, u8 daddr)
 
int phonet_address_lookup (struct net *net, u8 addr)
 
int __init phonet_device_init (void)
 
void phonet_device_exit (void)
 
int phonet_route_add (struct net_device *dev, u8 daddr)
 
int phonet_route_del (struct net_device *dev, u8 daddr)
 
struct net_devicephonet_route_get_rcu (struct net *net, u8 daddr)
 
struct net_devicephonet_route_output (struct net *net, u8 daddr)
 

Function Documentation

int phonet_address_add ( struct net_device dev,
u8  addr 
)

Definition at line 146 of file pn_dev.c.

int phonet_address_del ( struct net_device dev,
u8  addr 
)

Definition at line 165 of file pn_dev.c.

u8 phonet_address_get ( struct net_device dev,
u8  daddr 
)

Definition at line 189 of file pn_dev.c.

int phonet_address_lookup ( struct net net,
u8  addr 
)

Definition at line 222 of file pn_dev.c.

void phonet_device_exit ( void  )

Definition at line 359 of file pn_dev.c.

struct net_device* phonet_device_get ( struct net net)
read

Definition at line 124 of file pn_dev.c.

int __init phonet_device_init ( void  )

Definition at line 345 of file pn_dev.c.

Definition at line 56 of file pn_dev.c.

int phonet_route_add ( struct net_device dev,
u8  daddr 
)

Definition at line 367 of file pn_dev.c.

int phonet_route_del ( struct net_device dev,
u8  daddr 
)

Definition at line 384 of file pn_dev.c.

struct net_device* phonet_route_get_rcu ( struct net net,
u8  daddr 
)
read

Definition at line 404 of file pn_dev.c.

struct net_device* phonet_route_output ( struct net net,
u8  daddr 
)
read

Definition at line 415 of file pn_dev.c.