Move rttimer callback function from the rttimer itself to rttimer_queue.
authorclaudio <claudio@openbsd.org>
Wed, 4 May 2022 16:52:10 +0000 (16:52 +0000)
committerclaudio <claudio@openbsd.org>
Wed, 4 May 2022 16:52:10 +0000 (16:52 +0000)
commit38f7d33d7bd206332a3a6138cfafaf66154ed6c1
treeba3d295950c0fb69517181babcd5d1f20257ccf6
parent57e6945c8e4bc4a0ce89648033dfda6f96a3bb64
Move rttimer callback function from the rttimer itself to rttimer_queue.
All users use the same callback per queue so that makes sense.
Also replace rt_timer_queue_destroy() with rt_timer_queue_flush().
OK bluhm@
sys/net/route.c
sys/net/route.h
sys/netinet/ip_icmp.c
sys/netinet/ip_input.c
sys/netinet/ip_mroute.c
sys/netinet/ip_mroute.h
sys/netinet6/icmp6.c
sys/netinet6/ip6_input.c
sys/netinet6/ip6_mroute.c
sys/netinet6/ip6_mroute.h