aboutgitcodebugslistschat
path: root/tap.c
Commit message (Expand)AuthorAgeFilesLines
* tap: Move all-ones initialisation of mac_guest to tap_sock_init()Stefano Brivio2024-05-231-6/+6
* iov: Helper macro to construct iovs covering existing variables or fieldsDavid Gibson2024-05-021-2/+1
* treewide: Standardise variable names for various packet lengthsDavid Gibson2024-05-021-68/+69
* checksum: Make csum_ip4_header() take a host endian lengthDavid Gibson2024-05-021-2/+4
* treewide: Remove misleading and redundant endianness notesDavid Gibson2024-05-021-3/+3
* tap: Implement tap_send() "slow path" in terms of fast pathDavid Gibson2024-03-141-21/+17
* tap: Simplify some casts in the tap "slow path" functionsDavid Gibson2024-03-141-23/+18
* tap: Extend tap_send_frames() to allow multi-buffer framesDavid Gibson2024-03-141-31/+52
* tap: Capture only packets that are actually sentLaurent Vivier2024-03-131-1/+1
* tap: make tap_update_mac() genericLaurent Vivier2024-03-061-5/+5
* checksum: use csum_ip4_header() in udp.c and tcp.cLaurent Vivier2024-03-061-1/+1
* util: move IP stuff from util.[ch] to ip.[ch]Laurent Vivier2024-03-061-0/+1
* tap: Disallow loopback addresses on tap interfaceDavid Gibson2024-02-291-0/+19
* tap: Use write_remainder() in tap_send_frames_passt()David Gibson2024-02-291-25/+4
* pcap: Handle short writes in pcap_frame()David Gibson2024-02-291-1/+1
* iov: Add helper to find skip over first n bytes of an io vectorDavid Gibson2024-02-291-7/+5
* treewide: Make a bunch of pointer variables pointers to constDavid Gibson2024-01-161-6/+6
* treewide: Use 'z' length modifier for size_t/ssize_t conversionsStefano Brivio2023-12-021-6/+6
* tap, pasta: Handle short writes to /dev/tap2023_11_10.5ec3634David Gibson2023-11-101-1/+7
* tap, pasta: Handle incomplete tap sends for pasta tooDavid Gibson2023-11-101-3/+1
* pif: Pass originating pif to tap handler functionsDavid Gibson2023-11-071-10/+16
* tcp, tap: Don't increase tap-side sequence counter for dropped framesStefano Brivio2023-10-041-3/+7
* cppcheck: Make many pointers constDavid Gibson2023-10-041-7/+7
* udp, tap: Correctly advance through packets in udp_tap_handler()David Gibson2023-09-081-12/+8
* tcp, tap: Correctly advance through packets in tcp_tap_handler()David Gibson2023-09-081-8/+17
* tap: fix uses of l3_len in tap4_handler()Stas Sergeev2023-09-071-2/+2
* tcp, udp: Don't pre-fill IPv4 destination address in headersDavid Gibson2023-08-221-5/+3
* tap: Pass source address to protocol handler functionsDavid Gibson2023-08-221-8/+11
* tap: Don't clobber source address in tap6_handler()David Gibson2023-08-221-2/+0
* tap: Fix format specifier in tap4_is_fragment() warningStefano Brivio2023-08-161-1/+2
* epoll: Use different epoll types for passt and pasta tap fdsDavid Gibson2023-08-131-24/+15
* epoll: Split listening Unix domain socket into its own typeDavid Gibson2023-08-131-11/+4
* epoll: Always use epoll_ref for the epoll data variableDavid Gibson2023-08-131-4/+12
* tap: Fold reset handling into tap_handler_passt()David Gibson2023-08-131-36/+32
* tap: Fold reset handling into tap_handler_pasta()David Gibson2023-08-131-15/+15
* tap: Clean up behaviour for errors on listening Unix socketDavid Gibson2023-08-131-4/+8
* tap: Clean up tap reset pathDavid Gibson2023-08-131-23/+29
* tap: fix seq->p.count limitLaurent Vivier2023-08-131-6/+6
* tap: Remove unnecessary global tun_ns_fdDavid Gibson2023-08-041-7/+3
* tap: More detailed error reporting in tap_ns_tun()David Gibson2023-08-041-9/+16
* util: Make ns_enter() a void function and report setns() errorsDavid Gibson2023-08-041-2/+2
* tap: Explicitly drop IPv4 fragments, and give a warningDavid Gibson2023-07-071-0/+31
* tap: With pasta, don't reset on tap errors, handle write failuresStefano Brivio2023-06-231-5/+19
* tap: Don't update ip6.addr_seen to ::David Gibson2023-05-171-1/+1
* passt: Relicense to GPL 2.0, or any later versionStefano Brivio2023-04-061-1/+1
* Work around weird false positives with cppcheck-2.9.1David Gibson2023-03-211-1/+1
* treewide: Fix header includes to build with muslChris Kuhn2023-03-091-0/+1
* log, conf, tap: Define die() as err() plus exit(), drop cppcheck workaroundsStefano Brivio2023-02-271-5/+1
* conf, tap: Silence two false positive invalidFunctionArg from cppcheckStefano Brivio2023-02-161-1/+5
* tap: Eliminate goto from tap_handler()David Gibson2023-02-161-12/+7