tcpip architecture design and implementation in linux by Unknown

tcpip architecture design and implementation in linux by Unknown

Author:Unknown
Language: eng
Format: epub
Published: 2014-03-30T13:29:39+00:00


KEEPALIVE TIMER

355

cs 10.29a. tcp_keepalive_timer() .

www.it-ebooks.info

356

TCP TIMERS

cs 10.29b. tcp_keepalive_timer() ( continued ).

Get the probe interval by calling keepalive_intvl_when() . In the case where the

probe interval was not transmitted successfully, we need to send it at the earliest.

So, the expiry time for the keepalive timer is reduced to

TCP_RESOURCE_

PROBE_INTERVAL at line 631, because we are not able to transmit because of

lack of resources. Next we call tcp_mem_reclaim() to reclaim some memory. We do

this here because if our connection has consumed its quanta of memory allocated,

the next processing of the incoming segment will take it to the slow path. So, we do

this check in advance here. Next we call tcp_reset_keepalive_timer() at line 642 to

reset the keepalive probe timer to whatever expiry time we have calculated above.

We release the socket lock and leave.

10.6 SYN - ACK TIMER

There is a timer maintained by Linux to manage connection requests that are not

being accepted for a given period of time. The entire idea of having this timer is

that if we are not able to accept more connections (accept queue is full) because

the application is not able to get CPU or it is busy doing something else, we need

to manage the connection request. There are two main cases where connection

requests need to be managed:

1. Established connections are not being accepted because the accept queue is

full and the application is not accepting new connections.

2. We don ’ t get ACK for the SYN - ACK we sent; that is, the third step in the

three - way handshake is not completed.

10.6.1 When Is the SYN - ACK Timer Activated?

The timer is activated when we get a connection request and there is no pending

connection request in the listening socket ’ s SYN queue to be processed. lopt → qlen

is the counter that is incremented by 1 whenever a new connection requested arrives

www.it-ebooks.info



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Popular ebooks
Eco-friendly approach of bio-indigo synthesis and developing purification methods towards isolation of indigo from indirubin and bacterial fragments by Ramalingam Manivannan & Kaliyan Prabakaran & Young-A Son(206457)
Personalized inhaled bacteriophage therapy for treatment of multidrug-resistant Pseudomonas aeruginosa in cystic fibrosis by unknow(174876)
CONSORT 2025 statement: updated guideline for reporting randomized trials by unknow(83273)
Critical evaluation of the ProfiLER-02 study design and outcomes by Vivek Subbiah & Razelle Kurzrock(82955)
Cardiac gene therapy makes a comeback by Oliver J. Müller & Susanne Hille & Anca Kliesow Remes(82783)
Whisky: Malt Whiskies of Scotland (Collins Little Books) by dominic roskrow(74436)
Unveiling the design rules for tunable emission in graphene quantum dots: A high-throughput TDDFT and machine learning perspective by Şener Özönder & Mustafa Coşkun Özdemir & Caner Ünlü(50891)
A yeast-based oral therapeutic delivers immune checkpoint inhibitors to reduce intestinal tumor burden by unknow(40259)
Covalent hitchhikers guide proteins to the nucleus by Alexander F. Russell & Madeline F. Currie & Champak Chatterjee(40215)
Meet the Authors: Christopher R. Mansfield and Emily R. Derbyshire by Christopher R. Mansfield & Emily R. Derbyshire(40094)
Alkaline-earth metals promote propane dehydrogenation with carbon dioxide through geometric effects: Altering the reaction pathway by unknow(32730)
Induced iron vacancies boosting FeOOH loaded on sustainable Fenton-like collagen fiber membrane for efficient removal of emerging contaminants by unknow(32504)
Efficient electric-field-assisted photochemical conversion of methane to n-propanol exclusively over penetrated TiO2Ti hollow fibers by Guanghui Feng(32452)
Bi2SiO5 nanosheets as piezo-photocatalyst for efficient degradation of 2,4-Dichlorophenol by Hangyu Shi & Yifu Li & Lishan Zhang & Guoguan Liu & Qian Zhang & Xuan Ru & Shan Zhong(32384)
A novel NDIPTA organic heterojunction photocatalyst with built-in electric field for efficient hydrogen production by Jiahui Yang & Baojun Ma & Yongfa Zhu(32360)
Enhanced conversion of methane to liquid-phase oxygenates via hollow ferrite nanotube@horseradish peroxidase based photoenzymatic catalysis by Jun Duan & Shiying Fan & Xinyong Li & Shaomin Liu(32330)
Ordered macroporous superstructure of defective carbon adorned with tiny cobalt sulfide for selective electrocatalytic hydrogenation of cinnamaldehyde by Xiao-Shi Yuan & Sheng-Hua Zhou & San-Mei Wang & Wenbo Wei & Xiaofang Li & Xin-Tao Wu & Qi-Long Zhu(32256)
What's Done in Darkness by Kayla Perrin(27144)
Topological analysis of non-conjugated ethylene oxide cored dendrimers decorated with tetraphenylethylene: Insights from degree-based descriptors using the polynomial approach by A Theertha Nair & D Antony Xavier & Annmaria Baby & S Akhila(26522)
Investigation of mechanical and self-healing properties of hydroxyl-terminated polybutadiene functionalized with 2-ureido-4-pyrimidinone by Mohsen Kazazi & Mehran Hayaty & Ali Mousaviazar(26457)