Hacker GitHub

← All repos

FRRouting/frr

View on GitHub ↗ ★ 4,355 C

The FRRouting Protocol Suite

26 mentions on Hacker News by 5 people: 3 stories, 23 comments · first 2017-04-05 · latest 2026-06-01

Mentions per year 26 mentions · busiest year 2024 (7)
20082026
  1. ▲ 4
    FRRouting – implements and manages various IPv4 and IPv6 routing protocols
    story by modinfo · 2026-06-01 · 2 comments
  2. …see how to do that with unions & typeof. Maybe it's possible...? e.g. hash table wrapper: https://github.com/FRRouting/frr/blob/master/lib/typesafe.h#... (cf. https://docs.frrouting.org/projects/dev-guide/en/latest/list... )
  3. > Is it? Could you elaborate/provide links to examples of this? https://github.com/FRRouting/frr/tree/master/lib/printf Disclaimer: my work. Customised to support %pHX, %pI4, %pFX, etc. - docs at https://docs.frrouting.org/projects/dev-guid…
  4. …OpenBSD. It is (was?) the only mainline OS without support for native thread-local storage. ¹ e.g. https://github.com/FRRouting/frr/blob/3f290c97e8325bd9db9363...
    comment by eqvinox · 2025-02-23 · in OpenBSD Innovations
  5. …:D (Almost: we have a full-featured command shell and just use that for testing) Shell bindings: https://github.com/FRRouting/frr/blob/master/tests/ospf6d/te... Input: https://github.com/FRRouting/frr/blob/master/tests/ospf6d/te...…
    comment by eqvinox · 2024-12-09 · in Show HN: A portable hash map in C
  6. Here's another example of unit tests for hash tables (and RB-trees and skiplists and…) https://github.com/FRRouting/frr/blob/master/tests/lib/test_... (this file is #include'd from another, with some #define set up:)…
    comment by eqvinox · 2024-12-09 · in Show HN: A portable hash map in C
  7. …do across threads in our C event loop, but there was no way around the fact that we needed it (cf. https://github.com/FRRouting/frr/blob/56d994aecab08b9462f2c8... )
    comment by eqvinox · 2024-10-30 · in Async Rust is not safe with io_uring
  8. …very far, it runs a bit counter to how includes are handled currently. P.S.: I ended up doing this https://github.com/FRRouting/frr/pull/15876/files#diff-90783... instead; a tool that can be invoked to expand some DEFINE_FOO if needed for…
  9. <300 lines? Peanuts! ;D https://github.com/FRRouting/frr/blob/master/lib/typesafe.h https://docs.frrouting.org/projects/dev-guide/en/latest/list...
  10. ▲ 2
    FRRouting/frr: remove libsystemd-dev external dependency… (2021)
    story by eqvinox · 2024-04-02 · 0 comments
  11. …It's such a simple idea, not quite as simple to implement, but such a massive UX improvement. https://github.com/FRRouting/frr/blob/aa6ceeeb5b1f92280ee797...
    comment by eqvinox · 2024-03-10 · in Ask HN: Best thing you've made in CLI
  12. …Those are the really tricky part that you'd need an explainer for… [source, in case anyone wonders: https://github.com/FRRouting/frr/blob/master/lib/atomlist.c ]
  13. Same kind of thing, but typesafe: https://github.com/FRRouting/frr/blob/master/lib/typesafe.h https://github.com/FRRouting/frr/blob/master/doc/developer/l... (disclaimer: it's my work.)
  14. …to steal a done-tested-and-working userspace variant (for C, and with limitations C++) of this: https://github.com/FRRouting/frr/pull/6766 It's pretty much the same thing, all occurences of "zlog_debug" and the like create an entry in a…
    comment by eqvinox · 2021-06-11 · in Linux-Kernel: Printk() Indexing
  15. Typesafe wrapper around the same code: https://github.com/FRRouting/frr/blob/master/lib/typerb.h https://github.com/FRRouting/frr/blob/master/lib/typerb.c Typesafe wrapper with identical API around linked lists, heap & hash:…
  16. Shameless plug: http://docs.frrouting.org/projects/dev-guide/en/latest/lists... https://github.com/FRRouting/frr/blob/master/lib/typesafe.h Differs in a bunch of design decisions. Memory management for items is strictly out of scope,…
    comment by eqvinox · 2020-12-30 · in C Template Library
  17. For comparison, FRRouting has 25 year old CLI code: https://github.com/FRRouting/frr/blob/master/doc/developer/c... https://github.com/FRRouting/frr/blob/master/lib/command.c (+ other files nearby) looks like this: DEFUN (show_version,…
  18. Here's our usage: https://github.com/FRRouting/frr/blob/master/lib/privs.h#L14... #define frr_with_privs(privs) \ for (struct zebra_privs_t *_once = NULL, \ *_privs __attribute__( \ (unused, cleanup(_zprivs_lower))) = \…
  19. …variable attribute: https://gcc.gnu.org/onlinedocs/gcc/Common-Variable-Attribute... Example use: https://github.com/FRRouting/frr/blob/master/lib/frr_pthread... (FRR requires a GCC/clang compatible compiler, so no fallback/workaround.)
    comment by eqvinox · 2020-03-18 · in A Defer Statement for C
  20. …a lot, we considered the maintenance / duplication cost acceptable. You can see the result here: https://github.com/FRRouting/frr/tree/master/lib/printf http://docs.frrouting.org/projects/dev-guide/en/latest/loggi... stdio support is…
    comment by eqvinox · 2019-11-13 · in Tearing apart printf() (2018)
  21. …(16000[0] vs 4000[1]), far more features, bugfixes, etc. Quagga has been dead for over a year. [0] https://github.com/FRRouting/frr [1] http://gogs.quagga.net/Quagga
  22. …comment, but if you're still using Quagga it is mostly dead - its fork FRR[0] is miles ahead. [0] https://github.com/frrouting/frr
  23. If you're into free routing software, also for *BSD, Linux and Solaris: https://github.com/frrouting/frr
  24. …to support PPPoE: https://docs.fd.io/vpp/18.07/clicmd_src_plugins_pppoe.html And works with FRR: https://github.com/FRRouting/frr/wiki/Alternate-forwarding-p... More docs on VPP can be found here, including installation, getting started,…
    comment by lstamour · 2018-07-07 · in How to drop 10M packets per second
  25. …is over 3,000 commits ahead since most of the core developers have stopped developing Quagga. [0] https://github.com/FRRouting/frr
  26. ▲ 1
    FRR, forked from Quagga
    story by sply · 2017-04-05 · 0 comments