mirror of
https://passt.top/passt
synced 2024-12-22 05:35:23 +00:00
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.
a418946837
Implement siphash routines for initial TCP sequence numbers (12 bytes input for IPv4, 36 bytes input for IPv6), and while at it, also functions we'll use later on for hash table indices and TCP timestamp offsets (with 8, 20, 32 bytes of input). Use these to set the initial sequence number, according to RFC 6528, for connections originating either from the tap device or from sockets. Signed-off-by: Stefano Brivio <sbrivio@redhat.com> |
||
---|---|---|
doc | ||
arp.c | ||
arp.h | ||
dhcp.c | ||
dhcp.h | ||
Makefile | ||
ndp.c | ||
ndp.h | ||
passt.c | ||
passt.h | ||
qrap.c | ||
siphash.c | ||
siphash.h | ||
tap.c | ||
tap.h | ||
tcp.c | ||
tcp.h | ||
udp.c | ||
udp.h | ||
util.c | ||
util.h |