Commit Graph

28 Commits

Author SHA1 Message Date
Lorenzo Cogotti 45d9b20b9e [lonetix/bufio] Optimize buffer write operations avoiding copies, also introduce smallbytecopy.h 2021-10-18 12:04:07 +02:00
Lorenzo Cogotti 5ab4cd72a8 [lonetix/bgp] Take advantage of smallbytecopy.h inside Patriecia Tries 2021-10-18 12:02:52 +02:00
Lorenzo Cogotti 914911ba87 [lonetix/bgp] Take advantage of smallbytecopy.h for prefix copies 2021-10-18 12:01:11 +02:00
Lorenzo Cogotti 4eb6e55570 [lonetix/numlib] Make use of smallbytecopy.h for integer conversion result copy 2021-10-18 11:58:25 +02:00
Lorenzo Cogotti d7c7060cb7 [lonetix/smallbytecopy] Add optimized routines for small byte buffer copies. 2021-10-18 11:57:17 +02:00
Lorenzo Cogotti bfdde40031 [lonetix/bgp] Check for AGGREGATOR4 presence before checking its correctness 2021-10-18 11:45:17 +02:00
Lorenzo Cogotti 631ee335d8 [lonetic/bufio,lonetix/bgp,tools/bgpgrep,tools/peerindex] Add support for buffered input 2021-10-15 12:18:35 +02:00
Lorenzo Cogotti 3b5b41bf54 [lonetix/strlib] Add convenience function to reverse strings 2021-10-15 12:13:01 +02:00
Lorenzo Cogotti 62d3f846e6 [lonetix/bgp] Add quick access functions for BGP UPDATE fields 2021-10-15 12:04:42 +02:00
Lorenzo Cogotti 4bde2c79a3 [lonetix/lexer] Minor style fix in function signature 2021-10-15 11:57:03 +02:00
Lorenzo Cogotti de514e8a07 [lonetix/xpt] Minor style fix, do not use uintptr_t directly 2021-10-15 11:56:30 +02:00
Lorenzo Cogotti a004e014e1 [lonetix/fs] Some fixes to Windows system specific API - implementation still partial 2021-10-15 11:54:23 +02:00
Lorenzo Cogotti 07ffdf5a73 [lonetix/lexer] Fix octal number parsing and minor typo fixes 2021-10-15 11:52:12 +02:00
Lorenzo Cogotti dbd36e302c [lonetix/fs] Make Sys_ListFiles() safer when NULL is returned, by clearing *nfiles 2021-10-15 11:51:14 +02:00
Lorenzo Cogotti c195ecd8d7 [lonetix/fs] Make path extension functions more reliable 2021-10-15 11:45:53 +02:00
Lorenzo Cogotti db129a0d39 [lonetix/*,tools/bgpgrep/*] Correct handling of extended timestamps during filtering, decode and dump 2021-08-20 22:37:20 +02:00
Lorenzo Cogotti 73691101ce [bgp/dump_isolario.c] Respect withColors 2021-08-06 01:27:13 +02:00
Lorenzo Cogotti 6de065b5e6 [bgp/dump_isolario] Make sure BGP data is valid when dumping BGP4MP, print corruption warning when it is not 2021-06-08 22:11:50 +02:00
Lorenzo Cogotti 3ab2e69bb2 [bgp/attribute] Make sure EXTENDED attribute bit is off when clearing MP_UNREACH_NLRI during RIB rebuild 2021-06-08 11:08:36 +02:00
Lorenzo Cogotti dd57ccac53 [bgp/bgp] Minor style improvement 2021-06-08 11:07:55 +02:00
Lorenzo Cogotti 26996e1a8a [bgp/prefix] Minor style improvement 2021-06-08 11:07:23 +02:00
Lorenzo Cogotti 31d0c806be [bgp/vm] Minor whitespace fix 2021-06-08 11:05:34 +02:00
Lorenzo Cogotti 01c4311eb7 [bgp/attribute] Make sure cleared MP_UNREACH_NLRI attribute size is consistent when rebuilding RIBs 2021-06-08 00:50:12 +02:00
Lorenzo Cogotti ac6c224f72 [bgp/attribute] Fix NEXT_HOP iterator switch 2021-06-08 00:40:35 +02:00
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 2021-06-08 00:07:48 +02:00
Lorenzo Cogotti 739f798d11 [vm.c,vm_asmtch.c] Move match result PUSH to Bgp_VmStoreMsgTypeMatch() 2021-06-08 00:01:50 +02:00
Lorenzo Cogotti 3bf9ff9dc4 [dump_isolario] Add KEEPALIVE dump to updates 2021-06-07 23:59:26 +02:00
Lorenzo Cogotti b0ef4dd774 [*] Initial commit 2021-06-07 16:55:13 +02:00