summaryrefslogtreecommitdiff
path: root/sysdep/bsd/krt-sock.c
AgeCommit message (Collapse)Author
2015-12-21Follow-up work on integrationOndrej Zajicek (work)
Contains some patches from Jan Moskyto Matejka
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-11Netlink: Allow more than 256 routing tables.Jan Moskyto Matejka
Since 2.6.19, the netlink API defines RTA_TABLE routing attribute to allow 32-bit routing table IDs. Using this attribute to index routing tables at Linux, instead of 8-bit rtm_table field.
2015-06-08unsigned [int] -> uintPavel Tvrdík
2015-04-22KRT: Support for RTM_CHANGE on BSDOndrej Zajicek
2015-04-12Minor fixesOndrej Zajicek
2014-10-24Integrated IP functions.Ondrej Zajicek
2014-07-09Fixes a bug in BSD kernel interfacing code.Ondrej Zajicek
The bug was introduced in 05476c4d04a24bdb26fa64e05ab31bc36118f34e.
2014-05-18IPv4/IPv6 integrated socket code.Ondrej Zajicek
2014-02-26Fixes longstanding issue with interfaces staying in IF_TMP_DOWN.Ondrej Zajicek
Thanks to Pierluigi Rolando and others for the bugreport.
2013-11-25Merge branch 'master' into add-pathOndrej Zajicek
2013-11-25Changes primary addr selection on BSD to respect SIOCGIFADDR ioctl() result.Ondrej Zajicek
Thanks to Alexander V. Chernikov for the original patch.
2013-11-23Merge branch 'master' into add-pathOndrej Zajicek
Conflicts: filter/filter.c nest/proto.c nest/rt-table.c proto/bgp/bgp.h proto/bgp/config.Y
2013-11-21Fixes an issue when opposite address is mistaken for broadcast on ptp ifaces ↵Ondrej Zajicek
on BSDs. Thanks to Lex van Roon for the bugreport and to Alexander V. Chernikov for examining it and locating the problem.
2013-09-22Allows other than IA_PEER addresses on PtP ifaces on BSD.Ondrej Zajicek
Also fixes a potential problem with link-local dest_addrs for IA_PEER addresses. Thanks to Alexander V. Chernikov for the suggestion.
2013-07-07Implements multiple routing table support for FreeBSD and OpenBSD.Ondrej Zajicek
Inspired by the patch from Alexander V. Chernikov.
2013-07-04Makes krt.c much more readable.Ondrej Zajicek
2012-08-14Implements ADD-PATH extension for BGP.Ondrej Zajicek
Allows to send and receive multiple routes for one network by one BGP session. Also contains necessary core changes to support this (routing tables accepting several routes for one network from one protocol). It needs some more cleanup before merging to the master branch.
2012-04-30Cleanup in sysdep KRT code, part 3.Ondrej Zajicek
Just one more renaming, old krt_set_notify() to krt_replace_rte().
2012-04-30Cleanup in sysdep KRT code, part 1.Ondrej Zajicek
OS-dependent functions renamed to be more consistent, prepared to merge krt-set and krt-scan headers. Name changes: struct krt_if_params -> struct kif_params struct krt_if_status -> struct kif_status struct krt_set/scan_params -> struct krt_params struct krt_set/scan_status -> struct krt_status krt_if_params_same -> kif_sys_reconfigure krt_if_copy_params -> kif_sys_copy_config krt_set/scan_params_same -> krt_sys_reconfigure krt_set/scan_copy_params -> krt_sys_copy_config krt_if_scan -> kif_do_scan krt_set_notify -> krt_do_notify krt_scan_fire -> krt_do_scan krt_if_ -> kif_sys_ krt_scan_ -> krt_sys_ krt_set_ -> krt_sys_
2012-03-25Fixes several minor bugs in kernel syncer.Ondrej Zajicek
2012-03-23Adds krt_source route attribute.Ondrej Zajicek
Thanks Jeremie Dimino for the original patch.
2012-01-23Implements handling of BSD iface arrival/departure notifications.Ondrej Zajicek
Thanks to Alexander V. Chernikov for original patch.
2012-01-23Fixes problems with creating/removing/renaming ifaces on BSD.Ondrej Zajicek
2012-01-21Fixes a bug in BSD iface scan.Ondrej Zajicek
if_update() should be called always, because periodic iface scan code removes all not-updated ifaces.
2012-01-09Some minor fixes.Ondrej Zajicek
2012-01-08Fix for IPv6 addresses on non-multiaccess ifaces on BSD.Ondrej Zajicek
Thanks Matthias Schiffer for the patch.
2011-10-09Extend the error message.Ondrej Zajicek
2011-10-06Signal problems with route installation to kernel tables.Ondrej Zajicek
2011-08-15A minor fix in BSD.Ondrej Zajicek
2011-07-28Fixes crash on BSD.Ondrej Zajicek
2011-04-07Fixes KRT sync in BSD.Ondrej Zajicek
When buffer is too small (because of change between sysctls()), needed is *not* changed.
2011-03-28Minor changes in addresses.Ondrej Zajicek
Mainly changes IA_UNNUMBERED to IA_PEER and adds IA_HOST. Also do not show broadcast addr in show interfaces. Nobody cares for that.
2011-01-08Some cleanups in krt_read_ifinfo().Ondrej Zajicek
2011-01-08Fixes interface names on BSD systems.Ondrej Zajicek
2010-11-11Implements link state detection.Ondrej Zajicek
Also changes some symbol names (IFF_ADMIN_DOWN -> IFF_SHUTDOWN, IFF_LINK_UP -> IFF_ADMIN_UP).
2010-07-05Implements hostcache and recursive next hops.Ondrej Zajicek
Hostcache is a structure for monitoring changes in a routing table that is used for routes with dynamic/recursive next hops. This is needed for proper iBGP next hop handling.
2010-05-28Minor fixes.Ondrej Zajicek
2010-04-28Better support for /31 networks.Ondrej Zajicek
2010-04-09Ignore routes with next-hop 127.0.0.1 on BSD.Ondrej Zajicek
2010-04-08On BSD, consider unmarked non-device routes as alien.Ondrej Zajicek
2010-04-04Restrict export of device routes to the kernel protocol.Ondrej Zajicek
In usual configuration, such export is already restricted with the aid of the direct protocol but there are some races that can circumvent it. This makes it harder to break kernel device routes. Also adds an option to disable this restriction.
2010-04-03Ignore some kernel messages.Ondrej Zajicek
2010-04-03Fixes related to routes with link-local gw on BSD.Ondrej Zajicek
2010-04-02Fixes link-local addresses on BSD.Ondrej Zajicek
2010-03-10Adds support for PTP links on BSD.Ondrej Zajicek
2010-02-26Many changes in (mainly) kernel syncers.Ondrej Zajicek
- BSD kernel syncer is now self-conscious and can learn alien routes - important bugfix in BSD kernel syncer (crash after protocol restart) - many minor changes and bugfixes in kernel syncers and neighbor cache - direct protocol does not generate host and link local routes - min_scope check is removed, all routes have SCOPE_UNIVERSE by default - also fixes some remaining compiler warnings
2010-02-10RTF_CLONING is removed in FreeBSD 8.Ondrej Zajicek
2009-09-30Fixes one previous commit.Ondrej Zajicek