Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
sock.c File Reference
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/nfc.h>
#include "../nfc.h"
#include "llcp.h"

Go to the source code of this file.

Macros

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

Functions

void nfc_llcp_accept_unlink (struct sock *sk)
 
void nfc_llcp_accept_enqueue (struct sock *parent, struct sock *sk)
 
struct socknfc_llcp_accept_dequeue (struct sock *parent, struct socket *newsock)
 
struct socknfc_llcp_sock_alloc (struct socket *sock, int type, gfp_t gfp)
 
void nfc_llcp_sock_free (struct nfc_llcp_sock *sock)
 
int __init nfc_llcp_sock_init (void)
 
void nfc_llcp_sock_exit (void)
 

Macro Definition Documentation

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

Definition at line 20 of file sock.c.

Function Documentation

struct sock* nfc_llcp_accept_dequeue ( struct sock parent,
struct socket newsock 
)
read

Definition at line 253 of file sock.c.

void nfc_llcp_accept_enqueue ( struct sock parent,
struct sock sk 
)

Definition at line 239 of file sock.c.

void nfc_llcp_accept_unlink ( struct sock sk)

Definition at line 226 of file sock.c.

struct sock* nfc_llcp_sock_alloc ( struct socket sock,
int  type,
gfp_t  gfp 
)
read

Definition at line 750 of file sock.c.

void nfc_llcp_sock_exit ( void  )

Definition at line 837 of file sock.c.

void nfc_llcp_sock_free ( struct nfc_llcp_sock sock)

Definition at line 786 of file sock.c.

int __init nfc_llcp_sock_init ( void  )

Definition at line 832 of file sock.c.