Re: simplify rttimer api

2022-04-29 Thread Alexander Bluhm
On Fri, Apr 29, 2022 at 11:58:52AM +0200, Claudio Jeker wrote: > The callback currently uses struct rttimer as an argument but the code > only needs the rtt_tableid element from there. Change the callbacks to > be of the form void (*rtt_callback)(struct rtentry *r, u_int rtableid) > > Also change

simplify rttimer api

2022-04-29 Thread Claudio Jeker
The callback currently uses struct rttimer as an argument but the code only needs the rtt_tableid element from there. Change the callbacks to be of the form void (*rtt_callback)(struct rtentry *r, u_int rtableid) Also change the default rttimer callback (in case the function is NULL) to only handl