           SPELL=passt
         VERSION=2026_01_17.81c97f6
          SOURCE="${SPELL}-${VERSION}.tar.gz"
   SOURCE_URL[0]=https://passt.top/passt/snapshot/${SOURCE}
     SOURCE_HASH=sha512:72d0ef7cbc992554d44bb8a41f9071b03047de769a0830e2dc1a637a4cec6ff96cc05248aeb8b20dcd6dbf648a2e00c07b383805335adcc6252a4b1c755c3de9
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SOURCE%.tar.gz}"
        WEB_SITE="https://passt.top/"
      LICENSE[0]="BSD-3-Clause AND GPL-2.0-or-later"
         ENTERED=20260115
        KEYWORDS=""
           SHORT="Plug A Simple Socket Transport"
cat << EOF
passt implements a translation layer between a Layer-2 network interface and
native Layer-4 sockets (TCP, UDP, ICMP/ICMPv6 echo) on a host. It doesn't
require any capabilities or privileges, and it can be used as a simple
replacement for Slirp.

pasta (same binary as passt, different command) offers equivalent
functionality, for network namespaces: traffic is forwarded using a tap
interface inside the namespace, without the need to create further interfaces
on the host, hence not requiring any capabilities or privileges.

It also implements a tap bypass path for local connections: packets with
a local destination address are moved directly between Layer-4 sockets,
avoiding Layer-2 translations, using the splice(2) and recvmmsg(2)/sendmmsg(2)
system calls for TCP and UDP, respectively.
EOF
