aboutgitcodebugslistschat
path: root/passt.h
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-10-07 04:01:56 +0200
committerStefano Brivio <sbrivio@redhat.com>2022-10-15 02:10:36 +0200
commita62ed181db9ba7d85d057365d5331dd35026247f (patch)
tree960239e3c58df5d81b7f95f8489fbe0829380007 /passt.h
parent9de65dd3f43a0ee976cc01250641834d99bbfa74 (diff)
downloadpasst-a62ed181db9ba7d85d057365d5331dd35026247f.tar
passt-a62ed181db9ba7d85d057365d5331dd35026247f.tar.gz
passt-a62ed181db9ba7d85d057365d5331dd35026247f.tar.bz2
passt-a62ed181db9ba7d85d057365d5331dd35026247f.tar.lz
passt-a62ed181db9ba7d85d057365d5331dd35026247f.tar.xz
passt-a62ed181db9ba7d85d057365d5331dd35026247f.tar.zst
passt-a62ed181db9ba7d85d057365d5331dd35026247f.zip
conf, tap: Add option to quit once the client closes the connection
This is practical to avoid explicit lifecycle management in users, e.g. libvirtd, and is trivial to implement. Signed-off-by: Stefano Brivio <sbrivio@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'passt.h')
-rw-r--r--passt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/passt.h b/passt.h
index de79e7b..67281db 100644
--- a/passt.h
+++ b/passt.h
@@ -196,6 +196,7 @@ struct ctx {
char sock_path[UNIX_PATH_MAX];
char pcap[PATH_MAX];
char pid_file[PATH_MAX];
+ int one_off;
int pasta_netns_fd;