andrei      2009/04/09 21:10:56 CEST

  SER CVS Repository

  Modified files:
    .                    tcp_main.c tcp_read.c 
  Added files:
    .                    tcp_ev.h tcp_stats.h 
  Log:
  tcp: internal macro-hooks for stats & events
  
  - added macros for tcp statistics (for now empty, keeping
    more statistics will only involve redefining them):
  
    TCP_STATS_ESTABLISHED(state) - new connection established
    TCP_STATS_CONNECT_FAILED() - new outgoing connection failed
    TCP_STATS_LOCAL_REJECT() - new incoming connection rejected
                              (max. no exceeded)
    TCP_STATS_CON_TIMEOUT() - connection closed for being idle too
                              long
    TCP_STATS_SEND_TIMEOUT() - send fails due to a timeout
    TCP_STATS_SENDQ_FULL()   - send fails because of the buffering
                               capacity being exceed (async mode
                               only)
  
  - added macros for various tcp events (for now some of them are
    used for logging):
  
    TCP_EV_CONNECT_RST(...) - connect attempt received RST
    TCP_EV_CONNECT_UNREACHABLE(...)
    TCP_EV_CONNECT_TIMEOUT(...)
    TCP_EV_CONNECT_NO_MORE_PORTS(...)
    TCP_EV_CONNECT_ERR(...)  - other connect error
    TCP_EV_SEND_TIMEOUT(...)
    TCP_EV_SENDQ_FULL(...)
    TCP_EV_IDLE_CONN_CLOSED(...)
  
  Revision  Changes    Path
  1.1       +97 -0     sip_router/tcp_ev.h (new)
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/tcp_ev.h?rev=1.1&content-type=text/plain
  1.144     +263 -67   sip_router/tcp_main.c
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/tcp_main.c.diff?r1=1.143&r2=1.144
  1.56      +45 -10    sip_router/tcp_read.c
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/tcp_read.c.diff?r1=1.55&r2=1.56
  1.1       +72 -0     sip_router/tcp_stats.h (new)
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/tcp_stats.h?rev=1.1&content-type=text/plain
_______________________________________________
Serdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/serdev

Reply via email to