35 Commits (master)

Author SHA1 Message Date
Lorenzo Cogotti 25707a25d8 [dbg_unix] Make sure to use execinfo.h only when available, fixes #1 9 months ago
Lorenzo Cogotti 2ce39190e1 [bgp] Add constant macro for OTC (RFC9234) attribute. 9 months ago
Lorenzo Cogotti 10052d7a8d [mem_file] Fix Stm_MemFileWrite() buffer management. 2 years ago
Lorenzo Cogotti bc0db5aeed [cpr] Fix bzip2 decompression over files with multiple streams.
Some bz2 archives contain concatenated streams,
libbz2 returns BZ_STREAM_END with possibly leftover data
on input buffer.
We should support this case gracefully.
2 years ago
Lorenzo Cogotti f214c5e42d [lonetix/sys] Only use posix_fadvise() and fdatasync() on Linux.
Some platforms don't offer these functions (e.g. Apple).
2 years ago
Lorenzo Cogotti 207924beac [lonetix/bgp] Fix Bgp_VmDoBreak() logic for nested BLKs 2 years ago
Lorenzo Cogotti ae052ea987 [lonetix/bgp] Optimize BGP VM code by adding more terminating instructions and factorize their code; remove obsolete ASMTCH instruction, redirecting it to FASMTC 2 years ago
Lorenzo Cogotti 45d9b20b9e [lonetix/bufio] Optimize buffer write operations avoiding copies, also introduce smallbytecopy.h 2 years ago
Lorenzo Cogotti 5ab4cd72a8 [lonetix/bgp] Take advantage of smallbytecopy.h inside Patriecia Tries 2 years ago
Lorenzo Cogotti 914911ba87 [lonetix/bgp] Take advantage of smallbytecopy.h for prefix copies 2 years ago
Lorenzo Cogotti 4eb6e55570 [lonetix/numlib] Make use of smallbytecopy.h for integer conversion result copy 2 years ago
Lorenzo Cogotti d7c7060cb7 [lonetix/smallbytecopy] Add optimized routines for small byte buffer copies. 2 years ago
Lorenzo Cogotti bfdde40031 [lonetix/bgp] Check for AGGREGATOR4 presence before checking its correctness 2 years ago
Lorenzo Cogotti 631ee335d8 [lonetic/bufio,lonetix/bgp,tools/bgpgrep,tools/peerindex] Add support for buffered input 2 years ago
Lorenzo Cogotti 3b5b41bf54 [lonetix/strlib] Add convenience function to reverse strings 2 years ago
Lorenzo Cogotti 62d3f846e6 [lonetix/bgp] Add quick access functions for BGP UPDATE fields 2 years ago
Lorenzo Cogotti 4bde2c79a3 [lonetix/lexer] Minor style fix in function signature 2 years ago
Lorenzo Cogotti de514e8a07 [lonetix/xpt] Minor style fix, do not use uintptr_t directly 2 years ago
Lorenzo Cogotti a004e014e1 [lonetix/fs] Some fixes to Windows system specific API - implementation still partial 2 years ago
Lorenzo Cogotti 07ffdf5a73 [lonetix/lexer] Fix octal number parsing and minor typo fixes 2 years ago
Lorenzo Cogotti dbd36e302c [lonetix/fs] Make Sys_ListFiles() safer when NULL is returned, by clearing *nfiles 2 years ago
Lorenzo Cogotti c195ecd8d7 [lonetix/fs] Make path extension functions more reliable 2 years ago
Lorenzo Cogotti db129a0d39 [lonetix/*,tools/bgpgrep/*] Correct handling of extended timestamps during filtering, decode and dump 3 years ago
Lorenzo Cogotti 73691101ce [bgp/dump_isolario.c] Respect withColors 3 years ago
Lorenzo Cogotti 6de065b5e6 [bgp/dump_isolario] Make sure BGP data is valid when dumping BGP4MP, print corruption warning when it is not 3 years ago
Lorenzo Cogotti 3ab2e69bb2 [bgp/attribute] Make sure EXTENDED attribute bit is off when clearing MP_UNREACH_NLRI during RIB rebuild 3 years ago
Lorenzo Cogotti dd57ccac53 [bgp/bgp] Minor style improvement 3 years ago
Lorenzo Cogotti 26996e1a8a [bgp/prefix] Minor style improvement 3 years ago
Lorenzo Cogotti 31d0c806be [bgp/vm] Minor whitespace fix 3 years ago
Lorenzo Cogotti 01c4311eb7 [bgp/attribute] Make sure cleared MP_UNREACH_NLRI attribute size is consistent when rebuilding RIBs 3 years ago
Lorenzo Cogotti ac6c224f72 [bgp/attribute] Fix NEXT_HOP iterator switch 3 years ago
Lorenzo Cogotti 2480f1fa75 [bgp/vm] Drop vm->isRunning and other metadata, Bgp_VmExec() could leave the VM in an inconsistent state on longjmp(), causing troubles 3 years ago
Lorenzo Cogotti 739f798d11 [vm.c,vm_asmtch.c] Move match result PUSH to Bgp_VmStoreMsgTypeMatch() 3 years ago
Lorenzo Cogotti 3bf9ff9dc4 [dump_isolario] Add KEEPALIVE dump to updates 3 years ago
Lorenzo Cogotti b0ef4dd774 [*] Initial commit 3 years ago