[dev] Regarding trapping of BGP control packets in frr

Jia Chen jchen1 at paloaltonetworks.com
Fri May 31 12:59:57 EDT 2019


Control packets have no reason to go through RTM which is what zebra does.
Other protocols like ospf/ISIS/Multicast should not go through zebra either.

On Wed, May 15, 2019 at 8:56 AM Quentin Young <qlyoung at cumulusnetworks.com>
wrote:

> No, BGP packets are not routed through Zebra. bgpd manages its own
> sockets. All BGP I/O code is in bgp_io.c and bgp_network.c.
>
> Quentin
>
> > On May 15, 2019, at 2:27 AM, sudhanshu kumar <sudhanshu22 at gmail.com>
> wrote:
> >
> > Hi,
> > I would like to know how does a BGP control packet sent by a peer get
> trapped by BGP in frr. Does it come to zebra first before being trapped by
> BGP. It would be good to indicate the functions called  for this ?
> >
> > Thanks & Regards,
> > Sudhanshu
> > _______________________________________________
> > dev mailing list
> > dev at lists.frrouting.org
> >
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.frrouting.org_listinfo_dev&d=DwIGaQ&c=V9IgWpI5PvzTw83UyHGVSoW3Uc1MFWe5J8PTfkrzVSo&r=yetdj-aXQpuqTCJGs-93hOpK3740MIRXowfUNLByeos&m=CpLv_KXziCVvcbM9cAUG7g9ZOyy2HLoTU7h0LGqg_0U&s=JeJChxqj8rT4lT8K1veVXmilq-FTRTmJPRDNSbR1F4w&e=
>
>
> _______________________________________________
> dev mailing list
> dev at lists.frrouting.org
>
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.frrouting.org_listinfo_dev&d=DwIGaQ&c=V9IgWpI5PvzTw83UyHGVSoW3Uc1MFWe5J8PTfkrzVSo&r=yetdj-aXQpuqTCJGs-93hOpK3740MIRXowfUNLByeos&m=CpLv_KXziCVvcbM9cAUG7g9ZOyy2HLoTU7h0LGqg_0U&s=JeJChxqj8rT4lT8K1veVXmilq-FTRTmJPRDNSbR1F4w&e=
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.frrouting.org/pipermail/dev/attachments/20190531/777dd285/attachment.html>


More information about the dev mailing list