[sr-dev] New module proposal: TCP keepalive -> tcpops

Daniel-Constantin Mierla miconda at gmail.com
Fri Feb 6 11:56:39 CET 2015


Hello,

you can push the module on the master branch - one more remark:

- use 'tcpops_' prefix for all non-static C functions in the module. In
the config they can be exported with 'tcp_' prefix in the name, but in
the C code is better to use a prefix that avoids potential conflicts
with the core which uses tcp_ ...

Haven't had time to follow up on your previous email, but setting the
tcp connection lifetime can be another function in this module -- now it
is only a global parameter, iirc. Needs for other functions can arise in
the future...

Cheers,
Daniel

On 06/02/15 11:28, Camille Oudot wrote:
> Le Wed, 4 Feb 2015 18:58:38 +0100,
> Daniel-Constantin Mierla <miconda at gmail.com> a écrit :
>
>> I think it would be good to use a more generic name for the module,
>> such as 'tcpops'.
> Hi,
>
> i renamed the module and posted it here:
>
> https://github.com/kamailio/kamailio/tree/coudot/tcpops/modules/tcpops
>
> Cheers

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com




More information about the sr-dev mailing list