Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Revertron/Yggdrasil-ng
/ functions
Functions
719 in github.com/Revertron/Yggdrasil-ng
⨍
Functions
719
◇
Types & classes
121
↓ 1 callers
Function
merge_missing
Walk `from` in declaration order; for each key absent from `into`, splice in a clone of the template entry (with its leading comment decor). For keys
crates/yggdrasil/src/config.rs:305
↓ 1 callers
Function
monitor_and_announce_loop
( cancel: CancellationToken, core: Arc<Core>, interfaces: Arc<Mutex<HashMap<String, InterfaceState
crates/yggdrasil/src/multicast.rs:407
↓ 1 callers
Method
needs_traffic_cache
Returns true if the path-notify cache slot for `dest` is empty. Used to avoid cloning a full packet on every send when the cache is already populated
crates/ironwood/src/pathfinder.rs:299
↓ 1 callers
Method
node_info_json
Get node info as JSON string (for protocol responses). Automatically adds build info if node_info_privacy is false.
crates/yggdrasil/src/config.rs:367
↓ 1 callers
Function
parse_duration_string
Parse a duration string that accepts either plain seconds ("300") or Go-style duration components ("5m", "1h30m", "2h30m15s").
crates/yggdrasil/src/links.rs:1156
↓ 1 callers
Function
peer_reader
The peer reader task. Reads frames from the connection and dispatches messages to the router via the shared mutex. Returns Ok(()) for clean shutdown,
crates/ironwood/src/peers.rs:350
↓ 1 callers
Method
peer_tls_cert
Extract the first peer certificate from a TLS connection. Returns `None` for plain TCP or if no peer certificate is available.
crates/yggdrasil/src/links.rs:41
↓ 1 callers
Function
peer_writer
The peer writer task. Receives protocol frames and writes them to the connection. Application traffic is drained from `traffic_queue` only when no pr
crates/ironwood/src/peers.rs:719
↓ 1 callers
Function
print_ctl_commands
()
crates/yggdrasil/src/main.rs:482
↓ 1 callers
Method
query_count_lookup_targets
(&self, dest: PublicKey)
crates/ironwood/src/core.rs:237
↓ 1 callers
Method
query_debug_snapshot
(&self, delivery_queue_bytes: u64)
crates/ironwood/src/core.rs:205
↓ 1 callers
Method
query_force_lookup
(&self, dest: PublicKey)
crates/ironwood/src/core.rs:246
↓ 1 callers
Method
query_paths
(&self)
crates/ironwood/src/core.rs:187
↓ 1 callers
Method
query_peers
(&self)
crates/ironwood/src/core.rs:175
↓ 1 callers
Method
query_routing_entries
(&self)
crates/ironwood/src/core.rs:193
↓ 1 callers
Method
query_routing_peer_keys
(&self)
crates/ironwood/src/core.rs:228
↓ 1 callers
Method
query_tree
(&self)
crates/ironwood/src/core.rs:181
↓ 1 callers
Method
query_tree_coordinates
(&self)
crates/ironwood/src/core.rs:199
↓ 1 callers
Method
queue_size
Get the current number of bytes queued (snapshot).
crates/ironwood/src/traffic.rs:567
↓ 1 callers
Method
read_from
Read a traffic packet from ironwood, stripping the session type byte.
crates/yggdrasil/src/core.rs:160
↓ 1 callers
Function
read_uvarint
Read a uvarint from an async reader.
crates/ironwood/src/peers.rs:320
↓ 1 callers
Function
receiver_loop
( cancel: CancellationToken, core: Arc<Core>, interfaces: Arc<Mutex<HashMap<String, InterfaceState
crates/yggdrasil/src/multicast.rs:559
↓ 1 callers
Method
recv_finalize
Phase 3 of split recv: update nonce, maybe ratchet, update stats.
crates/ironwood/src/encrypted/session.rs:418
↓ 1 callers
Method
recv_snapshot
Phase 1 of split recv: parse header, determine case, snapshot shared key. Takes &self — no mutation, just reads state.
crates/ironwood/src/encrypted/session.rs:359
↓ 1 callers
Method
register
(&self, uri: String, inbound: bool, key: [u8; 32], priority: u8)
crates/yggdrasil/src/links.rs:412
↓ 1 callers
Method
remove_flow_if_empty
Delete a flow once it has no backlog left (removing it from the ring).
crates/ironwood/src/traffic.rs:266
↓ 1 callers
Method
remove_info
Remove bloom info for a disconnected peer.
crates/ironwood/src/bloom.rs:172
↓ 1 callers
Method
remove_peer
Remove a peer by URI.
crates/yggdrasil/src/core.rs:325
↓ 1 callers
Function
remove_routes
(_config: &TunnelRoutingConfig, _tun_name: &str, _self_key: &[u8; 32])
crates/yggdrasil/src/ckr.rs:360
↓ 1 callers
Method
reset_timeout
Reset the timeout for a destination (called when we receive traffic from them).
crates/ironwood/src/pathfinder.rs:276
↓ 1 callers
Method
rest
Read the remaining bytes.
crates/ironwood/src/wire.rs:158
↓ 1 callers
Function
rotl13
(x: __m256i)
crates/salsa20-simd/src/avx2.rs:119
↓ 1 callers
Function
rotl13
(x: __m128i)
crates/salsa20-simd/src/sse2.rs:106
↓ 1 callers
Function
rotl13
(x: uint32x4_t)
crates/salsa20-simd/src/neon.rs:101
↓ 1 callers
Function
rotl18
(x: __m256i)
crates/salsa20-simd/src/avx2.rs:124
↓ 1 callers
Function
rotl18
(x: __m128i)
crates/salsa20-simd/src/sse2.rs:111
↓ 1 callers
Function
rotl18
(x: uint32x4_t)
crates/salsa20-simd/src/neon.rs:106
↓ 1 callers
Function
rotl7
(x: __m256i)
crates/salsa20-simd/src/avx2.rs:109
↓ 1 callers
Function
rotl7
(x: __m128i)
crates/salsa20-simd/src/sse2.rs:96
↓ 1 callers
Function
rotl7
(x: uint32x4_t)
crates/salsa20-simd/src/neon.rs:91
↓ 1 callers
Function
rotl9
(x: __m256i)
crates/salsa20-simd/src/avx2.rs:114
↓ 1 callers
Function
rotl9
(x: __m128i)
crates/salsa20-simd/src/sse2.rs:101
↓ 1 callers
Function
rotl9
(x: uint32x4_t)
crates/salsa20-simd/src/neon.rs:96
↓ 1 callers
Function
router_actor
The router actor: owns the Router exclusively, processes messages from the channel, runs periodic maintenance, and dispatches resulting actions. Repla
crates/ironwood/src/core.rs:263
↓ 1 callers
Function
run_as_service
()
crates/yggdrasil/src/service.rs:17
↓ 1 callers
Function
run_ctl
Run a control command against the admin socket.
crates/yggdrasil/src/ctl.rs:5
↓ 1 callers
Function
run_service
()
crates/yggdrasil/src/service.rs:28
↓ 1 callers
Function
scope_id_to_name
(scope_id: u32)
crates/yggdrasil/src/links.rs:113
↓ 1 callers
Method
send_announces
(&mut self)
crates/ironwood/src/router.rs:857
↓ 1 callers
Method
send_get_peers_request
Send GetPeers request to remote node.
crates/yggdrasil/src/proto.rs:251
↓ 1 callers
Method
send_get_self_request
Send GetSelf request to remote node.
crates/yggdrasil/src/proto.rs:226
↓ 1 callers
Method
send_get_tree_request
Send GetTree request to remote node.
crates/yggdrasil/src/proto.rs:282
↓ 1 callers
Method
send_nodeinfo_request
Send NodeInfo request to remote node.
crates/yggdrasil/src/proto.rs:313
↓ 1 callers
Method
send_to_peer
Send a message to a specific peer.
crates/ironwood/src/peers.rs:173
↓ 1 callers
Function
send_traffic_to_peers_batch
Send a batch of traffic packets to their respective peers. Locks the peers mutex once to collect all queue/notify handles, then drops the lock before
crates/ironwood/src/peers.rs:214
↓ 1 callers
Method
send_wait
Blocking send: wait until the message is enqueued. Used for AddPeer where we must ensure registration completes before spawning the peer reader.
crates/ironwood/src/core.rs:169
↓ 1 callers
Function
session_cleanup_loop
Background reader loop: reads from inner PacketConn, decrypts via sessions, delivers. Background task that periodically cleans up expired sessions and
crates/ironwood/src/encrypted/mod.rs:190
↓ 1 callers
Method
set_bit
(&mut self, bit: usize)
crates/ironwood/src/bloom.rs:87
↓ 1 callers
Method
set_block_pos
(&mut self, pos: u64)
crates/salsa20-simd/src/lib.rs:339
↓ 1 callers
Method
set_core
Set the core reference. Must be called before listen/add_peer.
crates/yggdrasil/src/links.rs:583
↓ 1 callers
Function
set_interface_dns
(servers: &[String])
crates/yggdrasil/src/tun.rs:342
↓ 1 callers
Function
set_interface_registration
(guid: windows::core::GUID, enabled: bool)
crates/yggdrasil/src/tun.rs:375
↓ 1 callers
Method
set_multicast
Set the multicast module reference (called after construction).
crates/yggdrasil/src/core.rs:435
↓ 1 callers
Method
set_path_notify
Wire up the path_notify callback to deliver to the given ReadWriteCloser. Must be called after both Core and RWC are created.
crates/yggdrasil/src/core.rs:154
↓ 1 callers
Method
should_throttle_rumor
Check if a rumor lookup should be throttled. Returns false if never sent (new rumor always eligible for first send).
crates/ironwood/src/pathfinder.rs:134
↓ 1 callers
Function
signed_reader_loop
Background reader loop: reads from inner PacketConn, verifies signatures, delivers.
crates/ironwood/src/signed.rs:114
↓ 1 callers
Method
size
(&self)
crates/ironwood/src/wire.rs:420
↓ 1 callers
Method
size
Get the total queued bytes.
crates/ironwood/src/traffic.rs:524
↓ 1 callers
Method
spawn_gc
Spawn a periodic background task that evicts stale conntrack entries. The task exits automatically once all strong references to `self` are dropped.
crates/yggdrasil/src/firewall.rs:137
↓ 1 callers
Method
start
Start listeners and connect to configured peers.
crates/yggdrasil/src/core.rs:296
↓ 1 callers
Method
start_multicast
Start multicast peer discovery using the current config. If external interfaces have been provided via `update_network_interfaces()`, they will be us
crates/yggdrasil/src/core.rs:444
↓ 1 callers
Function
start_tls_listener
( core: &Arc<Core>, bind_addr: Ipv6Addr, port: u16, scope_id: u32, priority: u8, passw
crates/yggdrasil/src/multicast.rs:711
↓ 1 callers
Method
subscribe
Subscribe to peer connect/disconnect events.
crates/yggdrasil/src/links.rs:493
↓ 1 callers
Function
subtract_one
Subtract `b` from `a`, requiring `a.contains(&b)` and `a != b`. Produces `log2(|a|/|b|)` disjoint covering prefixes.
crates/yggdrasil/src/ckr.rs:237
↓ 1 callers
Method
timeout
(&self, proto: u8)
crates/yggdrasil/src/firewall.rs:69
↓ 1 callers
Method
tls_renewal_task
Background task to renew TLS certificate before expiry. Checks every 12 hours and renews if certificate expires within 10 days.
crates/yggdrasil/src/core.rs:508
↓ 1 callers
Method
to_entry
(&self)
crates/ironwood/src/peers.rs:52
↓ 1 callers
Function
toml_to_json
Convert TOML value to JSON value.
crates/yggdrasil/src/config.rs:398
↓ 1 callers
Method
tree_coordinates
Get our current tree coordinates (path from root).
crates/yggdrasil/src/core.rs:396
↓ 1 callers
Method
try_pop_or_wait
Called by read_from() before waiting on channel. Returns Some(packet) if one is already queued, or None if the reader should wait (recv_ready incremen
crates/ironwood/src/traffic.rs:573
↓ 1 callers
Function
tun_read_loop
Read packets from the TUN device and send them to the network via RWC.
crates/yggdrasil/src/tun.rs:220
↓ 1 callers
Function
tun_write_loop
Read packets from the network (RWC) and write them straight into the TUN device.
crates/yggdrasil/src/tun.rs:239
↓ 1 callers
Method
unregister
(&self, id: u64)
crates/yggdrasil/src/links.rs:443
↓ 1 callers
Method
unregister_by_uri
Remove all active connections whose URI matches `uri`. Called by `remove_peer` to clean up entries that the aborted reconnect task can no longer clean
crates/yggdrasil/src/links.rs:460
↓ 1 callers
Method
update_ancestries
(&mut self)
crates/ironwood/src/router.rs:347
↓ 1 callers
Method
update_rates
Update rate counters for all connections (call every ~1 second).
crates/yggdrasil/src/links.rs:480
↓ 1 callers
Method
use_response
Use a signature response to set a new parent.
crates/ironwood/src/router.rs:693
↓ 1 callers
Method
verify
Verify a signature from the given public key.
crates/ironwood/src/crypto.rs:34
↓ 1 callers
Method
with_bloom_transform
( mut self, f: impl Fn(PublicKey) -> PublicKey + Send + Sync + 'static, )
crates/ironwood/src/config.rs:75
↓ 1 callers
Method
with_group_password
Set a closed-network group password. All nodes that should be able to open sessions with each other must use the same password. An empty password leav
crates/ironwood/src/config.rs:104
↓ 1 callers
Method
with_path_notify
( mut self, f: impl Fn(PublicKey) + Send + Sync + 'static, )
crates/ironwood/src/config.rs:83
↓ 1 callers
Method
with_peer_max_message_size
(mut self, size: u64)
crates/ironwood/src/config.rs:70
↓ 1 callers
Method
write_to
(&self, buf: &[u8], addr: &Addr)
crates/ironwood/src/core.rs:622
↓ 1 callers
Method
write_to
(&self, buf: &[u8], addr: &Addr)
crates/ironwood/src/encrypted/mod.rs:277
Function
accept_notify_new_path
()
crates/ironwood/src/pathfinder.rs:390
Function
ack_encrypt_decrypt
()
crates/ironwood/src/encrypted/session.rs:1072
Function
active_backend_is_known
()
crates/salsa20-simd/src/lib.rs:164
Method
add_peer
Add a persistent peer to connect to.
crates/yggdrasil/src/links.rs:729
Function
announce_check_valid
()
crates/ironwood/src/router.rs:1556
Function
announce_roundtrip
()
crates/ironwood/src/wire.rs:668
← previous
next →
301–400 of 719, ranked by callers