Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
pn_dev.h File Reference

Go to the source code of this file.

Data Structures

struct  phonet_device_list
 
struct  phonet_device
 

Macros

#define PN_NO_ADDR   0xff
 

Functions

struct phonet_device_listphonet_device_list (struct net *net)
 
int phonet_device_init (void)
 
void phonet_device_exit (void)
 
int phonet_netlink_register (void)
 
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 addr)
 
int phonet_address_lookup (struct net *net, u8 addr)
 
void phonet_address_notify (int event, struct net_device *dev, u8 addr)
 
int phonet_route_add (struct net_device *dev, u8 daddr)
 
int phonet_route_del (struct net_device *dev, u8 daddr)
 
void rtm_phonet_notify (int event, struct net_device *dev, u8 dst)
 
struct net_devicephonet_route_get_rcu (struct net *net, u8 daddr)
 
struct net_devicephonet_route_output (struct net *net, u8 daddr)
 

Variables

struct file_operations pn_sock_seq_fops
 
struct file_operations pn_res_seq_fops
 

Macro Definition Documentation

#define PN_NO_ADDR   0xff

Definition at line 57 of file pn_dev.h.

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  addr 
)

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_address_notify ( int  event,
struct net_device dev,
u8  addr 
)

Definition at line 38 of file pn_netlink.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 phonet_device_init ( void  )

Definition at line 345 of file pn_dev.c.

Definition at line 56 of file pn_dev.c.

int phonet_netlink_register ( void  )

Definition at line 292 of file pn_netlink.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.

void rtm_phonet_notify ( int  event,
struct net_device dev,
u8  dst 
)

Definition at line 197 of file pn_netlink.c.

Variable Documentation

struct file_operations pn_res_seq_fops
struct file_operations pn_sock_seq_fops