Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
rose_subr.c File Reference
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/socket.h>
#include <linux/in.h>
#include <linux/kernel.h>
#include <linux/timer.h>
#include <linux/string.h>
#include <linux/sockios.h>
#include <linux/net.h>
#include <linux/slab.h>
#include <net/ax25.h>
#include <linux/inet.h>
#include <linux/netdevice.h>
#include <linux/skbuff.h>
#include <net/sock.h>
#include <net/tcp_states.h>
#include <linux/fcntl.h>
#include <linux/mm.h>
#include <linux/interrupt.h>
#include <net/rose.h>

Go to the source code of this file.

Functions

void rose_clear_queues (struct sock *sk)
 
void rose_frames_acked (struct sock *sk, unsigned short nr)
 
void rose_requeue_frames (struct sock *sk)
 
int rose_validate_nr (struct sock *sk, unsigned short nr)
 
void rose_write_internal (struct sock *sk, int frametype)
 
int rose_decode (struct sk_buff *skb, int *ns, int *nr, int *q, int *d, int *m)
 
int rose_parse_facilities (unsigned char *p, unsigned packet_len, struct rose_facilities_struct *facilities)
 
void rose_disconnect (struct sock *sk, int reason, int cause, int diagnostic)
 

Function Documentation

void rose_clear_queues ( struct sock sk)

Definition at line 35 of file rose_subr.c.

int rose_decode ( struct sk_buff skb,
int ns,
int nr,
int q,
int d,
int m 
)

Definition at line 201 of file rose_subr.c.

void rose_disconnect ( struct sock sk,
int  reason,
int  cause,
int  diagnostic 
)

Definition at line 530 of file rose_subr.c.

void rose_frames_acked ( struct sock sk,
unsigned short  nr 
)

Definition at line 46 of file rose_subr.c.

int rose_parse_facilities ( unsigned char p,
unsigned  packet_len,
struct rose_facilities_struct facilities 
)

Definition at line 395 of file rose_subr.c.

void rose_requeue_frames ( struct sock sk)

Definition at line 63 of file rose_subr.c.

int rose_validate_nr ( struct sock sk,
unsigned short  nr 
)

Definition at line 85 of file rose_subr.c.

void rose_write_internal ( struct sock sk,
int  frametype 
)

Definition at line 102 of file rose_subr.c.