aboutgitcodebugslistschat
path: root/util.h
Commit message (Expand)AuthorAgeFilesLines
* 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
* treewide: Packet abstraction with mandatory boundary checksStefano Brivio2022-03-291-1/+4
* tcp: Refactor to use events instead of states, split out spliced implementationStefano Brivio2022-03-281-1/+3
* util: Use standard int typesStefano Brivio2022-03-251-6/+6
* util: Drop CHECK_SET_MIN_MAX{,_PROTO_FD} macrosStefano Brivio2022-03-251-14/+0
* conf, util, tap: Implement --trace option for extra verbose loggingStefano Brivio2022-03-251-0/+8
* passt, pasta: Namespace-based sandboxing, defer seccomp policy applicationStefano Brivio2022-02-211-1/+11
* passt: Address new clang-tidy warnings from LLVM 13.0.1Stefano Brivio2022-01-301-3/+3
* tcp, udp, util: Fixes for bitmap handling on big-endian, castsStefano Brivio2022-01-261-0/+2
* util: Fall-back definitions for SECCOMP_RET_KILL_PROCESS, ETH_{MAX,MIN}_MTUStefano Brivio2022-01-261-0/+10
* passt: Drop <linux/ipv6.h> include, carry own ipv6hdr and opt_hdr definitionsStefano Brivio2022-01-261-0/+28
* passt: Fix build with gcc 7, use std=c99, enable some more Clang checkersStefano Brivio2021-10-211-2/+1
* passt: Add clang-tidy Makefile target and test, take care of warningsStefano Brivio2021-10-201-3/+3
* LICENSES: Add license text files, add missing notices, fix SPDX tagsStefano Brivio2021-10-201-0/+5
* passt: Static builds: don't redefine __vsyslog(), skip getpwnam() and initgro...Stefano Brivio2021-10-161-1/+1
* util: Define ROUND_UP()Stefano Brivio2021-10-151-0/+2