[quagga-dev 4641] [RFC] [PATCH] Extend rib and static_ipvX structure flags field

Jorge Boncompte [DTI2] jorge at dti2.net
Tue Mar 27 12:47:54 BST 2007

    For my own VRF work I need to add new flags to the rib and static_ipvX 
structures but all possible values are already taken. So extend the fields 
to u_short instead of u_char.

    James, I taken a look at your MPLS work and you seem to have added a new 
ZEBRA_FLAG_CHANGED_MPLS with a value of 0x100 so I think that all the tests 
in your code for the flag are worthless.

    I left outside the changes to the api_ipv(4/6) structures because it 
would change the protocol between the daemons and neither I nor James works 
pass the new flags to those.

    What do you think, it is a correct approach?


Jorge Boncompte - Ingenieria y Gestion de RED
DTI2 - Desarrollo de la Tecnologia de las Comunicaciones
C/ Abogado Enriquez Barrios, 5   14004 CORDOBA (SPAIN)
Tlf: +34 957 761395 / FAX: +34 957 450380
- Sin pistachos no hay Rock & Roll...
- Without wicker a basket cannot be made.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rib-flags-patch
Type: application/octet-stream
Size: 5720 bytes
Desc: not available
URL: <http://lists.quagga.net/pipermail/quagga-dev/attachments/20070327/aed59d8b/attachment-0001.obj>

More information about the Quagga-dev mailing list