summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2016-05-12Miscellaneous minor fixesOndrej Zajicek (work)
2016-05-10Merge branch 'int-new' into int-new-mergedJan Moskyto Matejka
2016-05-10Build system reworked to one global Makefile with includes and no nestingJan Moskyto Matejka
Also removed the lib-dir merging with sysdep. Updated #include's accordingly. Fixed make doc on recent Debian together with moving generated doc into objdir. Moved Makefile.in into root dir Retired all.o and birdlib.a Linking the final binaries directly from all the .o files.
2016-04-08Merge branch 'master' into int-new-channelsJan Moskyto Matejka
2016-04-06IO: Replace RX priority heuristic with explicit markOndrej Zajicek (work)
In BIRD, RX has lower priority than TX with the exception of RX from control socket. The patch replaces heuristic based on socket type with explicit mark and uses it for both control socket and BGP session waiting to be established. This should avoid an issue when during heavy load, outgoing connection could connect (TX event), send open, but then failed to receive OPEN / establish in time, not sending notifications between and therefore got hold timer expired error from the neighbor immediately after it finally established the connection.
2016-03-23Birdlib: Modify lists to avoid problems with pointer aliasing rulesJan Moskyto Matejka
The old linked list implementation used some wild typecasts and required GCC option -fno-strict-aliasing to work properly. This patch fixes that. However, we still keep the option due to other potential problems. (Commited by Ondrej Santiago Zajicek)
2016-03-23Birdlib: Do cleanups after remove/freeOndrej Zajicek (work)
To avoid byzantine behavior in case of some errors, linked lists are cleared after rem_node() and resource headers are cleared after rfree().
2016-02-19Hash: typecast error fixJan Moskyto Matejka
2016-02-10Updated RTA hashes to 32-bit values.Jan Moskyto Matejka
... and reworked the hashes a bit. Also added mem_hash function which just computes a hash of given memory block.
2016-02-01Channels - explicit links between protocols and tablesOndrej Zajicek (work)
The patch adds support for channels, structures connecting protocols and tables and handling most interactions between them. The documentation is missing yet.
2016-01-14NET ROAx: add max_pxlen, fix formatPavel Tvrdík
2016-01-13Net address format: Do not print the -4 or -6 suffix in %I4 and %I6Jan Moskyto Matejka
2016-01-12NET ROAx more small changesPavel Tvrdík
- Remove `u8 src` from net_add_roaX - Add `u8 max_pxlen` to net_add_roaX - Add some missing macro and functions for ROA - Remove ASN from hash function for ROA Thanks to Ondrej Santiago Zajicek
2016-01-12ROA change printf 'ASN: xxx' to 'ASxxx'Pavel Tvrdík
2016-01-11Hidden AF_INET* inside sysdep/Jan Moskyto Matejka
2016-01-07Add NET ROA4/6 structuresPavel Tvrdík
2015-12-29Explicit ip4_addr / ip6_addr printf supportOndrej Zajicek (work)
2015-12-29Move ID allocator to a separate file and use it also in OSPFOndrej Zajicek (work)
2015-12-24Follow-up work on integrationOndrej Zajicek (work)
2015-12-22Better fix of missing AF_INET6? definition in lib/socket.hJan Moskyto Matejka
Moved the code to sysdep.
2015-12-21BSD wants to include sys/socket.h in lib/socket.h (AF_INET6? definitions)Jan Moskyto Matejka
2015-12-21Follow-up work on integrationOndrej Zajicek (work)
Contains some patches from Jan Moskyto Matejka
2015-12-21Follow-up work on integrationOndrej Zajicek (work)
2015-12-20Integrated address print lengthsJan Moskyto Matejka
Minor changes by Ondrej Santiago Zajicek
2015-12-20Implemented missing prefix manipulation functionsJan Moskyto Matejka
2015-12-19Stop perusing f_prefix for non-prefix-set usesJan Moskyto Matejka
Multiple changes by Ondrej Santiago Zajicek
2015-12-19Removed BITS_PER_IP_ADDRESS, MAX_PREFIX_LENGTH, BIRD_AFJan Moskyto Matejka
Explicit setting of AF_INET(6|) in IP socket creation. BFD set to listen on v6, without setting the V6ONLY flag to catch both v4 and v6 traffic. Squashing and minor changes by Ondrej Santiago Zajicek
2015-12-18Netlink and BSD: Integrating IPv4 and IPv6Jan Moskyto Matejka
Squashing and minor changes by Ondrej Santiago Zajicek
2015-11-25Merge branch 'master' into int-newOndrej Zajicek (work)
2015-11-24MD5: Mormalize naming stylePavel Tvrdík
2015-11-24Merge branch 'master' into rip-newOndrej Zajicek (work)
2015-11-24Some consts for function argumentsOndrej Zajicek (work)
Patch from Pavel Tvrdik
2015-11-24Minor changes to SHA hash functionsOndrej Zajicek (work)
2015-11-13Add SHA-384/512 and HMAC-SHA-384/512 crypto hashPavel Tvrdík
2015-11-13Add SHA-224/256 and HMAC-SHA-224/256 crypto hashPavel Tvrdík
2015-11-13Add SHA1 and SHA1-HMAC crypto hashPavel Tvrdík
2015-11-13Add get_u64() and put_u64() into lib/unaligned.hPavel Tvrdík
2015-11-12Follow-up commit on integrated BIRDOndrej Zajicek (work)
Use net_addr for interface address prefixes, support net_addr in configuration parser.
2015-11-05Initial commit on integrated BIRDOndrej Zajicek (work)
New data types net_addr and variants (in lib/net.h) describing network addresses (prefix/pxlen). Modifications of FIB structures to handle these data types and changing everything to use these data types instead of prefix/pxlen pairs where possible. The commit is WiP, some protocols are not yet updated (BGP, Kernel), and the code contains some temporary scaffolding. Comments are welcome.
2015-10-05Major RIP redesignOndrej Zajicek (work)
The new RIP implementation fixes plenty of old bugs and also adds support for many new features: ECMP support, link state support, BFD support, configurable split horizon and more. Most options are now per-interface.
2015-06-08BGP multipath supportOndrej Zajicek
Kernel option 'merge paths' allows to merge routes exported to kernel protocol (currently BGP and static routes) to multipath routes.
2015-06-08unsigned [int] -> uintPavel Tvrdík
2015-06-08unsgined char -> bytePavel Tvrdík
2015-05-01OSPF: Redesign LSA checksummingOndrej Zajicek
New LSA checksumming code separates generic Fletcher-16 and OSPF-specific code and avoids back and forth endianity conversions, making it much more readable and also several times faster.
2015-03-02Implement latency tracking, internal event log and watchdogOndrej Zajicek
2015-02-24Add minor commentOndrej Zajicek
2015-02-22Use IP_PORTRANGE_HIGH for BFD where availableOndrej Zajicek
2015-02-21Minor fixesPavel Tvrdík
2015-02-21Better Clang compatibilityPavel Tvrdik
2015-02-21Add const to a param msg at functions log_msg, log_rl, die, bug and debugPavel Tvrdik