Page MenuHomeFreeBSD

tests/sendfile_helper: support remote connection
ClosedPublic

Authored by takahiro.kurosawa_gmail.com on Jul 5 2026, 4:29 AM.
Tags
None
Referenced Files
F168817600: D58041.id181521.diff
Sun, Aug 30, 7:25 AM
Unknown Object (File)
Thu, Aug 27, 8:32 AM
Unknown Object (File)
Thu, Aug 13, 11:52 AM
Unknown Object (File)
Thu, Aug 13, 3:08 AM
Unknown Object (File)
Wed, Aug 12, 4:34 AM
Unknown Object (File)
Mon, Aug 10, 2:27 PM
Unknown Object (File)
Mon, Aug 10, 10:24 AM
Unknown Object (File)
Mon, Aug 10, 10:23 AM
Subscribers

Details

Summary

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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable