diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2022-10-10 19:00:33 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-10-15 02:10:36 +0200 |
commit | eab9d8d5d60be45d88de0c15d975f1ce93fc4400 (patch) | |
tree | 3e090e9e76b15bf7139365e278cebb1bac1e0ce7 /tcp.h | |
parent | 346da48fe6fbf7a6433173790609801a4958bd9e (diff) | |
download | passt-eab9d8d5d60be45d88de0c15d975f1ce93fc4400.tar passt-eab9d8d5d60be45d88de0c15d975f1ce93fc4400.tar.gz passt-eab9d8d5d60be45d88de0c15d975f1ce93fc4400.tar.bz2 passt-eab9d8d5d60be45d88de0c15d975f1ce93fc4400.tar.lz passt-eab9d8d5d60be45d88de0c15d975f1ce93fc4400.tar.xz passt-eab9d8d5d60be45d88de0c15d975f1ce93fc4400.tar.zst passt-eab9d8d5d60be45d88de0c15d975f1ce93fc4400.zip |
tcp, tcp_splice: Adjust comments to current meaning of inbound and outbound
For tcp_sock_init_ns(), "inbound" connections used to be the ones
being established toward any listening socket we create, as opposed
to sockets we connect().
Similarly, tcp_splice_new() used to handle "inbound" connections in
the sense that they originated from listening sockets, and they would
in turn cause a connect() on an "outbound" socket.
Since commit 1128fa03fe73 ("Improve types and names for port
forwarding configuration"), though, inbound connections are more
broadly defined as the ones directed to guest or namepsace, and
outbound the ones originating from there.
Update comments for those two functions.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'tcp.h')
0 files changed, 0 insertions, 0 deletions