Thread: What enables Tcp_Vegas in the Kernel?

  1. #1
    Registered User
    Join Date
    Jan 2012
    Posts
    37

    What enables Tcp_Vegas in the Kernel?

    I would like to know if someone could tell me in the tcp.c file which function/line of code that enables the congestion avoidance algorithm.


    I believe that this function/line of code enables the congestion avoidance algorithm, specifically the tcp_reno.
    Code:
    tcp_register_congestion_control(&tcp_reno);


    I ask because I want to enable the tcp_vegas in the Kernel. I assume if that I put tcp_vegas such like this:

    Code:
    tcp_register_congestion_control(&tcp_vegas);
    I would enable tcp_vegas congestion avoidance algorithm in the tcp_vegas.c file, right?

    The tcp.c file I am referring to is the one that you can download from the Kernel website. I have attached it as well
    Attached Files Attached Files
    • File Type: c .c (86.5 KB, 259 views)

  2. #2
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    You know, there is an (extremely active) kernel mailing list, and there is a very very good chance someone there knows the answer to this question.

    The linux-kernel mailing list FAQ

    Just don't get snippy with anyone there They will run you out of town but quick.
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Kernel Programming
    By jaypatel in forum Linux Programming
    Replies: 4
    Last Post: 07-06-2011, 10:40 PM
  2. SOS - Can a monolithic kernel be used in a micro-kernel style OS?
    By sean in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 11-20-2008, 09:30 AM
  3. Programming a Kernel
    By Paz_Rax in forum C++ Programming
    Replies: 0
    Last Post: 07-20-2004, 06:23 AM
  4. Kernel mode
    By /Muad'Dib\ in forum C++ Programming
    Replies: 2
    Last Post: 06-02-2004, 08:36 AM
  5. kernel mod
    By gooddevil in forum Linux Programming
    Replies: 2
    Last Post: 05-31-2004, 01:52 PM