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/in.h>
#include <linux/interrupt.h>
#include <linux/ktime.h>
#include <linux/list.h>
#include <linux/uio.h>
#include <linux/workqueue.h>
#include <net/inet_connection_sock.h>
#include <net/inet_sock.h>
#include <net/inet_timewait_sock.h>
#include <net/tcp_states.h>
#include <uapi/linux/dccp.h>

Go to the source code of this file.

Data Structures

struct  dccp_request_sock
 
struct  dccp_options_received
 
struct  dccp_service_list
 
struct  dccp_sock
 

Macros

#define DCCP_SERVICE_INVALID_VALUE   htonl((__u32)-1)
 
#define DCCP_SERVICE_CODE_IS_ABSENT   0
 
#define dccps_syn_rtt   dccps_inet_connection.icsk_ack.lrcvtime
 

Enumerations

enum  dccp_state {
  DCCP_OPEN = TCP_ESTABLISHED, DCCP_REQUESTING = TCP_SYN_SENT, DCCP_LISTEN = TCP_LISTEN, DCCP_RESPOND = TCP_SYN_RECV,
  DCCP_ACTIVE_CLOSEREQ = TCP_FIN_WAIT1, DCCP_PASSIVE_CLOSE = TCP_CLOSE_WAIT, DCCP_CLOSING = TCP_CLOSING, DCCP_TIME_WAIT = TCP_TIME_WAIT,
  DCCP_CLOSED = TCP_CLOSE, DCCP_PARTOPEN = TCP_MAX_STATES, DCCP_PASSIVE_CLOSEREQ, DCCP_MAX_STATES
}
 
enum  {
  DCCPF_OPEN = TCPF_ESTABLISHED, DCCPF_REQUESTING = TCPF_SYN_SENT, DCCPF_LISTEN = TCPF_LISTEN, DCCPF_RESPOND = TCPF_SYN_RECV,
  DCCPF_ACTIVE_CLOSEREQ = TCPF_FIN_WAIT1, DCCPF_CLOSING = TCPF_CLOSING, DCCPF_TIME_WAIT = TCPF_TIME_WAIT, DCCPF_CLOSED = TCPF_CLOSE,
  DCCPF_PARTOPEN = (1 << DCCP_PARTOPEN)
}
 
enum  dccp_role { DCCP_ROLE_UNDEFINED, DCCP_ROLE_LISTEN, DCCP_ROLE_CLIENT, DCCP_ROLE_SERVER }
 

Functions

int dccp_parse_options (struct sock *sk, struct dccp_request_sock *dreq, struct sk_buff *skb)
 
void dccp_syn_ack_timeout (struct sock *sk, struct request_sock *req)
 

Variables

struct inet_timewait_death_row dccp_death_row
 

Macro Definition Documentation

#define DCCP_SERVICE_CODE_IS_ABSENT   0

Definition at line 201 of file dccp.h.

#define DCCP_SERVICE_INVALID_VALUE   htonl((__u32)-1)

Definition at line 200 of file dccp.h.

#define dccps_syn_rtt   dccps_inet_connection.icsk_ack.lrcvtime

Definition at line 263 of file dccp.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
DCCPF_OPEN 
DCCPF_REQUESTING 
DCCPF_LISTEN 
DCCPF_RESPOND 
DCCPF_ACTIVE_CLOSEREQ 
DCCPF_CLOSING 
DCCPF_TIME_WAIT 
DCCPF_CLOSED 
DCCPF_PARTOPEN 

Definition at line 51 of file dccp.h.

enum dccp_role
Enumerator:
DCCP_ROLE_UNDEFINED 
DCCP_ROLE_LISTEN 
DCCP_ROLE_CLIENT 
DCCP_ROLE_SERVER 

Definition at line 188 of file dccp.h.

enum dccp_state
Enumerator:
DCCP_OPEN 
DCCP_REQUESTING 
DCCP_LISTEN 
DCCP_RESPOND 
DCCP_ACTIVE_CLOSEREQ 
DCCP_PASSIVE_CLOSE 
DCCP_CLOSING 
DCCP_TIME_WAIT 
DCCP_CLOSED 
DCCP_PARTOPEN 
DCCP_PASSIVE_CLOSEREQ 
DCCP_MAX_STATES 

Definition at line 18 of file dccp.h.

Function Documentation

int dccp_parse_options ( struct sock sk,
struct dccp_request_sock dreq,
struct sk_buff skb 
)

dccp_parse_options - Parse DCCP options present in : client|server|listening dccp socket (when != NULL) : request socket to use during connection setup, or NULL

Definition at line 51 of file options.c.

void dccp_syn_ack_timeout ( struct sock sk,
struct request_sock req 
)

Definition at line 581 of file ipv4.c.

Variable Documentation

Definition at line 28 of file minisocks.c.