aboutgitcodebugslistschat
path: root/util.h
Commit message (Expand)AuthorAgeFilesLines
...
* 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
* passt, pasta: Completely avoid dynamic memory allocationStefano Brivio2021-10-141-0/+5
* conf, tap: Split netlink and pasta functions, allow interface configurationStefano Brivio2021-10-141-0/+9
* pasta: Allow specifying paths and names of namespacesGiuseppe Scrivano2021-10-071-1/+1
* tcp, tap: Turn tcp_probe_mem() into sock_probe_mem(), use for AF_UNIX socket tooStefano Brivio2021-10-051-0/+5
* conf, tcp: Periodic detection of bound ports for pasta port forwardingStefano Brivio2021-09-271-1/+1
* passt: Align pkt_buf to PAGE_SIZE (start and size), try to fit in huge pagesStefano Brivio2021-09-271-0/+1
* passt, pasta: Introduce command-line options and port re-mappingStefano Brivio2021-09-011-5/+9
* tcp: Introduce scatter-gather IO path from socket to tapStefano Brivio2021-07-261-0/+2
* tcp, udp: Allow binding ports in init namespace to both tap and loopbackStefano Brivio2021-07-261-2/+8
* checksum: Introduce AVX2 implementation, unify helpersStefano Brivio2021-07-261-4/+0
* udp: Introduce recvmmsg()/sendmmsg(), zero-copy path from socketStefano Brivio2021-07-211-0/+59
* passt: Add PASTA mode, major reworkStefano Brivio2021-07-171-2/+23