Commit History

Autor SHA1 Mensaxe Data
  Felix Fietkau 3c1b33b7d5 utils: add const_* byteswapping functions %!s(int64=6) %!d(string=hai) anos
  Felix Fietkau 6eff829d78 utils: fix build error with g++ %!s(int64=6) %!d(string=hai) anos
  Felix Fietkau ace64897d4 switch from typeof to the more portable __typeof__ %!s(int64=6) %!d(string=hai) anos
  Felix Fietkau 92009b7f98 utils: ensure that byte-order conversion functions evaluate the argument only once %!s(int64=6) %!d(string=hai) anos
  Felix Fietkau eebe3fcd2a utils: use constant byte-order conversion %!s(int64=6) %!d(string=hai) anos
  Stijn Tintel 632688e8d6 utils: nuke bitfield functions and macros %!s(int64=7) %!d(string=hai) anos
  Felix Fietkau 3b6181b63d utils: fix build on Mac OS X 10.12 %!s(int64=7) %!d(string=hai) anos
  Felix Fietkau 0fe13749d0 utils: add helper functions useful for allocating a ring buffer %!s(int64=8) %!d(string=hai) anos
  Felix Fietkau a8e70c6d36 add a base64 implementation (based on FreeBSD code) %!s(int64=9) %!d(string=hai) anos
  Yousong Zhou ad9aa180d3 utils: use clock_get_time() for clock_gettime() on Apple. %!s(int64=9) %!d(string=hai) anos
  Felix Fietkau 9203927e58 utils: add a bitfield size macro %!s(int64=10) %!d(string=hai) anos
  Felix Fietkau 4f44401ae8 utils: add __constructor and __hidden defines %!s(int64=10) %!d(string=hai) anos
  Felix Fietkau a2453456f2 utils.h: fix name collisions in __u_bswap16 with using "val" both inside the macro and as argument %!s(int64=11) %!d(string=hai) anos
  Felix Fietkau e5032709b2 utils: add bitfield inline ops %!s(int64=11) %!d(string=hai) anos
  Felix Fietkau bd47d85d38 utils: make le16 endian conversion functions work with arguments that have side effects %!s(int64=11) %!d(string=hai) anos
  Felix Fietkau fcd5ba8fbd utils.h: make 16-bit little endian conversion robust against pointer subtraction arguments %!s(int64=11) %!d(string=hai) anos
  Felix Fietkau d01922625d utils: add little-endian swap helpers %!s(int64=11) %!d(string=hai) anos
  Felix Fietkau e5a40544ec utils: prefer using gccs builtin swapping functions which support constant folding %!s(int64=11) %!d(string=hai) anos
  Felix Fietkau 5ad190fccf utils: move endian swap helpers and __packed definition to utils.h %!s(int64=11) %!d(string=hai) anos
  Felix Fietkau aa4f3bde06 uloop: add a clock_gettime() implementation for mac os x %!s(int64=12) %!d(string=hai) anos
  Felix Fietkau 7157c3a4df utils: add BUILD_BUG_ON (similar to the one in the linux kernel) %!s(int64=12) %!d(string=hai) anos
  Felix Fietkau 59000546c0 utils: make it unnecessary to specify the last NULL argument for calloc_a %!s(int64=12) %!d(string=hai) anos
  Felix Fietkau 9c8ab5d64c utils: move ARRAY_SIZE from uloop to utils.h %!s(int64=12) %!d(string=hai) anos
  Felix Fietkau d03a6a27c7 add utils.c, containing a calloc-like function to allocate multiple chunks with different sizes in one block and return pointers %!s(int64=12) %!d(string=hai) anos