1. 24 May, 2018 1 commit
    • Ondřej Zajíček's avatar
      Do not initialize route metrics in import_control hook · feae132e
      Ondřej Zajíček authored
      During route export, the receiving protocol often initialized route
      metrics to default value in its import_control hook before export filter
      was executed. This is inconsistent with the expectation that an export
      filter would process the same route as one in the routing table and it
      breaks setting these metrics before (e.g. for static routes directly in
      static protocol).
      
      The patch removes the initialization of route metrics in import_control
      hook, the default values are already handled in rt_notify hook called
      after export filters.
      
      The patch also changed the behavior of OSPF to keep metrics when a route
      is reannounced between OSPF instances (to be consistent with other
      protocols) and the behavior when both ospf_metric1 and ospf_metric2
      are specified (to have more expected behavior).
      feae132e
  2. 09 Jan, 2018 1 commit
  3. 07 Dec, 2017 4 commits
  4. 23 May, 2017 1 commit
  5. 20 Feb, 2017 1 commit
  6. 22 Dec, 2016 2 commits
    • Jan Moskyto Matejka's avatar
      5b208e29
    • Jan Moskyto Matejka's avatar
      Merged multipath and single-path data structures. · 4e276a89
      Jan Moskyto Matejka authored
      Dropped struct mpnh and mpnh_*()
      Now struct nexthop exists, nexthop_*(), and also included struct nexthop
      into struct rta.
      
      Also converted RTD_DEVICE and RTD_ROUTER to RTD_UNICAST. If it is needed
      to distinguish between these two cases, RTD_DEVICE is equivalent to
      IPA_ZERO(a->nh.gw), RTD_ROUTER is then IPA_NONZERO(a->nh.gw).
      
      From now on, we also explicitely want C99 compatible compiler. We assume
      that this 20-year norm should be known almost everywhere.
      4e276a89
  7. 02 Nov, 2016 1 commit
  8. 01 Nov, 2016 1 commit
  9. 14 Sep, 2016 1 commit
  10. 08 Apr, 2016 1 commit
  11. 07 Apr, 2016 1 commit
  12. 01 Feb, 2016 1 commit
  13. 21 Dec, 2015 2 commits
  14. 05 Nov, 2015 1 commit
    • Ondřej Zajíček's avatar
      Initial commit on integrated BIRD · fe9f1a6d
      Ondřej Zajíček authored
      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.
      fe9f1a6d
  15. 05 Oct, 2015 1 commit
    • Ondřej Zajíček's avatar
      Major RIP redesign · 8465dccb
      Ondřej Zajíček authored
      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.
      8465dccb
  16. 21 Feb, 2015 2 commits
  17. 24 Oct, 2014 1 commit
  18. 18 May, 2014 1 commit
  19. 06 Feb, 2014 1 commit
    • Ondřej Zajíček's avatar
      Many changes in I/O and OSPF sockets and packet handling. · 48e5f32d
      Ondřej Zajíček authored
      I/O:
       - BSD: specify src addr on IP sockets by IP_HDRINCL
       - BSD: specify src addr on UDP sockets by IP_SENDSRCADDR
       - Linux: specify src addr on IP/UDP sockets by IP_PKTINFO
       - IPv6: specify src addr on IP/UDP sockets by IPV6_PKTINFO
       - Alternative SKF_BIND flag for binding to IP address
       - Allows IP/UDP sockets without tx_hook, on these
         sockets a packet is discarded when TX queue is full
       - Use consistently SOL_ for socket layer values.
      
      OSPF:
       - Packet src addr is always explicitly set
       - Support for secondary addresses in BSD
       - Dynamic RX/TX buffers
       - Fixes some minor buffer overruns
       - Interface option 'tx length'
       - Names for vlink pseudoifaces (vlinkX)
       - Vlinks use separate socket for TX
       - Vlinks do not use fixed associated iface
       - Fixes TTL for direct unicast packets
       - Fixes DONTROUTE for OSPF sockets
       - Use ifa->ifname instead of ifa->iface->name
      48e5f32d
  20. 16 Sep, 2013 1 commit
  21. 25 Jun, 2013 1 commit
  22. 24 Jun, 2013 1 commit
  23. 26 Feb, 2013 2 commits
  24. 24 Feb, 2013 1 commit
  25. 22 Feb, 2013 1 commit
  26. 21 Feb, 2013 1 commit
  27. 14 Aug, 2012 1 commit
    • Ondřej Zajíček's avatar
      Implements ADD-PATH extension for BGP. · 094d2bdb
      Ondřej Zajíček authored
      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.
      094d2bdb
  28. 11 May, 2012 1 commit
  29. 15 Mar, 2012 2 commits
  30. 24 Jan, 2012 1 commit
  31. 07 Nov, 2011 1 commit
    • Ondřej Zajíček's avatar
      Implements protocol templates. · a7f23f58
      Ondřej Zajíček authored
      Based on the patch from Alexander V. Chernikov.
      Extended to support almost all protocols.
      Uses 'protocol bgp NAME from TEMPLATE { ... }' syntax.
      a7f23f58
  32. 26 Oct, 2011 1 commit