MCPcopy Create free account

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

Functions719 in github.com/Revertron/Yggdrasil-ng

↓ 2 callersMethodwire_size
Estimated wire size of the packet (used for queue size accounting).
crates/ironwood/src/traffic.rs:44
↓ 2 callersFunctionwrite_and_flush
Write `frame` and flush, with WRITE_TIMEOUT on each step. Returns `false` if the write or flush failed (caller should break).
crates/ironwood/src/peers.rs:696
↓ 2 callersFunctionwrite_response
(writer: &mut tokio::net::tcp::OwnedWriteHalf, resp: &AdminResponse)
crates/yggdrasil/src/admin.rs:551
↓ 2 callersMethodyggdrasil_routing
Whether standard Yggdrasil address routing is enabled.
crates/yggdrasil/src/ckr.rs:115
↓ 1 callersMethodactivate
Mark a flow active by appending its key to the round-robin ring.
crates/ironwood/src/traffic.rs:211
↓ 1 callersFunctionactive_backend
Name of the Salsa20 keystream backend this build selects at runtime on the current CPU: `"AVX2"`, `"SSE2"`, `"NEON"`, or `"scalar"` (with a `(forced)`
crates/salsa20-simd/src/lib.rs:117
↓ 1 callersMethodadd_info
Add bloom info for a new peer.
crates/ironwood/src/bloom.rs:167
↓ 1 callersMethodadd_peer
Add a peer connection. Returns actions to execute.
crates/ironwood/src/router.rs:400
↓ 1 callersMethodallocate_peer
Allocate a new peer. Returns the PeerHandle info (id, port, order) without spawning tasks — the caller is responsible for that.
crates/ironwood/src/peers.rs:86
↓ 1 callersMethodallowed_keys
Get the set of allowed public keys (parsed from hex).
crates/yggdrasil/src/config.rs:350
↓ 1 callersMethodbackwards_ancestry
(&self, key: &PublicKey)
crates/ironwood/src/router.rs:1081
↓ 1 callersMethodbest_peer_for_key
(&self, key: &PublicKey)
crates/ironwood/src/router.rs:1397
↓ 1 callersMethodblooms_maintenance
(&mut self)
crates/ironwood/src/router.rs:359
↓ 1 callersMethodbuffer_and_init
Buffer data and send init for a new session (cold path).
crates/ironwood/src/encrypted/session.rs:911
↓ 1 callersMethodcache_rumor_traffic
Cache a traffic packet in a rumor (for sending when path is found).
crates/ironwood/src/pathfinder.rs:173
↓ 1 callersMethodcache_traffic
Cache a traffic packet for a destination (sent when path is found or refreshed).
crates/ironwood/src/pathfinder.rs:307
↓ 1 callersMethodcheck
Verify signatures on the announcement.
crates/ironwood/src/router.rs:82
↓ 1 callersMethodcheck
Check if the version is compatible. Compatible if: same major version AND minor version >= our minor version. This allows forward compatibility (we ac
crates/yggdrasil/src/version.rs:70
↓ 1 callersMethodckr_read_validate
( &self, ckr: &CryptoKey, packet: &[u8], is_ip4: bool, is_ip6: bool,
crates/yggdrasil/src/ipv6rwc.rs:438
↓ 1 callersMethodckr_write
( &self, ckr: &CryptoKey, buf: &[u8], is_ip4: bool, is_ip6: bool,
crates/yggdrasil/src/ipv6rwc.rs:495
↓ 1 callersMethodcleanup
Clean up old entries (call periodically).
crates/yggdrasil/src/links.rs:244
↓ 1 callersMethodcleanup_expired
Clean up expired paths and rumors.
crates/ironwood/src/pathfinder.rs:318
↓ 1 callersMethodcleanup_expired
Clean up expired callbacks.
crates/yggdrasil/src/proto.rs:338
↓ 1 callersMethodclear_reqs
(&mut self)
crates/ironwood/src/router.rs:846
↓ 1 callersMethodclose
Close the core and all links.
crates/yggdrasil/src/core.rs:287
↓ 1 callersMethodclose_multicast
Stop multicast peer discovery (if running).
crates/yggdrasil/src/core.rs:473
↓ 1 callersFunctionconnect_to_peer
( core: &Arc<Core>, addr: SocketAddrV6, uri: &str, priority: u8, password: &[u8], )
crates/yggdrasil/src/multicast.rs:664
↓ 1 callersMethodcontent_equal
Check equality ignoring the signature.
crates/ironwood/src/pathfinder.rs:83
↓ 1 callersMethodcopy_from
(&mut self, other: &TrafficPacket)
crates/ironwood/src/traffic.rs:57
↓ 1 callersFunctioncreate_multicast_socket
()
crates/yggdrasil/src/multicast.rs:235
↓ 1 callersMethoddeactivate
Remove a flow from the round-robin ring, fixing up the cursor.
crates/ironwood/src/traffic.rs:220
↓ 1 callersFunctiondecode_frame
(data: &[u8])
crates/ironwood/src/wire.rs:578
↓ 1 callersFunctiondecrypt_outside_lock
Phase 2 of split recv: decrypt outside lock using snapshot.
crates/ironwood/src/encrypted/session.rs:538
↓ 1 callersFunctiondefault_if_name
()
crates/yggdrasil/src/config.rs:221
↓ 1 callersFunctiondefault_mtu
()
crates/yggdrasil/src/config.rs:225
↓ 1 callersFunctiondefault_multicast_interfaces
()
crates/yggdrasil/src/config.rs:40
↓ 1 callersMethoddeliver
Attempt to deliver a packet. Returns Some(packet) if a reader is waiting (in which case the caller should send it via channel), or None if the packet
crates/ironwood/src/traffic.rs:551
↓ 1 callersFunctiondiscover_from_external
Build interface map from externally provided interface info (e.g. Android ConnectivityManager). Applies the same glob pattern matching as `discover_in
crates/yggdrasil/src/multicast.rs:360
↓ 1 callersFunctiondiscover_interfaces
Enumerate system interfaces and match against configured patterns. Returns map of display_name -> InterfaceState.
crates/yggdrasil/src/multicast.rs:272
↓ 1 callersMethoddo_broken
(&mut self, tr: &crate::traffic::TrafficPacket)
crates/ironwood/src/router.rs:1343
↓ 1 callersMethoddo_maintenance
Run periodic maintenance: update on-tree status and compute new blooms. Returns list of (peer_key, bloom_filter) pairs that need to be sent.
crates/ironwood/src/bloom.rs:277
↓ 1 callersFunctiondrain_traffic_queue
Drain queued traffic packets and send them with timeout. This is called by peer_writer after successfully writing a frame. Drains at most MAX_DRAIN_PE
crates/ironwood/src/peers.rs:630
↓ 1 callersMethoddrop_largest
Drop the oldest packet from the largest flow (for back-pressure). Returns true if a packet was dropped.
crates/ironwood/src/traffic.rs:311
↓ 1 callersMethodencode
(&self)
crates/yggdrasil/src/multicast.rs:48
↓ 1 callersFunctionencode_action_frame
Encode a RouterAction into a frame and send it to the appropriate peer.
crates/ironwood/src/peers.rs:250
↓ 1 callersFunctionencrypted_reader_loop
( inner: Arc<PacketConnImpl>, sessions: Arc<ConcurrentSessionManager>, recv_tx: mpsc::Sender<Decry
crates/ironwood/src/encrypted/mod.rs:206
↓ 1 callersMethodfix
Parent selection: choose the best root and parent.
crates/ironwood/src/router.rs:712
↓ 1 callersMethodfix_on_tree
Update on-tree status for all peers based on current tree state. `self_key`: our own public key `self_parent`: our current parent's key `infos`: map o
crates/ironwood/src/bloom.rs:187
↓ 1 callersMethodforce_lookup
Force a path lookup for the given destination, bypassing the rumor throttle. Returns the number of peers the lookup was multicast to.
crates/ironwood/src/core.rs:864
↓ 1 callersMethodforce_lookup
Force a path lookup for the given destination, bypassing the rumor throttle. Returns the number of peers the lookup was sent to.
crates/yggdrasil/src/core.rs:423
↓ 1 callersMethodget_all_sessions
Get snapshot of all active sessions for stats.
crates/ironwood/src/encrypted/session.rs:960
↓ 1 callersMethodget_bit
(&self, bit: usize)
crates/ironwood/src/bloom.rs:93
↓ 1 callersMethodget_bloom_for
Compute the bloom filter we should send to a given peer. Returns (filter, is_new).
crates/ironwood/src/bloom.rs:221
↓ 1 callersMethodget_configured_peers
Get the list of all configured (outbound) peer URIs with their last errors.
crates/yggdrasil/src/links.rs:571
↓ 1 callersMethodget_debug_snapshot
Get a diagnostic snapshot of internal routing state.
crates/yggdrasil/src/core.rs:411
↓ 1 callersMethodget_interfaces
Get the list of active multicast interfaces (for admin API).
crates/yggdrasil/src/multicast.rs:214
↓ 1 callersMethodget_multicast_interfaces
Get multicast interface info for admin API.
crates/yggdrasil/src/core.rs:481
↓ 1 callersMethodget_multicast_targets
Determine which peers should receive a multicast packet. Returns list of peer keys whose bloom filter matches the destination.
crates/ironwood/src/bloom.rs:320
↓ 1 callersMethodget_path
Get the cached path for a destination.
crates/ironwood/src/pathfinder.rs:285
↓ 1 callersMethodget_paths
Get all cached paths.
crates/yggdrasil/src/core.rs:401
↓ 1 callersMethodget_peer_keys
Get peer keys for protocol responses (returns routing peer keys).
crates/yggdrasil/src/core.rs:496
↓ 1 callersMethodget_routing_peer_keys
Get routing peer keys (direct neighbors in spanning tree).
crates/ironwood/src/core.rs:905
↓ 1 callersMethodget_tree_keys
Get tree keys for protocol responses.
crates/yggdrasil/src/core.rs:501
↓ 1 callersMethodget_tun_status
Get TUN adapter status.
crates/yggdrasil/src/core.rs:428
↓ 1 callersMethodhandle_ack
Handle incoming ack message (cold path). If a session already exists, treat as a normal ack (just update keys). If no session exists, treat the ack a
crates/ironwood/src/encrypted/session.rs:822
↓ 1 callersMethodhandle_announce
Handle an announcement from a peer.
crates/ironwood/src/router.rs:627
↓ 1 callersMethodhandle_bloom
Handle receiving a bloom filter from a peer.
crates/ironwood/src/bloom.rs:177
↓ 1 callersMethodhandle_broken
Handle a path broken notification for a destination.
crates/ironwood/src/pathfinder.rs:269
↓ 1 callersMethodhandle_conn
Handle a new peer connection (delegate to ironwood).
crates/yggdrasil/src/core.rs:276
↓ 1 callersMethodhandle_debug_message
Handle debug protocol message.
crates/yggdrasil/src/proto.rs:119
↓ 1 callersMethodhandle_get_peers_response
Handle GetPeers response.
crates/yggdrasil/src/proto.rs:194
↓ 1 callersMethodhandle_get_self_response
Handle GetSelf response.
crates/yggdrasil/src/proto.rs:186
↓ 1 callersMethodhandle_get_tree_response
Handle GetTree response.
crates/yggdrasil/src/proto.rs:202
↓ 1 callersMethodhandle_init
Handle incoming init message (cold path).
crates/ironwood/src/encrypted/session.rs:744
↓ 1 callersMethodhandle_lookup
Handle incoming lookup from a peer.
crates/ironwood/src/router.rs:1263
↓ 1 callersMethodhandle_nodeinfo_request
Handle NodeInfo request.
crates/yggdrasil/src/proto.rs:210
↓ 1 callersMethodhandle_nodeinfo_response
Handle NodeInfo response.
crates/yggdrasil/src/proto.rs:218
↓ 1 callersMethodhandle_notify
Handle incoming path notify from a peer.
crates/ironwood/src/router.rs:1339
↓ 1 callersMethodhandle_proto_message
Handle incoming protocol message from remote node.
crates/yggdrasil/src/proto.rs:81
↓ 1 callersFunctionhandle_request
(req: &AdminRequest, core: &Arc<Core>)
crates/yggdrasil/src/admin.rs:161
↓ 1 callersMethodhandle_request_with_data
Handle an incoming signature request with explicit req data.
crates/ironwood/src/router.rs:507
↓ 1 callersMethodhandle_response
Handle a signature response from a peer.
crates/ironwood/src/router.rs:533
↓ 1 callersMethodhandle_traffic
Handle incoming traffic from a peer.
crates/ironwood/src/router.rs:1161
↓ 1 callersMethodhandle_traffic
Handle incoming traffic (hot path). Uses 3-phase pattern: snapshot under lock → decrypt outside lock → finalize under lock.
crates/ironwood/src/encrypted/session.rs:640
↓ 1 callersMethodhas_key
Check if there is an active connection to the given public key.
crates/yggdrasil/src/links.rs:498
↓ 1 callersFunctionicmpv6_checksum
Compute ICMPv6 checksum with IPv6 pseudo-header.
crates/yggdrasil/src/ipv6rwc.rs:630
↓ 1 callersMethodinit_links
Initialize the links with a reference to this core.
crates/yggdrasil/src/core.rs:281
↓ 1 callersFunctioninstall_routes
( _config: &TunnelRoutingConfig, _tun_name: &str, _self_key: &[u8; 32], )
crates/yggdrasil/src/ckr.rs:299
↓ 1 callersFunctioninterface_display_name
Get the display name for an interface entry. On Windows, getifaddrs returns internal names like "ethernet_32778" in `name`, but the human-readable nam
crates/yggdrasil/src/multicast.rs:260
↓ 1 callersMethodis_banned
Check if an IP is currently banned.
crates/yggdrasil/src/links.rs:192
↓ 1 callersMethodis_exact_match
Check if this is an exact version match (for logging/debugging).
crates/yggdrasil/src/version.rs:77
↓ 1 callersMethodis_expired
Check if the session has timed out.
crates/ironwood/src/encrypted/session.rs:474
↓ 1 callersMethodis_key_allowed
Check if a public key is allowed to connect.
crates/yggdrasil/src/core.rs:268
↓ 1 callersMethodis_on_tree
Check if a peer is on the spanning tree.
crates/ironwood/src/bloom.rs:148
↓ 1 callersFunctionis_set_interface_dns_settings_supported
()
crates/yggdrasil/src/tun.rs:314
↓ 1 callersFunctionjoin_multicast_on_interface
( udp: &UdpSocket, interface_index: u32, _addr: &Ipv6Addr, )
crates/yggdrasil/src/multicast.rs:792
↓ 1 callersMethodlargest_flow
Find the active flow with the most queued bytes (oldest head breaks ties).
crates/ironwood/src/traffic.rs:299
↓ 1 callersMethodlisten
Start listening on the given address.
crates/yggdrasil/src/core.rs:313
↓ 1 callersMethodmark_lookup_sent
Record that we sent a lookup at this time.
crates/ironwood/src/pathfinder.rs:126
↓ 1 callersMethodmark_rumor_sent
Record that a rumor lookup was sent now (resets expiry timer, like Go's timer.Reset).
crates/ironwood/src/pathfinder.rs:166
← previousnext →201–300 of 719, ranked by callers