Rename imsg_compose_parent and imsg_compose_rde to imsg_ctl_parent and
authorclaudio <claudio@openbsd.org>
Sun, 25 Oct 2015 18:49:01 +0000 (18:49 +0000)
committerclaudio <claudio@openbsd.org>
Sun, 25 Oct 2015 18:49:01 +0000 (18:49 +0000)
commitea6179e78025dc661ea22db88201853008ef1215
treeb056773c697f2d42a2c2e706d9b3159b2c91a30f
parent837ebe0a88a799a2afabcf47ea35edaa4ca7a2ba
Rename imsg_compose_parent and imsg_compose_rde to imsg_ctl_parent and
imsg_ctl_rde since these function should only be used by the control
code. Also switch ibuf_rde to ibuf_rde_ctl so that the control imsgs
don't need to queue behind all the incoming bgp UPDATES. This speeds
up 'bgpctl show' from taking minutes to a few seconds. The RDE was doing
this since a very long time but it seems the SE was not adjusted. Yikes
usr.sbin/bgpd/control.c
usr.sbin/bgpd/session.c
usr.sbin/bgpd/session.h