This archive is retained to ensure existing URLs remain functional. It will not contain any emails sent to this mailing list after July 1, 2024. For all messages, including those sent before and after this date, please visit the new location of the archive at https://mailman.ripe.net/archives/list/ris-users@ripe.net/
Using libbgpdump - obtain aspath?
- Next message (by thread): Using libbgpdump - obtain aspath?
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Rob Ballantyne
robballantyne3 at gmail.com
Mon Nov 6 19:59:55 CET 2023
Hello All, I’ve just started looking at libbgpdump for a project where I will be parsing MRT/BGP data. I’ve managed, following the example/advice I’ve seen, to get a basic loop running through an update file from the repository working. However, I don’t seem to be able to find the ASPATH component in the parsed data structure. I can see the type/subtype of the data block is BGPDUMP_TYPE_ZEBRA_BGP/BGPDUMP_SUBTYPE_ZEBRA_BGP_MESSAGE. I can also see that the BGPDUMP_BODY is a discriminated union based on these values. I can see that BGPDUMP_ENTRY.attr should probably contain an ASPATH but it doesn’t seem to be set ever. Should I be expecting the ASPATH to be set in this case? Should I be doing something different (calling some init function after discovering the BGPDUMP_BODY is of the right type?). Thanks! Rob -------------- next part -------------- An HTML attachment was scrubbed... URL: </ripe/mail/archives/ris-users/attachments/20231106/ed7ad8a8/attachment.html>
- Next message (by thread): Using libbgpdump - obtain aspath?
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]