[Olsr-users] DLEP_router: tinkering with ack_timeout

Henning Rogge (spam-protected)
Wed Mar 16 09:13:53 CET 2016


On Wed, Mar 16, 2016 at 8:33 AM, s-mtafel <(spam-protected)> wrote:
> Hello,
>
> I need to increase the ack_timeout, especially at session_init. Now, it is
> at about 200 ms.
>
> I have found following in your code. But I could not find the actual value
> setting.
>
> ./generic/dlep/dlep_session.c:471:  local->_ack_timeout.class =
> &_destination_ack_class;
> ./generic/dlep/dlep_session.c:488:  oonf_timer_stop(&local->_ack_timeout);
> ./generic/dlep/dlep_session.c:825:  local = container_of(ptr, struct
> dlep_local_neighbor, _ack_timeout);
> ./generic/dlep/dlep_session.h:220:  struct oonf_timer_instance _ack_timeout;

The timer is initialized in the function _l2_neigh_added_to_session()
in dlep/ext_base_proto/proto_radio.c

It is normally initialized to twice the local Heartbeat Interval.

Henning Rogge



More information about the Olsr-users mailing list