We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a04436 commit 593f2e0Copy full SHA for 593f2e0
fortanix-vme/fortanix-vme-abi/src/lib.rs
@@ -81,6 +81,8 @@ pub enum Response {
81
fd: i32,
82
},
83
IncomingConnection {
84
+ /// The local address (as used by the runner)
85
+ local: Addr,
86
/// The address of the remote party
87
peer: Addr,
88
/// The vsock port number the runner will connect to the enclave in order to forward the
fortanix-vme/fortanix-vme-runner/src/lib.rs
@@ -270,6 +270,7 @@ impl Server {
270
Ok((mut conn, peer)) => {
271
let vsock = Vsock::new::<Std>()?;
272
let response = Response::IncomingConnection{
273
+ local: conn.local_addr()?.into(),
274
peer: peer.into(),
275
proxy_port: vsock.addr::<Std>()?.port(),
276
};
0 commit comments