mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-22 22:33:58 -07:00
cleanup
This commit is contained in:
parent
f3433a9840
commit
9430d336f9
1 changed files with 4 additions and 3 deletions
|
@ -211,17 +211,17 @@ impl<Inner: InnerProtocolLayer + ?Sized + 'static> ApplicationLayer for VL1Servi
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[inline(always)]
|
#[inline]
|
||||||
fn local_socket_is_valid(&self, socket: &Self::LocalSocket) -> bool {
|
fn local_socket_is_valid(&self, socket: &Self::LocalSocket) -> bool {
|
||||||
socket.is_valid()
|
socket.is_valid()
|
||||||
}
|
}
|
||||||
|
|
||||||
#[inline(always)]
|
#[inline]
|
||||||
fn load_node_identity(&self) -> Option<Verified<Identity>> {
|
fn load_node_identity(&self) -> Option<Verified<Identity>> {
|
||||||
self.vl1_data_storage.load_node_identity()
|
self.vl1_data_storage.load_node_identity()
|
||||||
}
|
}
|
||||||
|
|
||||||
#[inline(always)]
|
#[inline]
|
||||||
fn save_node_identity(&self, id: &Verified<Identity>) -> bool {
|
fn save_node_identity(&self, id: &Verified<Identity>) -> bool {
|
||||||
self.vl1_data_storage.save_node_identity(id)
|
self.vl1_data_storage.save_node_identity(id)
|
||||||
}
|
}
|
||||||
|
@ -231,6 +231,7 @@ impl<Inner: InnerProtocolLayer + ?Sized + 'static> ApplicationLayer for VL1Servi
|
||||||
self.buffer_pool.get()
|
self.buffer_pool.get()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[inline]
|
||||||
fn wire_send(
|
fn wire_send(
|
||||||
&self,
|
&self,
|
||||||
endpoint: &Endpoint,
|
endpoint: &Endpoint,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue