FreeBSD kernel IPv4 code
cc_algo Struct Reference

#include <cc.h>

Public Member Functions

 STAILQ_ENTRY (cc_algo) entries
 

Data Fields

char name [TCP_CA_NAME_MAX]
 
int(* mod_init )(void)
 
int(* mod_destroy )(void)
 
size_t(* cc_data_sz )(void)
 
int(* cb_init )(struct cc_var *ccv, void *ptr)
 
void(* cb_destroy )(struct cc_var *ccv)
 
void(* conn_init )(struct cc_var *ccv)
 
void(* ack_received )(struct cc_var *ccv, uint16_t type)
 
void(* cong_signal )(struct cc_var *ccv, uint32_t type)
 
void(* post_recovery )(struct cc_var *ccv)
 
void(* after_idle )(struct cc_var *ccv)
 
void(* ecnpkt_handler )(struct cc_var *ccv)
 
void(* newround )(struct cc_var *ccv, uint32_t round_cnt)
 
void(* rttsample )(struct cc_var *ccv, uint32_t usec_rtt, uint32_t rxtcnt, uint32_t fas)
 
int(* ctl_output )(struct cc_var *, struct sockopt *, void *)
 
u_int cc_refcount
 
uint8_t flags
 

Detailed Description

Definition at line 146 of file cc.h.

Member Function Documentation

◆ STAILQ_ENTRY()

cc_algo::STAILQ_ENTRY ( cc_algo  )

Field Documentation

◆ ack_received

void(* cc_algo::ack_received) (struct cc_var *ccv, uint16_t type)

Definition at line 176 of file cc.h.

◆ after_idle

void(* cc_algo::after_idle) (struct cc_var *ccv)

Definition at line 185 of file cc.h.

◆ cb_destroy

void(* cc_algo::cb_destroy) (struct cc_var *ccv)

Definition at line 170 of file cc.h.

◆ cb_init

int(* cc_algo::cb_init) (struct cc_var *ccv, void *ptr)

Definition at line 167 of file cc.h.

Referenced by cc_modevent(), and tcp_set_cc_mod().

◆ cc_data_sz

size_t(* cc_algo::cc_data_sz) (void)

Definition at line 156 of file cc.h.

Referenced by cc_modevent(), and tcp_set_cc_mod().

◆ cc_refcount

u_int cc_algo::cc_refcount

Definition at line 203 of file cc.h.

Referenced by cc_deregister_algo(), cc_list_available(), cc_refer(), cc_register_algo(), and cc_release().

◆ cong_signal

void(* cc_algo::cong_signal) (struct cc_var *ccv, uint32_t type)

Definition at line 179 of file cc.h.

◆ conn_init

void(* cc_algo::conn_init) (struct cc_var *ccv)

Definition at line 173 of file cc.h.

◆ ctl_output

int(* cc_algo::ctl_output) (struct cc_var *, struct sockopt *, void *)

Definition at line 200 of file cc.h.

◆ ecnpkt_handler

void(* cc_algo::ecnpkt_handler) (struct cc_var *ccv)

Definition at line 188 of file cc.h.

◆ flags

uint8_t cc_algo::flags

Definition at line 204 of file cc.h.

Referenced by cc_default_algo(), cc_deregister_algo(), cc_stop_new_assignments(), and tcp_set_cc_mod().

◆ mod_destroy

int(* cc_algo::mod_destroy) (void)

Definition at line 153 of file cc.h.

Referenced by cc_modevent().

◆ mod_init

int(* cc_algo::mod_init) (void)

Definition at line 150 of file cc.h.

Referenced by cc_modevent().

◆ name

◆ newround

void(* cc_algo::newround) (struct cc_var *ccv, uint32_t round_cnt)

Definition at line 191 of file cc.h.

◆ post_recovery

void(* cc_algo::post_recovery) (struct cc_var *ccv)

Definition at line 182 of file cc.h.

◆ rttsample

void(* cc_algo::rttsample) (struct cc_var *ccv, uint32_t usec_rtt, uint32_t rxtcnt, uint32_t fas)

Definition at line 197 of file cc.h.


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