| Commit message (Expand) | Author | Age | Files | Lines |
* | util: Use 'long' to represent millisecond durations | David Gibson | 2024-06-07 | 1 | -1/+1 |
* | util: Use unsigned indices for bits in bitmaps | David Gibson | 2024-06-07 | 1 | -3/+3 |
* | passt, util: Move opening of PID file to its own function | Stefano Brivio | 2024-05-23 | 1 | -0/+1 |
* | util: Rename write_pidfile() to pidfile_write() | Stefano Brivio | 2024-05-23 | 1 | -1/+1 |
* | util, tcp: Add helper to display socket addresses | David Gibson | 2024-05-22 | 1 | -0/+14 |
* | tcp: Replace TCP buffer structure by an iovec array | Laurent Vivier | 2024-04-19 | 1 | -0/+3 |
* | conf: Don't fail if the template interface doesn't have a MAC address | Stefano Brivio | 2024-04-19 | 1 | -0/+1 |
* | pasta, util: Align stack area for clones to maximum natural alignment | Stefano Brivio | 2024-04-19 | 1 | -1/+3 |
* | util: Add helper to return name of address family | David Gibson | 2024-04-05 | 1 | -0/+18 |
* | pcap: Use clock_gettime() instead of gettimeofday() | Stefano Brivio | 2024-03-14 | 1 | -0/+1 |
* | util: move IP stuff from util.[ch] to ip.[ch] | Laurent Vivier | 2024-03-06 | 1 | -76/+0 |
* | util: Allow IN4_IS_* macros to operate on untyped addresses | David Gibson | 2024-02-29 | 1 | -4/+4 |
* | util: Add write_remainder() helper | David Gibson | 2024-02-29 | 1 | -0/+1 |
* | treewide: Use sa_family_t for address family variables | David Gibson | 2024-02-27 | 1 | -1/+1 |
* | util: Use htonl_constant() in more places | David Gibson | 2023-12-27 | 1 | -2/+2 |
* | treewide: Add IN4ADDR_ANY_INIT macro | David Gibson | 2023-12-27 | 1 | -0/+3 |
* | tcp: Switch hash table to linear probing instead of chaining | David Gibson | 2023-12-27 | 1 | -0/+28 |
* | util: MAX_FROM_BITS() should be unsigned | David Gibson | 2023-12-04 | 1 | -1/+1 |
* | port_fwd, util: Include additional headers to fix build with musl | Stefano Brivio | 2023-12-02 | 1 | -0/+1 |
* | port_fwd, util: Don't bind UDP ports with opposite-side bound TCP ports | Stefano Brivio | 2023-11-22 | 1 | -0/+1 |
* | util: Add open_in_ns() helper | David Gibson | 2023-11-07 | 1 | -0/+1 |
* | port_fwd: Move automatic port forwarding code to port_fwd.[ch] | David Gibson | 2023-11-07 | 1 | -2/+0 |
* | cppcheck: Make many pointers const | David Gibson | 2023-10-04 | 1 | -2/+2 |
* | util: Consolidate and improve workarounds for clang-tidy issue 58992 | David Gibson | 2023-09-27 | 1 | -0/+41 |
* | Avoid shadowing index(3) | David Gibson | 2023-09-27 | 1 | -1/+1 |
* | util: Fix licensing information display in --version2023_09_08.05627dc | Stefano Brivio | 2023-09-08 | 1 | -2/+2 |
* | tcp, udp: Don't include destination address in partially precomputed csums | David Gibson | 2023-08-22 | 1 | -1/+3 |
* | util: Make ns_enter() a void function and report setns() errors | David Gibson | 2023-08-04 | 1 | -1/+1 |
* | util, conf: Add and use ns_is_init() helper | Stefano Brivio | 2023-05-23 | 1 | -0/+2 |
* | passt: Relicense to GPL 2.0, or any later version | Stefano Brivio | 2023-04-06 | 1 | -1/+1 |
* | util: Carry own definition of __bswap_constant{16,32} | Stefano Brivio | 2023-03-09 | 1 | -0/+11 |
* | Fix definitions of SOCKET_MAX, TCP_MAX_CONNS | Stefano Brivio | 2023-02-27 | 1 | -0/+2 |
* | Make assertions actually useful | David Gibson | 2023-02-12 | 1 | -1/+19 |
* | udp: Use abstracted tap header | David Gibson | 2023-01-23 | 1 | -7/+0 |
* | util: Parameterize ethernet header initializer macro | David Gibson | 2023-01-23 | 1 | -9/+2 |
* | util: Introduce hton*_constant() in place of #ifdefs | David Gibson | 2023-01-23 | 1 | -26/+11 |
* | udp: Pre-populate msg_names with local address | David Gibson | 2023-01-13 | 1 | -0/+7 |
* | util, pasta: Add do_clone() wrapper around __clone2() and clone() | Stefano Brivio | 2022-11-16 | 1 | -3/+5 |
* | Use typing to reduce chances of IPv4 endianness errors | David Gibson | 2022-11-04 | 1 | -2/+10 |
* | util: Set NS_FN_STACK_SIZE to one eighth of ulimit-reported maximum stack size2022_10_22.b68da10 | Stefano Brivio | 2022-10-22 | 1 | -1/+1 |
* | Replace FWRITE with a function | David Gibson | 2022-10-15 | 1 | -12/+1 |
* | util.h: Add missing gcc pragma push before pragma pop | Stefano Brivio | 2022-10-15 | 1 | -0/+1 |
* | Don't create 'tap' socket for ports that are bound to loopback only | Stefano Brivio | 2022-10-15 | 1 | -0/+3 |
* | conf, tcp, udp: Allow specification of interface to bind to | Stefano Brivio | 2022-10-15 | 1 | -1/+2 |
* | conf, log, Makefile: Add versioning information | Stefano Brivio | 2022-10-15 | 1 | -0/+8 |
* | Move logging functions to a new file, log.c | Stefano Brivio | 2022-10-14 | 1 | -16/+0 |
* | udp: Replace pragma to ignore bogus stringop-overread warning with workaround | Stefano Brivio | 2022-09-29 | 1 | -23/+0 |
* | cppcheck: Use inline suppression for ffsl() | David Gibson | 2022-09-29 | 1 | -0/+1 |
* | Move self-isolation code into a separate file | David Gibson | 2022-09-13 | 1 | -2/+0 |
* | Consolidate determination of UID/GID to run as | David Gibson | 2022-09-13 | 1 | -1/+0 |