Skip to content
Snippets Groups Projects
  1. Dec 21, 2016
  2. Nov 13, 2016
  3. Nov 12, 2016
  4. Oct 15, 2016
  5. Jul 06, 2016
  6. Apr 04, 2016
  7. Mar 20, 2016
    • Jörg Krause's avatar
      uClibc may be configured without support for clock_nanosleep(). The function is · 7faebe46
      Jörg Krause authored
      only available with uClibc if the C library is build with NPTL support (sets
      __UCLIBC_HAS_THREADS_NATIVE__) and __UCLIBC_HAS_ADVANCED_REALTIME__ set.
      
      Signed-off-by: default avatarJörg Krause <joerg.krause@embedded.rocks>
      7faebe46
    • Jörg Krause's avatar
      Fix musl build · 9692a213
      Jörg Krause authored
      
      Defining _GNU_SOURCE is required to get proper member names in `struct udphdr`
      when building against musl. Build error:
      
        util.c: In function 'RawFillHeaders':
        util.c:481:9: error: 'struct udphdr' has no member named 'source'
             udph->source = htons(portsrc);
                 ^
        util.c:482:9: error: 'struct udphdr' has no member named 'dest'
             udph->dest   = htons(portdst);
                 ^
        util.c:483:9: error: 'struct udphdr' has no member named 'len'
             udph->len    = htons(sizeof(struct udphdr) + len);
                 ^
        util.c:484:9: error: 'struct udphdr' has no member named 'check'
             udph->check  = 0;
      
      Including <sys/types.h> in needed for mode_t, otherwise musl build fails:
        util.h:91:1: error: unknown type name 'mode_t'
      
      Signed-off-by: default avatarJörg Krause <joerg.krause@embedded.rocks>
      9692a213
    • Jörg Krause's avatar
      Makefile: link with pthread · 03366906
      Jörg Krause authored
      
      Otherwise building multicat in a static context fails:
        aggregartp.c:381: undefined reference to `pthread_self'
      
      Signed-off-by: default avatarJörg Krause <joerg.krause@embedded.rocks>
      03366906
  8. Oct 05, 2015
  9. Sep 01, 2015
  10. Aug 01, 2015
  11. Jul 17, 2015
  12. Jul 15, 2015
  13. Jun 02, 2015
  14. Dec 25, 2014
  15. Oct 14, 2014
  16. Sep 18, 2014
    • Christophe Massiot's avatar
      Use SO_BINDTODEVICE to bind to a specific interface. · 0564613d
      Christophe Massiot authored
      Under Linux, the socket will receive all packets for a given multicast
      address, from any interface, even if the interface address is specified.
      SO_BINDTODEVICE requires the CAP_NET_ADMIN capability.
      
      Patch courtesy of Benjamin Cohen bcohen AT openheadend DOT tv.
      0564613d
  17. Aug 09, 2014
  18. Jul 09, 2014
  19. Mar 12, 2014
  20. Feb 16, 2014
  21. Jan 20, 2014
  22. Jan 14, 2014
  23. Jan 13, 2014
  24. Nov 30, 2013
  25. Oct 28, 2013
  26. Mar 08, 2013
  27. Mar 06, 2013
  28. Mar 05, 2013
  29. Oct 19, 2012
Loading