Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
caif_socket.c File Reference
#include <linux/fs.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/spinlock.h>
#include <linux/mutex.h>
#include <linux/list.h>
#include <linux/wait.h>
#include <linux/poll.h>
#include <linux/tcp.h>
#include <linux/uaccess.h>
#include <linux/debugfs.h>
#include <linux/caif/caif_socket.h>
#include <linux/pkt_sched.h>
#include <net/sock.h>
#include <net/tcp_states.h>
#include <net/caif/caif_layer.h>
#include <net/caif/caif_dev.h>
#include <net/caif/cfpkt.h>

Go to the source code of this file.

Data Structures

struct  caifsock
 

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ":%s(): " fmt, __func__
 
#define TX_FLOW_ON_BIT   1
 
#define RX_FLOW_ON_BIT   2
 

Enumerations

enum  caif_states {
  CAIF_CONNECTED = TCP_ESTABLISHED, CAIF_CONNECTING = TCP_SYN_SENT, CAIF_DISCONNECTED = TCP_CLOSE, CAIF_CONNECTED = 1,
  CAIF_CONNECTING, CAIF_DISCONNECTED, CAIF_SHUTDOWN
}
 

Functions

 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS_NETPROTO (AF_CAIF)
 
 module_init (caif_sktinit_module)
 
 module_exit (caif_sktexit_module)
 

Macro Definition Documentation

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

Definition at line 7 of file caif_socket.c.

#define RX_FLOW_ON_BIT   2

Definition at line 44 of file caif_socket.c.

#define TX_FLOW_ON_BIT   1

Definition at line 43 of file caif_socket.c.

Enumeration Type Documentation

Enumerator:
CAIF_CONNECTED 
CAIF_CONNECTING 
CAIF_DISCONNECTED 
CAIF_CONNECTED 
CAIF_CONNECTING 
CAIF_DISCONNECTED 
CAIF_SHUTDOWN 

Definition at line 37 of file caif_socket.c.

Function Documentation

MODULE_ALIAS_NETPROTO ( AF_CAIF  )
module_exit ( caif_sktexit_module  )
module_init ( caif_sktinit_module  )
MODULE_LICENSE ( "GPL"  )