Hajar - What I would do:
Add the new attribute to bgpd.h, add a new 8 byte value to struct attr aigp, modify bgp_attr_parse to call a new function bgp_aigp_parse and treat it like how bgp_parse_med does the work. I'm not sure I would be using the bgp_mp_reach_parse or bgp_mp_unreach_parse as examples. donald On Fri, Jul 3, 2015 at 8:13 PM, Hajar Hantouti <[email protected]> wrote: > Hello :) > I knew that Quagga doesn't support the AIGP attribute RFC 7311. for my > research I need to work with it, so I aim to add the AIGP definition for > Quagga. > to begin I red the bgp_attr.c file , where I found the Mp_reach nlri > definition so i tried to copy some instructions from the mp_reach attribute > definition to help me start the aigp definition. > I stoped into the pgp_aigp_parse function , this function takes the param > mp_update , I actualy couldn't understand what this param stands for ? > could advise me about a way that I can add the aigp definition more > efficiently ? > > > _______________________________________________ > Quagga-dev mailing list > [email protected] > https://lists.quagga.net/mailman/listinfo/quagga-dev >
_______________________________________________ Quagga-dev mailing list [email protected] https://lists.quagga.net/mailman/listinfo/quagga-dev
