aboutgitcodebugslistschat
path: root/util.h
Commit message (Expand)AuthorAgeFilesLines
* util, pif: Replace sock_l4() with pif_sock_l4()David Gibson2024-09-251-3/+0
* util: Add helper to write() all of a bufferDavid Gibson2024-09-181-0/+1
* conf, fwd: Make ephemeral port logic more flexibleDavid Gibson2024-08-291-3/+0
* util: Provide own version of close_range(), and no-op fallbackStefano Brivio2024-08-211-0/+22
* Don't take "our" MAC address from the hostDavid Gibson2024-08-211-1/+0
* util: Helper for formatting MAC addressesDavid Gibson2024-08-211-0/+3
* passt, util: Close any open file that the parent might have leakedStefano Brivio2024-08-081-0/+1
* util: Some corrections for timespec_diff_usDavid Gibson2024-08-071-1/+1
* util: Use unsigned (size_t) value for iov lengthDavid Gibson2024-08-061-1/+1
* tap: Correctly handle frames of odd lengthDavid Gibson2024-07-261-0/+16
* log, util: Fix sub-second part in relative log time calculationStefano Brivio2024-07-261-0/+1
* flow: Helper to create sockets based on flowsideDavid Gibson2024-07-191-0/+3
* udp: Handle errors on UDP socketsDavid Gibson2024-07-171-0/+3
* util: sock_l4() determine protocol from epoll type rather than the reverseDavid Gibson2024-07-051-1/+2
* util: Use 'long' to represent millisecond durationsDavid Gibson2024-06-071-1/+1
* util: Use unsigned indices for bits in bitmapsDavid Gibson2024-06-071-3/+3
* passt, util: Move opening of PID file to its own functionStefano Brivio2024-05-231-0/+1
* util: Rename write_pidfile() to pidfile_write()Stefano Brivio2024-05-231-1/+1
* util, tcp: Add helper to display socket addressesDavid Gibson2024-05-221-0/+14
* tcp: Replace TCP buffer structure by an iovec arrayLaurent Vivier2024-04-191-0/+3
* conf: Don't fail if the template interface doesn't have a MAC addressStefano Brivio2024-04-191-0/+1
* pasta, util: Align stack area for clones to maximum natural alignmentStefano Brivio2024-04-191-1/+3
* util: Add helper to return name of address familyDavid Gibson2024-04-051-0/+18
* pcap: Use clock_gettime() instead of gettimeofday()Stefano Brivio2024-03-141-0/+1
* util: move IP stuff from util.[ch] to ip.[ch]Laurent Vivier2024-03-061-76/+0
* util: Allow IN4_IS_* macros to operate on untyped addressesDavid Gibson2024-02-291-4/+4
* util: Add write_remainder() helperDavid Gibson2024-02-291-0/+1
* treewide: Use sa_family_t for address family variablesDavid Gibson2024-02-271-1/+1
* util: Use htonl_constant() in more placesDavid Gibson2023-12-271-2/+2
* treewide: Add IN4ADDR_ANY_INIT macroDavid Gibson2023-12-271-0/+3
* tcp: Switch hash table to linear probing instead of chainingDavid Gibson2023-12-271-0/+28
* util: MAX_FROM_BITS() should be unsignedDavid Gibson2023-12-041-1/+1
* port_fwd, util: Include additional headers to fix build with muslStefano Brivio2023-12-021-0/+1
* port_fwd, util: Don't bind UDP ports with opposite-side bound TCP portsStefano Brivio2023-11-221-0/+1
* util: Add open_in_ns() helperDavid Gibson2023-11-071-0/+1
* port_fwd: Move automatic port forwarding code to port_fwd.[ch]David Gibson2023-11-071-2/+0
* cppcheck: Make many pointers constDavid Gibson2023-10-041-2/+2
* util: Consolidate and improve workarounds for clang-tidy issue 58992David Gibson2023-09-271-0/+41
* Avoid shadowing index(3)David Gibson2023-09-271-1/+1
* util: Fix licensing information display in --version2023_09_08.05627dcStefano Brivio2023-09-081-2/+2
* tcp, udp: Don't include destination address in partially precomputed csumsDavid Gibson2023-08-221-1/+3
* util: Make ns_enter() a void function and report setns() errorsDavid Gibson2023-08-041-1/+1
* util, conf: Add and use ns_is_init() helperStefano Brivio2023-05-231-0/+2
* passt: Relicense to GPL 2.0, or any later versionStefano Brivio2023-04-061-1/+1
* util: Carry own definition of __bswap_constant{16,32}Stefano Brivio2023-03-091-0/+11
* Fix definitions of SOCKET_MAX, TCP_MAX_CONNSStefano Brivio2023-02-271-0/+2
* Make assertions actually usefulDavid Gibson2023-02-121-1/+19
* udp: Use abstracted tap headerDavid Gibson2023-01-231-7/+0
* util: Parameterize ethernet header initializer macroDavid Gibson2023-01-231-9/+2
* util: Introduce hton*_constant() in place of #ifdefsDavid Gibson2023-01-231-26/+11