Re: How much is available for reading on the socket?

2007-11-13 Thread Łeandro Sales
2007/11/9, Arnaldo Carvalho de Melo <[EMAIL PROTECTED]>: > Em Fri, Nov 09, 2007 at 01:51:27PM +, Gerrit Renker escreveu: > > | > using "ioctl (socket, FIONREAD, &readsize)" I can get how much is > > | > available to read from the socket using TCP. Is there a equivalent > > | > option for DCCP?

Re: [Announce]: Test Tree and CCID4 Tree updated

2007-11-13 Thread Łeandro Sales
2007/11/10, Gerrit Renker <[EMAIL PROTECTED]>: > This is to announce that the test tree on > git://eden-feed.erg.abdn.ac.uk/dccp_exp > has now been updated with regard to removal of spinlocks (changelog as per > previous mail). > > The CCID4 tree has also been updated to match the changes, change

Re: [PATCH 11/25] Share TFRC sender states via tfrc_ccids

2007-11-13 Thread Łeandro Sales
2007/11/8, Gerrit Renker <[EMAIL PROTECTED]>: > | @@ -76,16 +76,16 @@ static const char *ccid4_tx_state_name(e > | #endif > | > | static void ccid4_hc_tx_set_state(struct sock *sk, > | - enum ccid4_hc_tx_states state) > | + enum tfrc_hc_

Re: [PATCH 1/25] CCID-4 Kconfig and Makefile

2007-11-13 Thread Łeandro Sales
2007/11/13, Gerrit Renker <[EMAIL PROTECTED]>: > Quoting Leandro: > | 2007/11/8, Gerrit Renker <[EMAIL PROTECTED]>: > | > | +config IP_DCCP_CCID4_DEBUG > | > | + bool "CCID4 debugging messages" > | > | + depends on IP_DCCP_CCID4 > | > > | > | +# The TFRC Library: currently has CCID

Re: [PATCH 1/25] CCID-4 Kconfig and Makefile

2007-11-13 Thread Gerrit Renker
Quoting Leandro: | 2007/11/8, Gerrit Renker <[EMAIL PROTECTED]>: | > | +config IP_DCCP_CCID4_DEBUG | > | + bool "CCID4 debugging messages" | > | + depends on IP_DCCP_CCID4 | > | > | +# The TFRC Library: currently has CCID 3 and CCID 4 as customer | > | config IP_DCCP_TFRC_LIB | >

Re: [PATCH 1/25] CCID-4 Kconfig and Makefile

2007-11-13 Thread Łeandro Sales
2007/11/8, Gerrit Renker <[EMAIL PROTECTED]>: > | +config IP_DCCP_CCID4_DEBUG > | + bool "CCID4 debugging messages" > | + depends on IP_DCCP_CCID4 > > | +# The TFRC Library: currently has CCID 3 and CCID 4 as customer > | config IP_DCCP_TFRC_LIB > | - depends on IP_DCCP_CCID3

Re: [PATCH 4/25] Set packet size to 1460 as per ccid-4 draft

2007-11-13 Thread Łeandro Sales
2007/11/9, Gerrit Renker <[EMAIL PROTECTED]>: > | | if (hctx->ccid4hctx_p > 0) > | | - hctx->ccid4hctx_x_calc = tfrc_calc_x(hctx->ccid4hctx_s, > | | + hctx->ccid4hctx_x_calc = tfrc_calc_x(NOM_PACKET_SIZE, > | | hctx->ccid4hctx

Re: [PATCH 5/25] Enforces a minimum interval of 10 milliseconds as per CCID-4 draft

2007-11-13 Thread Łeandro Sales
2007/11/9, Tommi Saviranta <[EMAIL PROTECTED]>: > On Thu, Nov 08, 2007 at 11:18:30 +, Gerrit Renker wrote: > > Maybe the code would be clearer to read this way: > > > > hctx->ccid4hctx_t_ipi = scaled_div32(((u64)hctx->ccid4hctx_s) << 6, > >hctx-

Re: [PATCH 17/25] Share ccid3_tx_state_name function via tfrc_ccids

2007-11-13 Thread Łeandro Sales
2007/11/10, Gerrit Renker <[EMAIL PROTECTED]>: > | [CCID-3/4] Share ccid3_tx_state_name function via tfrc_ccids > > There is a build problem in declaring the following routines as shared: > > #if defined(CONFIG_IP_DCCP_CCID3_DEBUG) || defined(CONFIG_IP_DCCP_CCID4_DEBUG) > static const char *tfrc_tx