HomeFreeBSD

tests/sendfile_helper: support remote connection

Description

tests/sendfile_helper: support remote connection

In order to use the sendfile_helper program in a pf test script that
requires non-loopback interfaces, add functionality to sendfile with a
TCP socket that is connected to a remote host.
The behavior for unix sockets and TCP loopback sockets is unchanged.

Reviewed by: glebius
Differential Revision: https://reviews.freebsd.org/D58041

Details

Provenance
takahiro.kurosawa_gmail.comAuthored on Jul 7 2026, 7:11 PM
kpCommitted on Jul 8 2026, 7:23 AM
Reviewer
glebius
Differential Revision
D58041: tests/sendfile_helper: support remote connection
Parents
rG6a5ba658dd48: tests/sendfile: move the helper program to common
Branches
Unknown
Tags
Unknown