MCPcopy Create free account

hub / github.com/conradludgate/rustyguard / functions

Functions305 in github.com/conradludgate/rustyguard

Methodis_available
(cls)
tests/e2e/rustyguard_e2e/providers/orb.py:30
Methodis_available
(cls)
tests/e2e/rustyguard_e2e/providers/lima.py:44
Methodis_write_vectored
(&self)
rustyguard-tun/src/tun/async/device.rs:92
Methodlength
(&self)
rustyguard-core/examples/server.rs:232
Functionmac_failure
()
rustyguard-crypto/src/lib.rs:574
Functionmac_snapshot
()
rustyguard-crypto/src/prim.rs:483
Functionmain
()
rustyguard-crypto/benches/cookie.rs:5
Functionmain
()
rustyguard-crypto/benches/mac.rs:4
Functionmain
()
rustyguard-crypto/benches/handshake.rs:10
Functionmain
()
rustyguard-core/benches/roundtrip.rs:11
Functionmain
()
rustyguard-core/examples/server.rs:31
Functionmain
()
wg-proxy/src/main.rs:20
Functionmain
()
rustyguard-tun/src/main.rs:12
Functionmemory_usage
()
rustyguard-utils/src/rate_limiter.rs:192
Methodmessage_mut_from
(msg: &mut [u8])
rustyguard-types/src/lib.rs:183
Methodmix_chain
Like mix-key, but discards the unused key
rustyguard-crypto/src/prim.rs:243
Methodmix_dh
( &mut self, sk: &StaticPrivateKey, pk: &PublicKey, )
rustyguard-crypto/src/prim.rs:247
Methodmix_edh
( &mut self, sk: &EphemeralPrivateKey, pk: &PublicKey, )
rustyguard-crypto/src/prim.rs:266
Methodmix_hash
(&mut self, b: &[u8])
rustyguard-crypto/src/prim.rs:295
Methodmix_key
(&mut self, b: &[u8])
rustyguard-crypto/src/prim.rs:282
Methodmix_key_and_hash
(&mut self, b: &[u8])
rustyguard-crypto/src/prim.rs:288
Methodmix_key_dh
( &mut self, sk: &StaticPrivateKey, pk: &PublicKey, )
rustyguard-crypto/src/prim.rs:257
Methodmix_key_edh
( &mut self, sk: &EphemeralPrivateKey, pk: &PublicKey, )
rustyguard-crypto/src/prim.rs:274
Methodmore
(&mut self, size: usize)
rustyguard-core/examples/server.rs:201
Methodmtu
Set MTU
rustyguard-tun/src/tun/configuration.rs:33
Methodmut_from
(b: &'a mut [u8])
rustyguard-types/src/lib.rs:61
Methodname
(&self)
rustyguard-tun/src/tun/platform/macos/device.rs:196
Methodname
(&self)
rustyguard-tun/src/tun/platform/linux/device.rs:180
Methodnew
(width: usize, depth: usize, rng: &mut dyn CryptoRng)
rustyguard-utils/src/rate_limiter.rs:62
Methodnew
(rng: &mut impl CryptoRng)
rustyguard-crypto/src/lib.rs:85
Methodnew
(key: Key)
rustyguard-crypto/src/prim.rs:382
Methodnew
(private_key: StaticPrivateKey)
rustyguard-core/src/lib.rs:123
Methodnew
Create a new static buffer wrapping the given slice.
rustyguard-core/examples/server.rs:167
Methodnew
(mut device: Device)
rustyguard-tun/src/tun/async/device.rs:21
Methodnew
Create a new `SockAddr` from a generic `sockaddr`.
rustyguard-tun/src/tun/platform/posix/sockaddr.rs:12
Methodnew
(value: RawFd)
rustyguard-tun/src/tun/platform/posix/fd.rs:11
Methodnew
Create a new `Device` for the given `Configuration`.
rustyguard-tun/src/tun/platform/macos/device.rs:34
Methodnew
Create a new `Device` for the given `Configuration`.
rustyguard-tun/src/tun/platform/linux/device.rs:32
Methodnext
(&mut self, size: usize)
rustyguard-core/examples/server.rs:185
Methodoffset
(&self)
rustyguard-core/examples/server.rs:228
Methodpartial_cmp
(&self, other: &Self)
rustyguard-core/src/time.rs:22
Functionpeers
( request: pytest.FixtureRequest, provider: Provider, rg_os: GuestOS, )
tests/e2e/conftest.py:89
Methodpoll_flush
(mut self: Pin<&mut Self>, cx: &mut Context<'_>)
rustyguard-tun/src/tun/async/device.rs:64
Methodpoll_read
( mut self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &mut ReadBuf, )
rustyguard-tun/src/tun/async/device.rs:33
Methodpoll_shutdown
(self: Pin<&mut Self>, _cx: &mut Context<'_>)
rustyguard-tun/src/tun/async/device.rs:74
Methodpoll_write
( mut self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &[u8], )
rustyguard-tun/src/tun/async/device.rs:50
Methodpoll_write_vectored
( mut self: Pin<&mut Self>, cx: &mut Context<'_>, bufs: &[IoSlice<'_>], )
rustyguard-tun/src/tun/async/device.rs:78
Functionprecision
()
rustyguard-utils/src/rate_limiter.rs:164
Functionprovider
(request: pytest.FixtureRequest)
tests/e2e/conftest.py:73
Functionpytest_addoption
(parser: pytest.Parser)
tests/e2e/conftest.py:22
Functionpytest_collection_modifyitems
( config: pytest.Config, items: list[pytest.Item] )
tests/e2e/conftest.py:61
Functionpytest_configure
(config: pytest.Config)
tests/e2e/conftest.py:55
Methodread
(&mut self, buf: &mut [u8])
rustyguard-tun/src/tun/platform/macos/device.rs:154
Methodread
(&mut self, buf: &mut [u8])
rustyguard-tun/src/tun/platform/linux/device.rs:148
Methodread_vectored
(&mut self, bufs: &mut [io::IoSliceMut<'_>])
rustyguard-tun/src/tun/platform/posix/fd.rs:41
Methodread_vectored
(&mut self, bufs: &mut [io::IoSliceMut<'_>])
rustyguard-tun/src/tun/platform/macos/device.rs:158
Methodread_vectored
(&mut self, bufs: &mut [io::IoSliceMut<'_>])
rustyguard-tun/src/tun/platform/linux/device.rs:152
Functionrender
Substitute peer endpoints into the on-disk templates.
tests/e2e/rustyguard_e2e/config.py:29
Functionreset
()
rustyguard-utils/src/rate_limiter.rs:207
Functionrg_os
(request: pytest.FixtureRequest, provider: Provider)
tests/e2e/conftest.py:79
Functionroundtrip
(b: Bencher)
rustyguard-core/benches/roundtrip.rs:38
Functionrun_client
Run an iperf3 client and return its parsed `--json` output.
tests/e2e/rustyguard_e2e/iperf.py:47
Functionselect
Resolve a backend by name, env var, or auto-detection.
tests/e2e/rustyguard_e2e/registry.py:35
Methodsentinal
()
rustyguard-core/src/lib.rs:81
Functionserve
Run an iperf3 server inside `vm`, bound to `bind`, for one connection. `-1` exits the server after the first client finishes, so the only cleanup
tests/e2e/rustyguard_e2e/iperf.py:21
Methodset_address
(&mut self, value: Ipv4Addr)
rustyguard-tun/src/tun/platform/linux/device.rs:202
Methodset_broadcast
(&mut self, value: Ipv4Addr)
rustyguard-tun/src/tun/platform/linux/device.rs:224
Methodset_destination
(&mut self, value: Ipv4Addr)
rustyguard-tun/src/tun/platform/linux/device.rs:213
Methodset_mtu
(&mut self, value: i32)
rustyguard-tun/src/tun/platform/linux/device.rs:246
Methodset_netmask
(&mut self, value: Ipv4Addr)
rustyguard-tun/src/tun/platform/linux/device.rs:235
Methodset_nonblock
Set non-blocking mode
rustyguard-tun/src/tun/platform/macos/device.rs:148
Methodset_nonblock
Set non-blocking mode
rustyguard-tun/src/tun/platform/linux/device.rs:142
Functionsnapshot
()
rustyguard-core/src/lib.rs:847
Methodsupported_guest_os
(self)
tests/e2e/rustyguard_e2e/providers/multipass.py:34
Methodsupported_guest_os
(self)
tests/e2e/rustyguard_e2e/providers/orb.py:33
Methodtarget_triple
(self, os: GuestOS)
tests/e2e/rustyguard_e2e/providers/multipass.py:37
Methodtarget_triple
(self, os: GuestOS)
tests/e2e/rustyguard_e2e/providers/orb.py:36
Methodtarget_triple
(self, os: GuestOS)
tests/e2e/rustyguard_e2e/providers/lima.py:53
Functiontest_handshake_complete
`wg show` should report a non-zero handshake timestamp on the kernel side.
tests/e2e/tests/test_handshake.py:31
Functiontest_iperf3_tcp
(provider: Provider, peers: tuple[Peer, Peer])
tests/e2e/tests/test_throughput.py:23
Functiontest_iperf3_udp
(provider: Provider, peers: tuple[Peer, Peer])
tests/e2e/tests/test_throughput.py:45
Functiontest_large_packet_ping_loss
Ping with 1200-byte payloads to exercise the data path under load. 1200 stays safely under the WireGuard tunnel's default 1420 MTU (1500 - ~8
tests/e2e/tests/test_throughput.py:62
Functiontest_ping_rg_to_wg
(provider: Provider, peers: tuple[Peer, Peer])
tests/e2e/tests/test_handshake.py:21
Functiontest_ping_wg_to_rg
(provider: Provider, peers: tuple[Peer, Peer])
tests/e2e/tests/test_handshake.py:26
Functiontest_rekey_survives_traffic
( provider: Provider, peers: tuple[Peer, Peer] )
tests/e2e/tests/test_soak.py:26
Functiontest_size_align
()
rustyguard-types/src/lib.rs:203
Functiontest_transfer_counters_advance
`wg show transfer` rx/tx should grow when traffic flows.
tests/e2e/tests/test_throughput.py:95
Functionunauthenticated_high_counter_does_not_lock_out
()
rustyguard-utils/src/anti_replay.rs:102
Methodunchecked
# Safety Create a new `SockAddr` and not check the source.
rustyguard-tun/src/tun/platform/posix/sockaddr.rs:22
Methodused
(&self)
rustyguard-core/examples/server.rs:224
Methodverify
( &'m mut self, config: &StaticInitiatorConfig, overload: bool, cookie: &Cooki
rustyguard-crypto/src/lib.rs:115
Functionverify_mac1
()
rustyguard-crypto/benches/mac.rs:9
Functionverify_mac2
()
rustyguard-crypto/benches/mac.rs:15
Methodvm_os
(self, vm: str)
tests/e2e/rustyguard_e2e/providers/multipass.py:42
Methodvm_os
(self, vm: str)
tests/e2e/rustyguard_e2e/providers/orb.py:41
Methodwith_params
Given parameters (ε, δ), set width = ceil(e/ε) set depth = ceil(ln(1/δ)) guarantees: actual <= estimate estimate <= actual + ε * N with probability 1
rustyguard-utils/src/rate_limiter.rs:54
Methodwrite_fd
(fd: &mut Fd, buf: &[u8])
rustyguard-tun/src/tun/platform/macos/device.rs:295
Methodwrite_fd
(fd: &mut Fd, buf: &[u8])
rustyguard-tun/src/tun/platform/linux/device.rs:281
Methodwrite_fd_vectored
(fd: &mut Fd, bufs: &[io::IoSlice<'_>])
rustyguard-tun/src/tun/platform/macos/device.rs:301
Methodwrite_fd_vectored
(fd: &mut Fd, bufs: &[io::IoSlice<'_>])
rustyguard-tun/src/tun/platform/linux/device.rs:285
← previousnext →201–300 of 305, ranked by callers