lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [patch #5779] Tunning TCP KeepAlives values


From: Frédéric Bernon
Subject: [lwip-devel] [patch #5779] Tunning TCP KeepAlives values
Date: Sun, 04 Mar 2007 13:40:49 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2

URL:
  <http://savannah.nongnu.org/patch/?5779>

                 Summary: Tunning TCP KeepAlives values
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: fbernon
            Submitted on: dimanche 04.03.2007 à 14:40
                Category: None
                Priority: 5 - Normal
                  Status: In Progress
                 Privacy: Public
             Assigned to: fbernon
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

In the forum's thread "Questions about LwIP KEEPALIVE..." (19th February
2007), I have propose to let the possibility to redefine in lwipopts.h values
for "keepalives". This will be something like :

/* Keepalive values */
#define  TCP_KEEPDEFAULT   7200000                       /* KEEPALIVE timer
in miliseconds */

#ifndef  TCP_KEEPINTVL
#define  TCP_KEEPINTVL     75000                         /* Time between
KEEPALIVE probes in miliseconds */
#endif

#ifndef  TCP_KEEPCNT
#define  TCP_KEEPCNT       9                             /* Counter for
KEEPALIVE probes */
#endif

#define  TCP_MAXIDLE       TCP_KEEPCNT * TCP_KEEPINTVL   /* Maximum KEEPALIVE
probe time */

Is it ok for you?





    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?5779>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]