MCPcopy Create free account

hub / github.com/Revertron/Yggdrasil-ng / functions

Functions719 in github.com/Revertron/Yggdrasil-ng

↓ 1 callersFunctionmerge_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 callersFunctionmonitor_and_announce_loop
( cancel: CancellationToken, core: Arc<Core>, interfaces: Arc<Mutex<HashMap<String, InterfaceState
crates/yggdrasil/src/multicast.rs:407
↓ 1 callersMethodneeds_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 callersMethodnode_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 callersFunctionparse_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 callersFunctionpeer_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 callersMethodpeer_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 callersFunctionpeer_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 callersFunctionprint_ctl_commands
()
crates/yggdrasil/src/main.rs:482
↓ 1 callersMethodquery_count_lookup_targets
(&self, dest: PublicKey)
crates/ironwood/src/core.rs:237
↓ 1 callersMethodquery_debug_snapshot
(&self, delivery_queue_bytes: u64)
crates/ironwood/src/core.rs:205
↓ 1 callersMethodquery_force_lookup
(&self, dest: PublicKey)
crates/ironwood/src/core.rs:246
↓ 1 callersMethodquery_paths
(&self)
crates/ironwood/src/core.rs:187
↓ 1 callersMethodquery_peers
(&self)
crates/ironwood/src/core.rs:175
↓ 1 callersMethodquery_routing_entries
(&self)
crates/ironwood/src/core.rs:193
↓ 1 callersMethodquery_routing_peer_keys
(&self)
crates/ironwood/src/core.rs:228
↓ 1 callersMethodquery_tree
(&self)
crates/ironwood/src/core.rs:181
↓ 1 callersMethodquery_tree_coordinates
(&self)
crates/ironwood/src/core.rs:199
↓ 1 callersMethodqueue_size
Get the current number of bytes queued (snapshot).
crates/ironwood/src/traffic.rs:567
↓ 1 callersMethodread_from
Read a traffic packet from ironwood, stripping the session type byte.
crates/yggdrasil/src/core.rs:160
↓ 1 callersFunctionread_uvarint
Read a uvarint from an async reader.
crates/ironwood/src/peers.rs:320
↓ 1 callersFunctionreceiver_loop
( cancel: CancellationToken, core: Arc<Core>, interfaces: Arc<Mutex<HashMap<String, InterfaceState
crates/yggdrasil/src/multicast.rs:559
↓ 1 callersMethodrecv_finalize
Phase 3 of split recv: update nonce, maybe ratchet, update stats.
crates/ironwood/src/encrypted/session.rs:418
↓ 1 callersMethodrecv_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 callersMethodregister
(&self, uri: String, inbound: bool, key: [u8; 32], priority: u8)
crates/yggdrasil/src/links.rs:412
↓ 1 callersMethodremove_flow_if_empty
Delete a flow once it has no backlog left (removing it from the ring).
crates/ironwood/src/traffic.rs:266
↓ 1 callersMethodremove_info
Remove bloom info for a disconnected peer.
crates/ironwood/src/bloom.rs:172
↓ 1 callersMethodremove_peer
Remove a peer by URI.
crates/yggdrasil/src/core.rs:325
↓ 1 callersFunctionremove_routes
(_config: &TunnelRoutingConfig, _tun_name: &str, _self_key: &[u8; 32])
crates/yggdrasil/src/ckr.rs:360
↓ 1 callersMethodreset_timeout
Reset the timeout for a destination (called when we receive traffic from them).
crates/ironwood/src/pathfinder.rs:276
↓ 1 callersMethodrest
Read the remaining bytes.
crates/ironwood/src/wire.rs:158
↓ 1 callersFunctionrotl13
(x: __m256i)
crates/salsa20-simd/src/avx2.rs:119
↓ 1 callersFunctionrotl13
(x: __m128i)
crates/salsa20-simd/src/sse2.rs:106
↓ 1 callersFunctionrotl13
(x: uint32x4_t)
crates/salsa20-simd/src/neon.rs:101
↓ 1 callersFunctionrotl18
(x: __m256i)
crates/salsa20-simd/src/avx2.rs:124
↓ 1 callersFunctionrotl18
(x: __m128i)
crates/salsa20-simd/src/sse2.rs:111
↓ 1 callersFunctionrotl18
(x: uint32x4_t)
crates/salsa20-simd/src/neon.rs:106
↓ 1 callersFunctionrotl7
(x: __m256i)
crates/salsa20-simd/src/avx2.rs:109
↓ 1 callersFunctionrotl7
(x: __m128i)
crates/salsa20-simd/src/sse2.rs:96
↓ 1 callersFunctionrotl7
(x: uint32x4_t)
crates/salsa20-simd/src/neon.rs:91
↓ 1 callersFunctionrotl9
(x: __m256i)
crates/salsa20-simd/src/avx2.rs:114
↓ 1 callersFunctionrotl9
(x: __m128i)
crates/salsa20-simd/src/sse2.rs:101
↓ 1 callersFunctionrotl9
(x: uint32x4_t)
crates/salsa20-simd/src/neon.rs:96
↓ 1 callersFunctionrouter_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 callersFunctionrun_as_service
()
crates/yggdrasil/src/service.rs:17
↓ 1 callersFunctionrun_ctl
Run a control command against the admin socket.
crates/yggdrasil/src/ctl.rs:5
↓ 1 callersFunctionrun_service
()
crates/yggdrasil/src/service.rs:28
↓ 1 callersFunctionscope_id_to_name
(scope_id: u32)
crates/yggdrasil/src/links.rs:113
↓ 1 callersMethodsend_announces
(&mut self)
crates/ironwood/src/router.rs:857
↓ 1 callersMethodsend_get_peers_request
Send GetPeers request to remote node.
crates/yggdrasil/src/proto.rs:251
↓ 1 callersMethodsend_get_self_request
Send GetSelf request to remote node.
crates/yggdrasil/src/proto.rs:226
↓ 1 callersMethodsend_get_tree_request
Send GetTree request to remote node.
crates/yggdrasil/src/proto.rs:282
↓ 1 callersMethodsend_nodeinfo_request
Send NodeInfo request to remote node.
crates/yggdrasil/src/proto.rs:313
↓ 1 callersMethodsend_to_peer
Send a message to a specific peer.
crates/ironwood/src/peers.rs:173
↓ 1 callersFunctionsend_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 callersMethodsend_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 callersFunctionsession_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 callersMethodset_bit
(&mut self, bit: usize)
crates/ironwood/src/bloom.rs:87
↓ 1 callersMethodset_block_pos
(&mut self, pos: u64)
crates/salsa20-simd/src/lib.rs:339
↓ 1 callersMethodset_core
Set the core reference. Must be called before listen/add_peer.
crates/yggdrasil/src/links.rs:583
↓ 1 callersFunctionset_interface_dns
(servers: &[String])
crates/yggdrasil/src/tun.rs:342
↓ 1 callersFunctionset_interface_registration
(guid: windows::core::GUID, enabled: bool)
crates/yggdrasil/src/tun.rs:375
↓ 1 callersMethodset_multicast
Set the multicast module reference (called after construction).
crates/yggdrasil/src/core.rs:435
↓ 1 callersMethodset_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 callersMethodshould_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 callersFunctionsigned_reader_loop
Background reader loop: reads from inner PacketConn, verifies signatures, delivers.
crates/ironwood/src/signed.rs:114
↓ 1 callersMethodsize
(&self)
crates/ironwood/src/wire.rs:420
↓ 1 callersMethodsize
Get the total queued bytes.
crates/ironwood/src/traffic.rs:524
↓ 1 callersMethodspawn_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 callersMethodstart
Start listeners and connect to configured peers.
crates/yggdrasil/src/core.rs:296
↓ 1 callersMethodstart_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 callersFunctionstart_tls_listener
( core: &Arc<Core>, bind_addr: Ipv6Addr, port: u16, scope_id: u32, priority: u8, passw
crates/yggdrasil/src/multicast.rs:711
↓ 1 callersMethodsubscribe
Subscribe to peer connect/disconnect events.
crates/yggdrasil/src/links.rs:493
↓ 1 callersFunctionsubtract_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 callersMethodtimeout
(&self, proto: u8)
crates/yggdrasil/src/firewall.rs:69
↓ 1 callersMethodtls_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 callersMethodto_entry
(&self)
crates/ironwood/src/peers.rs:52
↓ 1 callersFunctiontoml_to_json
Convert TOML value to JSON value.
crates/yggdrasil/src/config.rs:398
↓ 1 callersMethodtree_coordinates
Get our current tree coordinates (path from root).
crates/yggdrasil/src/core.rs:396
↓ 1 callersMethodtry_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 callersFunctiontun_read_loop
Read packets from the TUN device and send them to the network via RWC.
crates/yggdrasil/src/tun.rs:220
↓ 1 callersFunctiontun_write_loop
Read packets from the network (RWC) and write them straight into the TUN device.
crates/yggdrasil/src/tun.rs:239
↓ 1 callersMethodunregister
(&self, id: u64)
crates/yggdrasil/src/links.rs:443
↓ 1 callersMethodunregister_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 callersMethodupdate_ancestries
(&mut self)
crates/ironwood/src/router.rs:347
↓ 1 callersMethodupdate_rates
Update rate counters for all connections (call every ~1 second).
crates/yggdrasil/src/links.rs:480
↓ 1 callersMethoduse_response
Use a signature response to set a new parent.
crates/ironwood/src/router.rs:693
↓ 1 callersMethodverify
Verify a signature from the given public key.
crates/ironwood/src/crypto.rs:34
↓ 1 callersMethodwith_bloom_transform
( mut self, f: impl Fn(PublicKey) -> PublicKey + Send + Sync + 'static, )
crates/ironwood/src/config.rs:75
↓ 1 callersMethodwith_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 callersMethodwith_path_notify
( mut self, f: impl Fn(PublicKey) + Send + Sync + 'static, )
crates/ironwood/src/config.rs:83
↓ 1 callersMethodwith_peer_max_message_size
(mut self, size: u64)
crates/ironwood/src/config.rs:70
↓ 1 callersMethodwrite_to
(&self, buf: &[u8], addr: &Addr)
crates/ironwood/src/core.rs:622
↓ 1 callersMethodwrite_to
(&self, buf: &[u8], addr: &Addr)
crates/ironwood/src/encrypted/mod.rs:277
Functionaccept_notify_new_path
()
crates/ironwood/src/pathfinder.rs:390
Functionack_encrypt_decrypt
()
crates/ironwood/src/encrypted/session.rs:1072
Functionactive_backend_is_known
()
crates/salsa20-simd/src/lib.rs:164
Methodadd_peer
Add a persistent peer to connect to.
crates/yggdrasil/src/links.rs:729
Functionannounce_check_valid
()
crates/ironwood/src/router.rs:1556
Functionannounce_roundtrip
()
crates/ironwood/src/wire.rs:668
← previousnext →301–400 of 719, ranked by callers