Skip to content
Snippets Groups Projects
  1. Aug 05, 2022
  2. Aug 04, 2022
  3. Aug 03, 2022
  4. Aug 02, 2022
  5. Aug 01, 2022
  6. Jul 31, 2022
    • Daniel Salzman's avatar
      kxdpgun: simplify IPv6 address shuffling · 87df58d9
      Daniel Salzman authored
      87df58d9
    • Vladimír Čunát's avatar
      shuffle includes to support building against musl libc · 1759ce23
      Vladimír Čunát authored and Daniel Salzman's avatar Daniel Salzman committed
      Musl doesn't support mixing includes from libc and linux/
      which was causing double definitions of some IP-related structs.
      In particular, the pair <linux/ipv6.h> and <netinet/in.h>
      caused issues (transitive includes), unless included in reverse order.
      
      Ensuring the order is quite easy, so I went with that route.
      The only issue is was kxdpgun's shuffle_sockaddr6 which used
      a struct member that's only defined in the Linux version.
      Avoiding inclusion of <netinet/in.h> seemed difficult at that point
      (due to transitive includes), so I prototyped a trivial workaround,
      though not 100% clean due to type punning (though most likely OK).
      1759ce23
    • Daniel Salzman's avatar
      053e6fc8
  7. Jul 29, 2022
  8. Jul 28, 2022