Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
dn_nsp_out.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/netdevice.h>
#include <linux/inet.h>
#include <linux/route.h>
#include <linux/slab.h>
#include <net/sock.h>
#include <linux/fcntl.h>
#include <linux/mm.h>
#include <linux/termios.h>
#include <linux/interrupt.h>
#include <linux/proc_fs.h>
#include <linux/stat.h>
#include <linux/init.h>
#include <linux/poll.h>
#include <linux/if_packet.h>
#include <net/neighbour.h>
#include <net/dst.h>
#include <net/flow.h>
#include <net/dn.h>
#include <net/dn_nsp.h>
#include <net/dn_dev.h>
#include <net/dn_route.h>

Go to the source code of this file.

Functions

struct sk_buffdn_alloc_skb (struct sock *sk, int size, gfp_t pri)
 
unsigned long dn_nsp_persist (struct sock *sk)
 
void dn_nsp_output (struct sock *sk)
 
int dn_nsp_xmit_timeout (struct sock *sk)
 
void dn_nsp_queue_xmit (struct sock *sk, struct sk_buff *skb, gfp_t gfp, int oth)
 
int dn_nsp_check_xmit_queue (struct sock *sk, struct sk_buff *skb, struct sk_buff_head *q, unsigned short acknum)
 
void dn_nsp_send_data_ack (struct sock *sk)
 
void dn_nsp_send_oth_ack (struct sock *sk)
 
void dn_send_conn_ack (struct sock *sk)
 
void dn_nsp_delayed_ack (struct sock *sk)
 
void dn_send_conn_conf (struct sock *sk, gfp_t gfp)
 
void dn_nsp_send_disc (struct sock *sk, unsigned char msgflg, unsigned short reason, gfp_t gfp)
 
void dn_nsp_return_disc (struct sk_buff *skb, unsigned char msgflg, unsigned short reason)
 
void dn_nsp_send_link (struct sock *sk, unsigned char lsflags, char fcval)
 
void dn_nsp_send_conninit (struct sock *sk, unsigned char msgflg)
 

Function Documentation

struct sk_buff* dn_alloc_skb ( struct sock sk,
int  size,
gfp_t  pri 
)
read

Definition at line 118 of file dn_nsp_out.c.

int dn_nsp_check_xmit_queue ( struct sock sk,
struct sk_buff skb,
struct sk_buff_head q,
unsigned short  acknum 
)

Definition at line 380 of file dn_nsp_out.c.

void dn_nsp_delayed_ack ( struct sock sk)

Definition at line 494 of file dn_nsp_out.c.

void dn_nsp_output ( struct sock sk)

dn_nsp_output - Try and send something from socket queues : The socket whose queues are to be investigated

Try and send the packet on the end of the data and other data queues. Other data gets priority over data, and if we retransmit a packet we reduce the window by dividing it in two.

Definition at line 238 of file dn_nsp_out.c.

unsigned long dn_nsp_persist ( struct sock sk)

Definition at line 142 of file dn_nsp_out.c.

void dn_nsp_queue_xmit ( struct sock sk,
struct sk_buff skb,
gfp_t  gfp,
int  oth 
)

Definition at line 351 of file dn_nsp_out.c.

void dn_nsp_return_disc ( struct sk_buff skb,
unsigned char  msgflg,
unsigned short  reason 
)

Definition at line 606 of file dn_nsp_out.c.

void dn_nsp_send_conninit ( struct sock sk,
unsigned char  msgflg 
)

Definition at line 650 of file dn_nsp_out.c.

void dn_nsp_send_data_ack ( struct sock sk)

Definition at line 453 of file dn_nsp_out.c.

void dn_nsp_send_disc ( struct sock sk,
unsigned char  msgflg,
unsigned short  reason,
gfp_t  gfp 
)

Definition at line 589 of file dn_nsp_out.c.

void dn_nsp_send_link ( struct sock sk,
unsigned char  lsflags,
char  fcval 
)

Definition at line 618 of file dn_nsp_out.c.

void dn_nsp_send_oth_ack ( struct sock sk)

Definition at line 465 of file dn_nsp_out.c.

int dn_nsp_xmit_timeout ( struct sock sk)

Definition at line 274 of file dn_nsp_out.c.

void dn_send_conn_ack ( struct sock sk)

Definition at line 478 of file dn_nsp_out.c.

void dn_send_conn_conf ( struct sock sk,
gfp_t  gfp 
)

Definition at line 515 of file dn_nsp_out.c.