Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
netlink.c File Reference
#include <net/genetlink.h>
#include <linux/nfc.h>
#include <linux/slab.h>
#include "nfc.h"

Go to the source code of this file.

Data Structures

struct  urelease_work
 

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": %s: " fmt, __func__
 

Functions

int nfc_genl_targets_found (struct nfc_dev *dev)
 
int nfc_genl_target_lost (struct nfc_dev *dev, u32 target_idx)
 
int nfc_genl_tm_activated (struct nfc_dev *dev, u32 protocol)
 
int nfc_genl_tm_deactivated (struct nfc_dev *dev)
 
int nfc_genl_device_added (struct nfc_dev *dev)
 
int nfc_genl_device_removed (struct nfc_dev *dev)
 
int nfc_genl_dep_link_up_event (struct nfc_dev *dev, u32 target_idx, u8 comm_mode, u8 rf_mode)
 
int nfc_genl_dep_link_down_event (struct nfc_dev *dev)
 
void nfc_genl_data_init (struct nfc_genl_data *genl_data)
 
void nfc_genl_data_exit (struct nfc_genl_data *genl_data)
 
int __init nfc_genl_init (void)
 
void nfc_genl_exit (void)
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": %s: " fmt, __func__

Definition at line 24 of file netlink.c.

Function Documentation

void nfc_genl_data_exit ( struct nfc_genl_data genl_data)

Definition at line 831 of file netlink.c.

void nfc_genl_data_init ( struct nfc_genl_data genl_data)

Definition at line 825 of file netlink.c.

int nfc_genl_dep_link_down_event ( struct nfc_dev dev)

Definition at line 469 of file netlink.c.

int nfc_genl_dep_link_up_event ( struct nfc_dev dev,
u32  target_idx,
u8  comm_mode,
u8  rf_mode 
)

Definition at line 429 of file netlink.c.

int nfc_genl_device_added ( struct nfc_dev dev)

Definition at line 286 of file netlink.c.

int nfc_genl_device_removed ( struct nfc_dev dev)

Definition at line 319 of file netlink.c.

void nfc_genl_exit ( void  )

nfc_genl_exit() - Deinitialize netlink interface

This exit function unregisters the nfc netlink family.

Definition at line 866 of file netlink.c.

int __init nfc_genl_init ( void  )

nfc_genl_init() - Initialize netlink interface

This initialization function registers the nfc netlink family.

Definition at line 845 of file netlink.c.

int nfc_genl_target_lost ( struct nfc_dev dev,
u32  target_idx 
)

Definition at line 193 of file netlink.c.

int nfc_genl_targets_found ( struct nfc_dev dev)

Definition at line 163 of file netlink.c.

int nfc_genl_tm_activated ( struct nfc_dev dev,
u32  protocol 
)

Definition at line 224 of file netlink.c.

int nfc_genl_tm_deactivated ( struct nfc_dev dev)

Definition at line 256 of file netlink.c.