Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
dccp.h File Reference
#include <linux/dccp.h>
#include <linux/ktime.h>
#include <net/snmp.h>
#include <net/sock.h>
#include <net/tcp.h>
#include "ackvec.h"

Go to the source code of this file.

Data Structures

struct  dccp_mib
 
struct  dccp_skb_cb
 

Macros

#define DCCP_WARN(fmt, a...)
 
#define DCCP_CRIT(fmt, a...)
 
#define DCCP_BUG(a...)   do { DCCP_CRIT("BUG: " a); dump_stack(); } while(0)
 
#define DCCP_BUG_ON(cond)
 
#define DCCP_PRINTK(enable, fmt, args...)
 
#define DCCP_PR_DEBUG(enable, fmt, a...)
 
#define dccp_pr_debug(format, a...)
 
#define dccp_pr_debug_cat(format, a...)
 
#define dccp_debug(format, a...)
 
#define MAX_DCCP_SPECIFIC_HEADER   (255 * sizeof(uint32_t))
 
#define DCCP_MAX_PACKET_HDR   28
 
#define DCCP_MAX_OPT_LEN   (MAX_DCCP_SPECIFIC_HEADER - DCCP_MAX_PACKET_HDR)
 
#define MAX_DCCP_HEADER   (MAX_DCCP_SPECIFIC_HEADER + MAX_HEADER)
 
#define DCCP_FEATNEG_OVERHEAD   (32 * sizeof(uint32_t))
 
#define DCCP_TIMEWAIT_LEN
 
#define DCCP_TIMEOUT_INIT   ((unsigned int)(3 * HZ))
 
#define DCCP_RTO_MAX   ((unsigned int)(64 * HZ))
 
#define DCCP_SANE_RTT_MIN   100
 
#define DCCP_FALLBACK_RTT   (USEC_PER_SEC / 5)
 
#define DCCP_SANE_RTT_MAX   (3 * USEC_PER_SEC)
 
#define INT48_MIN   0x800000000000LL /* 2^47 */
 
#define UINT48_MAX   0xFFFFFFFFFFFFLL /* 2^48 - 1 */
 
#define COMPLEMENT48(x)   (0x1000000000000LL - (x)) /* 2^48 - x */
 
#define TO_SIGNED48(x)   (((x) < INT48_MIN)? (x) : -COMPLEMENT48( (x)))
 
#define TO_UNSIGNED48(x)   (((x) >= 0)? (x) : COMPLEMENT48(-(x)))
 
#define ADD48(a, b)   (((a) + (b)) & UINT48_MAX)
 
#define SUB48(a, b)   ADD48((a), COMPLEMENT48(b))
 
#define after48(seq1, seq2)   before48(seq2, seq1)
 
#define DCCP_MIB_MAX   __DCCP_MIB_MAX
 
#define DCCP_INC_STATS(field)   SNMP_INC_STATS(dccp_statistics, field)
 
#define DCCP_INC_STATS_BH(field)   SNMP_INC_STATS_BH(dccp_statistics, field)
 
#define DCCP_DEC_STATS(field)   SNMP_DEC_STATS(dccp_statistics, field)
 
#define DCCP_SKB_CB(__skb)   ((struct dccp_skb_cb *)&((__skb)->cb[0]))
 
#define DCCP_PKT_WITHOUT_ACK_SEQ   (UINT48_MAX << 2)
 

Enumerations

enum  {
  DCCP_MIB_NUM = 0, DCCP_MIB_ACTIVEOPENS, DCCP_MIB_ESTABRESETS, DCCP_MIB_CURRESTAB,
  DCCP_MIB_OUTSEGS, DCCP_MIB_OUTRSTS, DCCP_MIB_ABORTONTIMEOUT, DCCP_MIB_TIMEOUTS,
  DCCP_MIB_ABORTFAILED, DCCP_MIB_PASSIVEOPENS, DCCP_MIB_ATTEMPTFAILS, DCCP_MIB_OUTDATAGRAMS,
  DCCP_MIB_INERRS, DCCP_MIB_OPTMANDATORYERROR, DCCP_MIB_INVALIDOPT, __DCCP_MIB_MAX
}
 

Functions

void dccp_time_wait (struct sock *sk, int state, int timeo)
 
 DECLARE_SNMP_STAT (struct dccp_mib, dccp_statistics)
 
void dccp_v4_send_check (struct sock *sk, struct sk_buff *skb)
 
int dccp_retransmit_skb (struct sock *sk)
 
void dccp_send_ack (struct sock *sk)
 
void dccp_reqsk_send_ack (struct sock *sk, struct sk_buff *skb, struct request_sock *rsk)
 
void dccp_send_sync (struct sock *sk, const u64 seq, const enum dccp_pkt_type pkt_type)
 
void dccp_qpolicy_push (struct sock *sk, struct sk_buff *skb)
 
bool dccp_qpolicy_full (struct sock *sk)
 
void dccp_qpolicy_drop (struct sock *sk, struct sk_buff *skb)
 
struct sk_buffdccp_qpolicy_top (struct sock *sk)
 
struct sk_buffdccp_qpolicy_pop (struct sock *sk)
 
bool dccp_qpolicy_param_ok (struct sock *sk, __be32 param)
 
void dccp_write_xmit (struct sock *sk)
 
void dccp_write_space (struct sock *sk)
 
void dccp_flush_write_queue (struct sock *sk, long *time_budget)
 
void dccp_init_xmit_timers (struct sock *sk)
 
unsigned int dccp_sync_mss (struct sock *sk, u32 pmtu)
 
const chardccp_packet_name (const int type)
 
void dccp_set_state (struct sock *sk, const int state)
 
void dccp_done (struct sock *sk)
 
int dccp_reqsk_init (struct request_sock *rq, struct dccp_sock const *dp, struct sk_buff const *skb)
 
int dccp_v4_conn_request (struct sock *sk, struct sk_buff *skb)
 
struct sockdccp_create_openreq_child (struct sock *sk, const struct request_sock *req, const struct sk_buff *skb)
 
int dccp_v4_do_rcv (struct sock *sk, struct sk_buff *skb)
 
struct sockdccp_v4_request_recv_sock (struct sock *sk, struct sk_buff *skb, struct request_sock *req, struct dst_entry *dst)
 
struct sockdccp_check_req (struct sock *sk, struct sk_buff *skb, struct request_sock *req, struct request_sock **prev)
 
int dccp_child_process (struct sock *parent, struct sock *child, struct sk_buff *skb)
 
int dccp_rcv_state_process (struct sock *sk, struct sk_buff *skb, struct dccp_hdr *dh, unsigned int len)
 
int dccp_rcv_established (struct sock *sk, struct sk_buff *skb, const struct dccp_hdr *dh, const unsigned int len)
 
int dccp_init_sock (struct sock *sk, const __u8 ctl_sock_initialized)
 
void dccp_destroy_sock (struct sock *sk)
 
void dccp_close (struct sock *sk, long timeout)
 
struct sk_buffdccp_make_response (struct sock *sk, struct dst_entry *dst, struct request_sock *req)
 
int dccp_connect (struct sock *sk)
 
int dccp_disconnect (struct sock *sk, int flags)
 
int dccp_getsockopt (struct sock *sk, int level, int optname, char __user *optval, int __user *optlen)
 
int dccp_setsockopt (struct sock *sk, int level, int optname, char __user *optval, unsigned int optlen)
 
int dccp_ioctl (struct sock *sk, int cmd, unsigned long arg)
 
int dccp_sendmsg (struct kiocb *iocb, struct sock *sk, struct msghdr *msg, size_t size)
 
int dccp_recvmsg (struct kiocb *iocb, struct sock *sk, struct msghdr *msg, size_t len, int nonblock, int flags, int *addr_len)
 
void dccp_shutdown (struct sock *sk, int how)
 
int inet_dccp_listen (struct socket *sock, int backlog)
 
unsigned int dccp_poll (struct file *file, struct socket *sock, poll_table *wait)
 
int dccp_v4_connect (struct sock *sk, struct sockaddr *uaddr, int addr_len)
 
struct sk_buffdccp_ctl_make_reset (struct sock *sk, struct sk_buff *skb)
 
int dccp_send_reset (struct sock *sk, enum dccp_reset_codes code)
 
void dccp_send_close (struct sock *sk, const int active)
 
int dccp_invalid_packet (struct sk_buff *skb)
 
u32 dccp_sample_rtt (struct sock *sk, long delta)
 
int dccp_feat_signal_nn_change (struct sock *sk, u8 feat, u64 nn_val)
 
int dccp_feat_finalise_settings (struct dccp_sock *dp)
 
int dccp_feat_server_ccid_dependencies (struct dccp_request_sock *dreq)
 
int dccp_feat_insert_opts (struct dccp_sock *, struct dccp_request_sock *, struct sk_buff *skb)
 
int dccp_feat_activate_values (struct sock *sk, struct list_head *fn)
 
void dccp_feat_list_purge (struct list_head *fn_list)
 
int dccp_insert_options (struct sock *sk, struct sk_buff *skb)
 
int dccp_insert_options_rsk (struct dccp_request_sock *, struct sk_buff *)
 
int dccp_insert_option_elapsed_time (struct sk_buff *skb, u32 elapsed)
 
u32 dccp_timestamp (void)
 
void dccp_timestamping_init (void)
 
int dccp_insert_option (struct sk_buff *skb, unsigned char option, const void *value, unsigned char len)
 

Variables

struct inet_hashinfo dccp_hashinfo
 
struct percpu_counter dccp_orphan_count
 
int sysctl_dccp_request_retries
 
int sysctl_dccp_retries1
 
int sysctl_dccp_retries2
 
int sysctl_dccp_tx_qlen
 
int sysctl_dccp_sync_ratelimit
 

Macro Definition Documentation

#define ADD48 (   a,
  b 
)    (((a) + (b)) & UINT48_MAX)

Definition at line 110 of file dccp.h.

#define after48 (   seq1,
  seq2 
)    before48(seq2, seq1)

Definition at line 138 of file dccp.h.

#define COMPLEMENT48 (   x)    (0x1000000000000LL - (x)) /* 2^48 - x */

Definition at line 107 of file dccp.h.

#define DCCP_BUG (   a...)    do { DCCP_CRIT("BUG: " a); dump_stack(); } while(0)

Definition at line 29 of file dccp.h.

#define DCCP_BUG_ON (   cond)
Value:
do { if (unlikely((cond) != 0)) \
DCCP_BUG("\"%s\" holds (exception!)", \
} while (0)

Definition at line 30 of file dccp.h.

#define DCCP_CRIT (   fmt,
  a... 
)
Value:
printk(KERN_CRIT fmt " at %s:%d/%s()\n", ##a, \
__FILE__, __LINE__, __func__)

Definition at line 27 of file dccp.h.

#define dccp_debug (   format,
  a... 
)

Definition at line 49 of file dccp.h.

#define DCCP_DEC_STATS (   field)    SNMP_DEC_STATS(dccp_statistics, field)

Definition at line 202 of file dccp.h.

#define DCCP_FALLBACK_RTT   (USEC_PER_SEC / 5)

Definition at line 92 of file dccp.h.

#define DCCP_FEATNEG_OVERHEAD   (32 * sizeof(uint32_t))

Definition at line 72 of file dccp.h.

#define DCCP_INC_STATS (   field)    SNMP_INC_STATS(dccp_statistics, field)

Definition at line 200 of file dccp.h.

#define DCCP_INC_STATS_BH (   field)    SNMP_INC_STATS_BH(dccp_statistics, field)

Definition at line 201 of file dccp.h.

#define DCCP_MAX_OPT_LEN   (MAX_DCCP_SPECIFIC_HEADER - DCCP_MAX_PACKET_HDR)

Definition at line 68 of file dccp.h.

#define DCCP_MAX_PACKET_HDR   28

Definition at line 67 of file dccp.h.

#define DCCP_MIB_MAX   __DCCP_MIB_MAX

Definition at line 194 of file dccp.h.

#define DCCP_PKT_WITHOUT_ACK_SEQ   (UINT48_MAX << 2)

Definition at line 406 of file dccp.h.

#define DCCP_PR_DEBUG (   enable,
  fmt,
  a... 
)
Value:
"%s: " fmt, __func__, ##a)

Definition at line 38 of file dccp.h.

#define dccp_pr_debug (   format,
  a... 
)

Definition at line 47 of file dccp.h.

#define dccp_pr_debug_cat (   format,
  a... 
)

Definition at line 48 of file dccp.h.

#define DCCP_PRINTK (   enable,
  fmt,
  args... 
)
Value:
do { if (enable) \
printk(fmt, ##args); \
} while(0)

Definition at line 35 of file dccp.h.

#define DCCP_RTO_MAX   ((unsigned int)(64 * HZ))

Definition at line 86 of file dccp.h.

#define DCCP_SANE_RTT_MAX   (3 * USEC_PER_SEC)

Definition at line 93 of file dccp.h.

#define DCCP_SANE_RTT_MIN   100

Definition at line 91 of file dccp.h.

#define DCCP_SKB_CB (   __skb)    ((struct dccp_skb_cb *)&((__skb)->cb[0]))

Definition at line 373 of file dccp.h.

#define DCCP_TIMEOUT_INIT   ((unsigned int)(3 * HZ))

Definition at line 77 of file dccp.h.

#define DCCP_TIMEWAIT_LEN
Value:
(60 * HZ) /* how long to wait to destroy TIME-WAIT
* state, about 60 seconds */

Definition at line 74 of file dccp.h.

#define DCCP_WARN (   fmt,
  a... 
)
Value:
__func__, ##a)

Definition at line 25 of file dccp.h.

#define INT48_MIN   0x800000000000LL /* 2^47 */

Definition at line 105 of file dccp.h.

#define MAX_DCCP_HEADER   (MAX_DCCP_SPECIFIC_HEADER + MAX_HEADER)

Definition at line 69 of file dccp.h.

#define MAX_DCCP_SPECIFIC_HEADER   (255 * sizeof(uint32_t))

Definition at line 66 of file dccp.h.

#define SUB48 (   a,
  b 
)    ADD48((a), COMPLEMENT48(b))

Definition at line 111 of file dccp.h.

#define TO_SIGNED48 (   x)    (((x) < INT48_MIN)? (x) : -COMPLEMENT48( (x)))

Definition at line 108 of file dccp.h.

#define TO_UNSIGNED48 (   x)    (((x) >= 0)? (x) : COMPLEMENT48(-(x)))

Definition at line 109 of file dccp.h.

#define UINT48_MAX   0xFFFFFFFFFFFFLL /* 2^48 - 1 */

Definition at line 106 of file dccp.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
DCCP_MIB_NUM 
DCCP_MIB_ACTIVEOPENS 
DCCP_MIB_ESTABRESETS 
DCCP_MIB_CURRESTAB 
DCCP_MIB_OUTSEGS 
DCCP_MIB_OUTRSTS 
DCCP_MIB_ABORTONTIMEOUT 
DCCP_MIB_TIMEOUTS 
DCCP_MIB_ABORTFAILED 
DCCP_MIB_PASSIVEOPENS 
DCCP_MIB_ATTEMPTFAILS 
DCCP_MIB_OUTDATAGRAMS 
DCCP_MIB_INERRS 
DCCP_MIB_OPTMANDATORYERROR 
DCCP_MIB_INVALIDOPT 
__DCCP_MIB_MAX 

Definition at line 175 of file dccp.h.

Function Documentation

struct sock* dccp_check_req ( struct sock sk,
struct sk_buff skb,
struct request_sock req,
struct request_sock **  prev 
)
read

Definition at line 159 of file minisocks.c.

int dccp_child_process ( struct sock parent,
struct sock child,
struct sk_buff skb 
)

Definition at line 232 of file minisocks.c.

void dccp_close ( struct sock sk,
long  timeout 
)

Definition at line 983 of file proto.c.

int dccp_connect ( struct sock sk)

Definition at line 530 of file output.c.

struct sock* dccp_create_openreq_child ( struct sock sk,
const struct request_sock req,
const struct sk_buff skb 
)
read

Definition at line 93 of file minisocks.c.

struct sk_buff* dccp_ctl_make_reset ( struct sock sk,
struct sk_buff skb 
)
read

Definition at line 451 of file output.c.

void dccp_destroy_sock ( struct sock sk)

Definition at line 200 of file proto.c.

int dccp_disconnect ( struct sock sk,
int  flags 
)

Definition at line 251 of file proto.c.

void dccp_done ( struct sock sk)

Definition at line 135 of file proto.c.

int dccp_feat_activate_values ( struct sock sk,
struct list_head fn 
)

Definition at line 1494 of file feat.c.

int dccp_feat_finalise_settings ( struct dccp_sock dp)

dccp_feat_finalise_settings - Finalise settings before starting negotiation : client or listening socket (settings will be inherited)

This is called after all registrations (socket initialisation, sysctls, and sockopt calls), and before sending the first packet containing Change options (ie. client-Request or server-Response), to ensure internal consistency.

Definition at line 968 of file feat.c.

int dccp_feat_insert_opts ( struct dccp_sock dp,
struct dccp_request_sock dreq,
struct sk_buff skb 
)

dccp_feat_insert_opts - Generate FN options from current list state : next sk_buff to be sent to the peer : for client during handshake and general negotiation : used by the server only (all Changes/Confirms in LISTEN/RESPOND)

Definition at line 634 of file feat.c.

void dccp_feat_list_purge ( struct list_head fn_list)

Definition at line 544 of file feat.c.

int dccp_feat_server_ccid_dependencies ( struct dccp_request_sock dreq)

dccp_feat_server_ccid_dependencies - Resolve CCID-dependent features It is the server which resolves the dependencies once the CCID has been fully negotiated. If no CCID has been negotiated, it uses the default CCID.

Definition at line 998 of file feat.c.

int dccp_feat_signal_nn_change ( struct sock sk,
u8  feat,
u64  nn_val 
)

dccp_feat_signal_nn_change - Update NN values for an established connection : DCCP socket of an established connection : NN feature number from dccp_feature_numbers : the new value to use

This function is used to communicate NN updates out-of-band.

Definition at line 801 of file feat.c.

void dccp_flush_write_queue ( struct sock sk,
long time_budget 
)

dccp_flush_write_queue - Drain queue at end of connection Since dccp_sendmsg queues packets without waiting for them to be sent, it may happen that the TX queue is not empty at the end of a connection. We give the HC-sender CCID a grace period of up to jiffies. If this function returns with a non-empty write queue, it will be purged later.

Definition at line 307 of file output.c.

int dccp_getsockopt ( struct sock sk,
int  level,
int  optname,
char __user optval,
int __user optlen 
)

Definition at line 679 of file proto.c.

int dccp_init_sock ( struct sock sk,
const __u8  ctl_sock_initialized 
)

Definition at line 173 of file proto.c.

void dccp_init_xmit_timers ( struct sock sk)

Definition at line 263 of file timer.c.

int dccp_insert_option ( struct sk_buff skb,
unsigned char  option,
const void value,
unsigned char  len 
)

Definition at line 292 of file options.c.

int dccp_insert_option_elapsed_time ( struct sk_buff skb,
u32  elapsed 
)

Definition at line 347 of file options.c.

int dccp_insert_options ( struct sock sk,
struct sk_buff skb 
)

Definition at line 581 of file options.c.

int dccp_insert_options_rsk ( struct dccp_request_sock ,
struct sk_buff  
)

Definition at line 624 of file options.c.

int dccp_invalid_packet ( struct sk_buff skb)

dccp_invalid_packet - check for malformed packets Implements RFC 4340, 8.5: Step 1: Check header basics Packets that fail these checks are ignored and do not receive Resets.

Definition at line 740 of file ipv4.c.

int dccp_ioctl ( struct sock sk,
int  cmd,
unsigned long  arg 
)

Definition at line 360 of file proto.c.

struct sk_buff* dccp_make_response ( struct sock sk,
struct dst_entry dst,
struct request_sock req 
)
read

Definition at line 393 of file output.c.

const char* dccp_packet_name ( const int  type)

Definition at line 150 of file proto.c.

unsigned int dccp_poll ( struct file file,
struct socket sock,
poll_table wait 
)

Definition at line 309 of file proto.c.

void dccp_qpolicy_drop ( struct sock sk,
struct sk_buff skb 
)

Definition at line 106 of file qpolicy.c.

bool dccp_qpolicy_full ( struct sock sk)

Definition at line 101 of file qpolicy.c.

bool dccp_qpolicy_param_ok ( struct sock sk,
__be32  param 
)

Definition at line 131 of file qpolicy.c.

struct sk_buff* dccp_qpolicy_pop ( struct sock sk)
read

Definition at line 119 of file qpolicy.c.

void dccp_qpolicy_push ( struct sock sk,
struct sk_buff skb 
)

Definition at line 96 of file qpolicy.c.

struct sk_buff* dccp_qpolicy_top ( struct sock sk)
read

Definition at line 114 of file qpolicy.c.

int dccp_rcv_established ( struct sock sk,
struct sk_buff skb,
const struct dccp_hdr dh,
const unsigned int  len 
)

Definition at line 368 of file input.c.

int dccp_rcv_state_process ( struct sock sk,
struct sk_buff skb,
struct dccp_hdr dh,
unsigned int  len 
)

Definition at line 574 of file input.c.

int dccp_recvmsg ( struct kiocb iocb,
struct sock sk,
struct msghdr msg,
size_t  len,
int  nonblock,
int  flags,
int addr_len 
)

Definition at line 810 of file proto.c.

int dccp_reqsk_init ( struct request_sock rq,
struct dccp_sock const dp,
struct sk_buff const skb 
)

Definition at line 268 of file minisocks.c.

void dccp_reqsk_send_ack ( struct sock sk,
struct sk_buff skb,
struct request_sock rsk 
)

Definition at line 260 of file minisocks.c.

int dccp_retransmit_skb ( struct sock sk)

dccp_retransmit_skb - Retransmit Request, Close, or CloseReq packets There are only four retransmittable packet types in DCCP:

  • Request in client-REQUEST state (sec. 8.1.1),
  • CloseReq in server-CLOSEREQ state (sec. 8.3),
  • Close in node-CLOSING state (sec. 8.3),
  • Acks in client-PARTOPEN state (sec. 8.1.5, handled by dccp_delack_timer()). This function expects sk->sk_send_head to contain the original skb.

Definition at line 380 of file output.c.

u32 dccp_sample_rtt ( struct sock sk,
long  delta 
)

dccp_sample_rtt - Validate and finalise computation of RTT sample : number of microseconds between packet and acknowledgment

The routine is kept generic to work in different contexts. It should be called immediately when the ACK used for the RTT sample arrives.

Definition at line 717 of file input.c.

void dccp_send_ack ( struct sock sk)

Definition at line 570 of file output.c.

void dccp_send_close ( struct sock sk,
const int  active 
)

Definition at line 665 of file output.c.

int dccp_send_reset ( struct sock sk,
enum dccp_reset_codes  code 
)

Definition at line 503 of file output.c.

void dccp_send_sync ( struct sock sk,
const u64  seq,
const enum dccp_pkt_type  pkt_type 
)

Definition at line 628 of file output.c.

int dccp_sendmsg ( struct kiocb iocb,
struct sock sk,
struct msghdr msg,
size_t  size 
)

Definition at line 745 of file proto.c.

void dccp_set_state ( struct sock sk,
const int  state 
)
int dccp_setsockopt ( struct sock sk,
int  level,
int  optname,
char __user optval,
unsigned int  optlen 
)

Definition at line 558 of file proto.c.

void dccp_shutdown ( struct sock sk,
int  how 
)

Definition at line 1078 of file proto.c.

unsigned int dccp_sync_mss ( struct sock sk,
u32  pmtu 
)

Definition at line 162 of file output.c.

void dccp_time_wait ( struct sock sk,
int  state,
int  timeo 
)

Definition at line 46 of file minisocks.c.

u32 dccp_timestamp ( void  )

dccp_timestamp - 10s of microseconds time source Returns the number of 10s of microseconds since loading DCCP. This is native DCCP time difference format (RFC 4340, sec. 13). Please note: This will wrap around about circa every 11.9 hours.

Definition at line 281 of file timer.c.

void dccp_timestamping_init ( void  )

Definition at line 290 of file timer.c.

int dccp_v4_conn_request ( struct sock sk,
struct sk_buff skb 
)

Definition at line 596 of file ipv4.c.

int dccp_v4_connect ( struct sock sk,
struct sockaddr uaddr,
int  addr_len 
)

Definition at line 42 of file ipv4.c.

int dccp_v4_do_rcv ( struct sock sk,
struct sk_buff skb 
)

Definition at line 676 of file ipv4.c.

struct sock* dccp_v4_request_recv_sock ( struct sock sk,
struct sk_buff skb,
struct request_sock req,
struct dst_entry dst 
)
read

Definition at line 395 of file ipv4.c.

void dccp_v4_send_check ( struct sock sk,
struct sk_buff skb 
)

Definition at line 368 of file ipv4.c.

void dccp_write_space ( struct sock sk)

Definition at line 198 of file output.c.

void dccp_write_xmit ( struct sock sk)

Definition at line 346 of file output.c.

DECLARE_SNMP_STAT ( struct dccp_mib  ,
dccp_statistics   
)
int inet_dccp_listen ( struct socket sock,
int  backlog 
)

Definition at line 918 of file proto.c.

Variable Documentation

struct inet_hashinfo dccp_hashinfo
struct percpu_counter dccp_orphan_count
int sysctl_dccp_request_retries
int sysctl_dccp_retries1
int sysctl_dccp_retries2
int sysctl_dccp_sync_ratelimit
int sysctl_dccp_tx_qlen