[dev] Regarding trapping of BGP control packets in frr

Quentin Young qlyoung at cumulusnetworks.com
Fri May 31 15:47:01 EDT 2019


This is correct.

> On May 31, 2019, at 12:59 PM, Jia Chen <jchen1 at paloaltonetworks.com> wrote:
> 
> 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 <mailto: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 <mailto: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 <mailto: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= <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 <mailto: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= <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/cfe752e1/attachment.html>


More information about the dev mailing list