Commit graph

  • 0588163b1f cppcheck: Don't check the system headers master David Gibson 2024-11-08 13:53:30 +1100
  • 14dd70e2b3 linux_dep: Fix CLOSE_RANGE_UNSHARE availability handling David Gibson 2024-11-08 13:53:29 +1100
  • d64f257243 linux_dep: Move close_range() conditional handling to linux_dep.h David Gibson 2024-11-08 13:53:28 +1100
  • b84cd05098 log: Only check for FALLOC_FL_COLLAPSE_RANGE availability at runtime David Gibson 2024-11-08 13:53:27 +1100
  • 58fa5508bd tap, tcp, util: Add some missing SOCK_CLOEXEC flags Stefano Brivio 2024-11-07 19:40:37 +0100
  • 71869e2912 passt: Use NOLINT clang-tidy block instead of NOLINTNEXTLINE Stefano Brivio 2024-11-07 19:28:21 +0100
  • d4f09c9b96 util: Define small and big thresholds for socket buffers as unsigned long long Stefano Brivio 2024-11-07 19:04:44 +0100
  • 87940f9aa7 tap: Cast TAP_BUF_BYTES - ETH_MAX_MTU to ssize_t, not TAP_BUF_BYTES Stefano Brivio 2024-11-07 18:58:49 +0100
  • 1feb90fe62 dhcpv6: Turn some option headers pointers to const Stefano Brivio 2024-11-07 18:08:46 +0100
  • 5f5e814cfc dhcpv6: Use for loop instead of goto to avoid false positive cppcheck warning Stefano Brivio 2024-11-07 17:47:08 +0100
  • 78da088f7b tcp: unify payload and flags l2 frames array Jon Maloy 2024-11-05 20:07:44 -0500
  • 9a0e544f05 test: Improve test for NDP assigned prefix David Gibson 2024-11-06 12:44:15 +1100
  • 910f4f9103 test: Don't require 64-bit prefixes in perf tests David Gibson 2024-11-06 12:44:14 +1100
  • 1699083f29 test: Make nstool hold robust against interruptions to control clients David Gibson 2024-11-06 14:03:22 +1100
  • b456ee1b53 test: Rename propagating signal handler David Gibson 2024-11-06 14:03:21 +1100
  • 867db07fcf util: Work around cppcheck bug 6936 David Gibson 2024-11-06 17:54:20 +1100
  • 6f913b3af0 udp: Don't dereference uflow before NULL check in udp_reply_sock_handler() David Gibson 2024-11-06 17:54:19 +1100
  • d8e05a3fe0 ndp: Use const pointer for ndp_ns packet David Gibson 2024-11-06 17:54:18 +1100
  • 0d7b8201ed linux_dep: Generalise tcp_info.h to handling Linux extension compatibility David Gibson 2024-11-06 17:54:14 +1100
  • c5f4e4d146 fwd: Squash different-signedness comparison warning David Gibson 2024-11-06 12:43:04 +1100
  • 1e76a19895 util: Remove unused ffsl() function David Gibson 2024-11-06 10:25:28 +1100
  • 1d7cff3779 clang: Add rudimentary clangd configuration David Gibson 2024-11-06 10:25:27 +1100
  • c560e2f65b Makefile: Don't attempt to auto-detect stack size David Gibson 2024-11-06 10:25:26 +1100
  • 13fc6d511e Makefile: Use -DARCH for qrap only David Gibson 2024-11-06 10:25:25 +1100
  • 7917159005 seccomp: Simplify handling of AUDIT_ARCH David Gibson 2024-11-06 10:25:24 +1100
  • 93bce404c1 Makefile: Move NETNS_RUN_DIR definition to C code David Gibson 2024-11-06 10:25:23 +1100
  • c938d8a93e netlink: RTA_PAYLOAD() returns int, not size_t David Gibson 2024-11-06 10:25:22 +1100
  • f6b546c6e4 flow: Correct type of flowside_at_sidx() David Gibson 2024-11-06 10:25:21 +1100
  • 30b4f88167 arch: Avoid explicit access to 'environ' David Gibson 2024-11-06 10:25:20 +1100
  • b78e72da0b clang: Move clang-tidy configuration from Makefile to .clang-tidy David Gibson 2024-11-06 10:25:19 +1100
  • 8346216c9a Makefile: Simplify exclusion of qrap from static checks David Gibson 2024-11-06 10:25:18 +1100
  • 8f1b6a0ca6 clang: Add .clang-format file David Gibson 2024-11-06 10:25:17 +1100
  • 5e93bcd8bf test: Adjust misplaced sleeps in two_guests code David Gibson 2024-11-05 12:44:04 +1100
  • 9afce0b45c tap: Explicitly cast TUNSETIFF to fix build warning with musl on ppc64le Stefano Brivio 2024-10-30 21:36:18 +0100
  • d165d36a0c tcp: Fix build against musl, __sum16 comes from linux/types.h Stefano Brivio 2024-10-30 21:31:05 +0100
  • ee7d0b62a7 util: Don't use errno after a successful call in __daemon() 2024_10_30.ee7d0b6 Stefano Brivio 2024-10-25 00:57:58 +0200
  • b1a607fba1 udp: Take care of cert-int09-c clang-tidy warning for enum udp_iov_idx Stefano Brivio 2024-10-25 00:48:10 +0200
  • 099ace64ce treewide: Address cert-err33-c clang-tidy warnings for clock and timer functions Stefano Brivio 2024-10-25 00:29:50 +0200
  • 59fe34ee36 treewide: Suppress clang-tidy warning if we already use O_CLOEXEC Stefano Brivio 2024-10-25 00:10:36 +0200
  • 134b4d58b4 Makefile: Disable readability-math-missing-parentheses clang-tidy check Stefano Brivio 2024-10-24 23:52:19 +0200
  • 744247856d treewide: Silence cert-err33-c clang-tidy warnings for fprintf() Stefano Brivio 2024-10-24 23:44:43 +0200
  • 98efe7c2fd treewide: Comply with CERT C rule ERR33-C for snprintf() Stefano Brivio 2024-10-24 23:25:33 +0200
  • 988a4d75f8 Makefile: Exclude qrap.c from clang-tidy checks Stefano Brivio 2024-10-24 23:10:09 +0200
  • ba38e67cf4 tcp: unify l2 TCPv4 and TCPv6 queues and structures Jon Maloy 2024-10-28 22:14:00 -0400
  • 2053c36dec tcp: set ip and eth headers in l2 tap queues on the fly Jon Maloy 2024-10-28 22:13:59 -0400
  • 5563d5f668 test: remove obsolete images Laurent Vivier 2024-10-25 09:49:10 +0200
  • f43f7d5e89 tcp: cleanup tcp_buf_data_from_sock() Laurent Vivier 2024-10-24 10:50:58 +0200
  • e7fcd0c348 tcp: Use runtime tests for TCP_INFO fields David Gibson 2024-10-24 15:59:22 +1100
  • 81143813a6 tcp: Generalise probing for tcpi_snd_wnd field David Gibson 2024-10-24 15:59:21 +1100
  • 13f0291ede tcp: Remove compile-time dependency on struct tcp_info version David Gibson 2024-10-24 15:59:20 +1100
  • 9e4615b40b tcp_splice: fcntl(2) returns the size of the pipe, if F_SETPIPE_SZ succeeds Stefano Brivio 2024-10-24 22:16:39 +0200
  • 149f457b23 tcp_splice: splice() all we have to the writing side, not what we just read Stefano Brivio 2024-10-24 09:12:11 +0200
  • 9e5df350d6 tcp: Use structures to construct initial TCP options David Gibson 2024-10-21 18:40:29 +1100
  • b4dace8f46 fwd: Direct inbound spliced forwards to the guest's external address David Gibson 2024-10-18 12:35:56 +1100
  • 58e6d68599 test: Clarify test for spliced inbound transfers David Gibson 2024-10-18 12:35:55 +1100
  • 1fa421192c passt.1: Clarify and update "Handling of local addresses" section David Gibson 2024-10-18 12:35:54 +1100
  • ef8a5161d0 passt.1: Mark --stderr as deprecated more prominently David Gibson 2024-10-18 12:35:53 +1100
  • 53176ca91d test: Wait for DAD on DHCPv6 addresses David Gibson 2024-10-18 12:35:52 +1100
  • 75b9c0feb0 test: Explicitly wait for DAD to complete on SLAAC addresses David Gibson 2024-10-18 12:35:51 +1100
  • f9d677bff6 arp: Fix a handful of small warts David Gibson 2024-10-18 12:35:50 +1100
  • 2d7f734c45 tcp: Send "empty" handshake ACK before first data segment Stefano Brivio 2024-10-15 00:17:24 +0200
  • 7612cb80fe test: Pass TRACE from run_term() into ./run from_term Stefano Brivio 2024-10-04 18:50:43 +0200
  • b40880c157 test/lib/term: Always use printf for messages with escape sequences Stefano Brivio 2024-10-08 22:40:58 +0200
  • ff63ac922a conf: Add --dns-host option to configure host side nameserver David Gibson 2024-10-03 15:14:02 +1000
  • 9d66df9a9a conf: Add command line switch to enable IP_FREEBIND socket option David Gibson 2024-10-03 14:48:32 +1000
  • 151dbe0d3d udp: Update UDP checksum using an iovec array Laurent Vivier 2024-10-03 16:51:08 +0200
  • 3d484aa370 tcp: Update TCP checksum using an iovec array Laurent Vivier 2024-10-03 16:51:07 +0200
  • e6548c6437 checksum: Add an offset argument in csum_iov() Laurent Vivier 2024-10-03 16:51:06 +0200
  • fd8334b25d pcap: Add an offset argument in pcap_iov() Laurent Vivier 2024-10-03 16:51:05 +0200
  • 72e7d3024b tcp: Use tcp_payload_t rather than tcphdr Laurent Vivier 2024-10-03 16:51:04 +0200
  • def8acdcd8 test: Kernel binary can now be passed via the KERNEL environmental variable Stefano Brivio 2024-09-27 18:43:16 +0200
  • b55013b1a7 inany: Add inany_pton() helper David Gibson 2024-09-20 14:12:44 +1000
  • cbde4192ee tcp, udp: Make {tcp,udp}_sock_init() take an inany address David Gibson 2024-09-20 14:12:43 +1000
  • b8d4fac6a2 util, pif: Replace sock_l4() with pif_sock_l4() David Gibson 2024-09-20 14:12:42 +1000
  • 204e77cd11 udp: Don't attempt to get dual-stack sockets in nonsensical cases David Gibson 2024-09-20 14:12:41 +1000
  • 8f8c4d27eb tcp: Allow checksum to be disabled Laurent Vivier 2024-09-18 15:13:28 +0200
  • 4fe5f4e813 udp: Allow checksum to be disabled Laurent Vivier 2024-09-18 15:13:27 +0200
  • d836d9e345 util: Remove possible quadratic behaviour from write_remainder() David Gibson 2024-09-18 20:44:06 +1000
  • bfc294b90d util: Add helper to write() all of a buffer David Gibson 2024-09-18 20:44:05 +1000
  • bb41901c71 tcp: Make tcp_update_seqack_wnd()s force_seq parameter explicitly boolean David Gibson 2024-09-18 11:53:07 +1000
  • 265b2099c7 tcp: Simplify ifdef logic in tcp_update_seqack_wnd() David Gibson 2024-09-18 11:53:06 +1000
  • 4aff6f9392 tcp: Clean up tcpi_snd_wnd probing David Gibson 2024-09-18 11:53:05 +1000
  • 7d8804beb8 tcp: Make some extra functions private David Gibson 2024-09-18 11:53:04 +1000
  • 5ff5d55291 tcp: Avoid overlapping memcpy() in DUP_ACK handling David Gibson 2024-09-12 16:59:40 +1000
  • 1f414ed8f0 tcp: Remove redundant initialisation of iov[TCP_IOV_ETH].iov_base David Gibson 2024-09-12 16:59:39 +1000
  • 6b38f07239 apparmor: Allow read access to /proc/sys/net/ipv4/ip_local_port_range 2024_09_06.6b38f07 Stefano Brivio 2024-09-06 15:24:26 +0200
  • 116bc8266d selinux: Allow read access to /proc/sys/net/ipv4/ip_local_port_range Stefano Brivio 2024-09-06 15:19:20 +0200
  • a33ecafbd9 tap: Don't risk truncating frames on full buffer in tap_pasta_input() David Gibson 2024-09-06 21:49:39 +1000
  • d2a1dc744b tap: Restructure in tap_pasta_input() David Gibson 2024-09-06 21:49:38 +1000
  • 11e29054fe tap: Improve handling of EINTR in tap_passt_input() David Gibson 2024-09-06 21:49:37 +1000
  • 49fc4e0414 tap: Split out handling of EPOLLIN events David Gibson 2024-09-06 21:49:36 +1000
  • 63513e54f3 util: Fix order of operands and carry of one second in timespec_diff_us() Stefano Brivio 2024-09-06 12:43:45 +0200
  • 748ef4cd6e cppcheck: Work around some cppcheck 2.15.0 redundantInitialization warnings David Gibson 2024-09-05 21:22:04 +1000
  • afedc2412e tcp: Use EPOLLET for any state of not established connections Stefano Brivio 2024-09-06 10:33:55 +0200
  • aff5a49b0e udp: Handle more error conditions in udp_sock_errs() David Gibson 2024-09-06 15:17:10 +1000
  • bd99f02a64 udp: Treat errors getting errors as unrecoverable David Gibson 2024-09-06 15:17:09 +1000
  • bd092ca421 udp: Split socket error handling out from udp_sock_recv() David Gibson 2024-09-06 15:17:08 +1000
  • 88bfa3801e flow: Helpers to log details of a flow David Gibson 2024-09-06 15:17:07 +1000
  • 1166401c2f udp: Allow UDP flows to be prematurely closed David Gibson 2024-09-06 15:17:06 +1000
  • 7ad9f9bd2b flow: Fix incorrect hash probe in flowside_lookup() David Gibson 2024-09-06 15:17:05 +1000