Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
sock.c File Reference
#include <linux/time.h>
#include <linux/errno.h>
#include <linux/socket.h>
#include <linux/fcntl.h>
#include <linux/stat.h>
#include <linux/string.h>
#include <asm/uaccess.h>
#include <linux/in.h>
#include <linux/net.h>
#include <linux/mm.h>
#include <linux/netdevice.h>
#include <linux/signal.h>
#include <linux/slab.h>
#include <net/scm.h>
#include <net/sock.h>
#include <linux/ipx.h>
#include <linux/poll.h>
#include <linux/file.h>
#include "ncp_fs.h"
#include "ncpsign_kernel.h"

Go to the source code of this file.

Data Structures

struct  ncp_request_reply
 

Macros

#define NCP_TCP_XMIT_MAGIC   (0x446D6454)
 
#define NCP_TCP_XMIT_VERSION   (1)
 
#define NCP_TCP_RCVD_MAGIC   (0x744E6350)
 

Functions

void ncp_tcp_data_ready (struct sock *sk, int len)
 
void ncp_tcp_error_report (struct sock *sk)
 
void ncp_tcp_write_space (struct sock *sk)
 
void ncpdgram_timeout_call (unsigned long v)
 
void ncpdgram_rcv_proc (struct work_struct *work)
 
void ncpdgram_timeout_proc (struct work_struct *work)
 
void ncp_tcp_rcv_proc (struct work_struct *work)
 
void ncp_tcp_tx_proc (struct work_struct *work)
 
int ncp_request2 (struct ncp_server *server, int function, void *rpl, int size)
 
int ncp_connect (struct ncp_server *server)
 
int ncp_disconnect (struct ncp_server *server)
 
void ncp_lock_server (struct ncp_server *server)
 
void ncp_unlock_server (struct ncp_server *server)
 

Macro Definition Documentation

#define NCP_TCP_RCVD_MAGIC   (0x744E6350)

Definition at line 290 of file sock.c.

#define NCP_TCP_XMIT_MAGIC   (0x446D6454)

Definition at line 288 of file sock.c.

#define NCP_TCP_XMIT_VERSION   (1)

Definition at line 289 of file sock.c.

Function Documentation

int ncp_connect ( struct ncp_server server)

Definition at line 830 of file sock.c.

int ncp_disconnect ( struct ncp_server server)

Definition at line 852 of file sock.c.

void ncp_lock_server ( struct ncp_server server)

Definition at line 864 of file sock.c.

int ncp_request2 ( struct ncp_server server,
int  function,
void rpl,
int  size 
)

Definition at line 793 of file sock.c.

void ncp_tcp_data_ready ( struct sock sk,
int  len 
)

Definition at line 99 of file sock.c.

void ncp_tcp_error_report ( struct sock sk)

Definition at line 107 of file sock.c.

void ncp_tcp_rcv_proc ( struct work_struct work)

Definition at line 679 of file sock.c.

void ncp_tcp_tx_proc ( struct work_struct work)

Definition at line 689 of file sock.c.

void ncp_tcp_write_space ( struct sock sk)

Definition at line 115 of file sock.c.

void ncp_unlock_server ( struct ncp_server server)

Definition at line 872 of file sock.c.

void ncpdgram_rcv_proc ( struct work_struct work)

Definition at line 381 of file sock.c.

void ncpdgram_timeout_call ( unsigned long  v)

Definition at line 126 of file sock.c.

void ncpdgram_timeout_proc ( struct work_struct work)

Definition at line 500 of file sock.c.