Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
ccid_operations Struct Reference

#include <ccid.h>

Data Fields

unsigned char ccid_id
 
__u32 ccid_ccmps
 
const charccid_name
 
struct kmem_cacheccid_hc_rx_slab
 
struct kmem_cacheccid_hc_tx_slab
 
char ccid_hc_rx_slab_name [CCID_SLAB_NAME_LENGTH]
 
char ccid_hc_tx_slab_name [CCID_SLAB_NAME_LENGTH]
 
__u32 ccid_hc_rx_obj_size
 
__u32 ccid_hc_tx_obj_size
 
int(* ccid_hc_rx_init )(struct ccid *ccid, struct sock *sk)
 
int(* ccid_hc_tx_init )(struct ccid *ccid, struct sock *sk)
 
void(* ccid_hc_rx_exit )(struct sock *sk)
 
void(* ccid_hc_tx_exit )(struct sock *sk)
 
void(* ccid_hc_rx_packet_recv )(struct sock *sk, struct sk_buff *skb)
 
int(* ccid_hc_rx_parse_options )(struct sock *sk, u8 pkt, u8 opt, u8 *val, u8 len)
 
int(* ccid_hc_rx_insert_options )(struct sock *sk, struct sk_buff *skb)
 
void(* ccid_hc_tx_packet_recv )(struct sock *sk, struct sk_buff *skb)
 
int(* ccid_hc_tx_parse_options )(struct sock *sk, u8 pkt, u8 opt, u8 *val, u8 len)
 
int(* ccid_hc_tx_send_packet )(struct sock *sk, struct sk_buff *skb)
 
void(* ccid_hc_tx_packet_sent )(struct sock *sk, unsigned int len)
 
void(* ccid_hc_rx_get_info )(struct sock *sk, struct tcp_info *info)
 
void(* ccid_hc_tx_get_info )(struct sock *sk, struct tcp_info *info)
 
int(* ccid_hc_rx_getsockopt )(struct sock *sk, const int optname, int len, u32 __user *optval, int __user *optlen)
 
int(* ccid_hc_tx_getsockopt )(struct sock *sk, const int optname, int len, u32 __user *optval, int __user *optlen)
 

Detailed Description

struct ccid_operations - Interface to Congestion-Control Infrastructure

: numerical CCID ID (up to CCID_MAX, cf. table 5 in RFC 4340, 10.) : the CCMPS including network/transport headers (0 when disabled) : alphabetical identifier string for {r,t}x_slab: memory pool for the receiver/sender half-connection {r,t}x_obj_size: size of the receiver/sender half-connection socket

{r,t}x_init: CCID-specific initialisation routine (before startup) {r,t}x_exit: CCID-specific cleanup routine (before destruction) : implements the HC-receiver side {r,t}x_parse_options: parsing routine for CCID/HC-specific options {r,t}x_insert_options: insert routine for CCID/HC-specific options : implements feedback processing for the HC-sender : implements the sending part of the HC-sender : does accounting for packets in flight by HC-sender {r,t}x_get_info: INET_DIAG information for HC-receiver/sender {r,t}x_getsockopt: socket options specific to HC-receiver/sender

Definition at line 48 of file ccid.h.

Field Documentation

__u32 ccid_ccmps

Definition at line 50 of file ccid.h.

void(* ccid_hc_rx_exit)(struct sock *sk)

Definition at line 61 of file ccid.h.

void(* ccid_hc_rx_get_info)(struct sock *sk, struct tcp_info *info)

Definition at line 77 of file ccid.h.

int(* ccid_hc_rx_getsockopt)(struct sock *sk, const int optname, int len, u32 __user *optval, int __user *optlen)

Definition at line 81 of file ccid.h.

int(* ccid_hc_rx_init)(struct ccid *ccid, struct sock *sk)

Definition at line 59 of file ccid.h.

int(* ccid_hc_rx_insert_options)(struct sock *sk, struct sk_buff *skb)

Definition at line 67 of file ccid.h.

__u32 ccid_hc_rx_obj_size

Definition at line 56 of file ccid.h.

void(* ccid_hc_rx_packet_recv)(struct sock *sk, struct sk_buff *skb)

Definition at line 63 of file ccid.h.

int(* ccid_hc_rx_parse_options)(struct sock *sk, u8 pkt, u8 opt, u8 *val, u8 len)

Definition at line 65 of file ccid.h.

struct kmem_cache* ccid_hc_rx_slab

Definition at line 52 of file ccid.h.

char ccid_hc_rx_slab_name[CCID_SLAB_NAME_LENGTH]

Definition at line 54 of file ccid.h.

void(* ccid_hc_tx_exit)(struct sock *sk)

Definition at line 62 of file ccid.h.

void(* ccid_hc_tx_get_info)(struct sock *sk, struct tcp_info *info)

Definition at line 79 of file ccid.h.

int(* ccid_hc_tx_getsockopt)(struct sock *sk, const int optname, int len, u32 __user *optval, int __user *optlen)

Definition at line 85 of file ccid.h.

int(* ccid_hc_tx_init)(struct ccid *ccid, struct sock *sk)

Definition at line 60 of file ccid.h.

__u32 ccid_hc_tx_obj_size

Definition at line 56 of file ccid.h.

void(* ccid_hc_tx_packet_recv)(struct sock *sk, struct sk_buff *skb)

Definition at line 69 of file ccid.h.

void(* ccid_hc_tx_packet_sent)(struct sock *sk, unsigned int len)

Definition at line 75 of file ccid.h.

int(* ccid_hc_tx_parse_options)(struct sock *sk, u8 pkt, u8 opt, u8 *val, u8 len)

Definition at line 71 of file ccid.h.

int(* ccid_hc_tx_send_packet)(struct sock *sk, struct sk_buff *skb)

Definition at line 73 of file ccid.h.

struct kmem_cache * ccid_hc_tx_slab

Definition at line 52 of file ccid.h.

char ccid_hc_tx_slab_name[CCID_SLAB_NAME_LENGTH]

Definition at line 55 of file ccid.h.

unsigned char ccid_id

Definition at line 49 of file ccid.h.

const char* ccid_name

Definition at line 51 of file ccid.h.


The documentation for this struct was generated from the following file: