aboutgitcodebugslistschat
path: root/util.h
Commit message (Expand)AuthorAgeFilesLines
* vhost-user: introduce virtio APILaurent Vivier2024-03-121-0/+11
* 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
* udp: Pre-populate msg_names with local addressDavid Gibson2023-01-131-0/+7
* util, pasta: Add do_clone() wrapper around __clone2() and clone()Stefano Brivio2022-11-161-3/+5
* Use typing to reduce chances of IPv4 endianness errorsDavid Gibson2022-11-041-2/+10
* util: Set NS_FN_STACK_SIZE to one eighth of ulimit-reported maximum stack size2022_10_22.b68da10Stefano Brivio2022-10-221-1/+1
* Replace FWRITE with a functionDavid Gibson2022-10-151-12/+1
* util.h: Add missing gcc pragma push before pragma popStefano Brivio2022-10-151-0/+1
* Don't create 'tap' socket for ports that are bound to loopback onlyStefano Brivio2022-10-151-0/+3
* conf, tcp, udp: Allow specification of interface to bind toStefano Brivio2022-10-151-1/+2
* conf, log, Makefile: Add versioning informationStefano Brivio2022-10-151-0/+8
* Move logging functions to a new file, log.cStefano Brivio2022-10-141-16/+0
* udp: Replace pragma to ignore bogus stringop-overread warning with workaroundStefano Brivio2022-09-291-23/+0
* cppcheck: Use inline suppression for ffsl()David Gibson2022-09-291-0/+1
* Move self-isolation code into a separate fileDavid Gibson2022-09-131-2/+0
* Consolidate determination of UID/GID to run asDavid Gibson2022-09-131-1/+0
* Split checking for root from dropping root privilegeDavid Gibson2022-09-131-0/+1
* Don't store UID & GID persistently in the context structureDavid Gibson2022-09-131-1/+1
* Clarify semantics of c->v4 and c->v6 variablesDavid Gibson2022-07-301-6/+0
* conf: Add --runas option, changing to given UID and GID if started as rootStefano Brivio2022-05-191-0/+1
* udp: Ignore bogus -Wstringop-overread for write() from gcc 12.1Stefano Brivio2022-05-191-0/+23
* conf, tcp, udp: Allow address specification for forwarded portsStefano Brivio2022-05-011-9/+2
* treewide: Argument cannot be negative, CWE-687Stefano Brivio2022-04-071-0/+12
* treewide: Mark constant references as constStefano Brivio2022-03-291-4/+4
* treewide: Add include guardsStefano Brivio2022-03-291-0/+5