linux/net/ipv4/tcp_hybla.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * TCP HYBLA
 *
 * TCP-HYBLA Congestion control algorithm, based on:
 *   C.Caini, R.Firrincieli, "TCP-Hybla: A TCP Enhancement
 *   for Heterogeneous Networks",
 *   International Journal on satellite Communications,
 *				       September 2004
 *    Daniele Lacamera
 *    root at danielinux.net
 */

#include <linux/module.h>
#include <net/tcp.h>

/* Tcp Hybla structure. */
struct hybla {};

/* Hybla reference round trip time (default= 1/40 sec = 25 ms), in ms */
static int rtt0 =;
module_param(rtt0, int, 0644);
MODULE_PARM_DESC();

/* This is called to refresh values for hybla parameters */
static inline void hybla_recalc_param (struct sock *sk)
{}

static void hybla_init(struct sock *sk)
{}

static void hybla_state(struct sock *sk, u8 ca_state)
{}

static inline u32 hybla_fraction(u32 odds)
{}

/* TCP Hybla main routine.
 * This is the algorithm behavior:
 *     o Recalc Hybla parameters if min_rtt has changed
 *     o Give cwnd a new value based on the model proposed
 *     o remember increments <1
 */
static void hybla_cong_avoid(struct sock *sk, u32 ack, u32 acked)
{}

static struct tcp_congestion_ops tcp_hybla __read_mostly =;

static int __init hybla_register(void)
{}

static void __exit hybla_unregister(void)
{}

module_init();
module_exit(hybla_unregister);

MODULE_AUTHOR();
MODULE_LICENSE();
MODULE_DESCRIPTION();