Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ExodusVPN/exodus
/ functions
Functions
1,609 in github.com/ExodusVPN/exodus
⨍
Functions
1,609
◇
Types & classes
783
↓ 7 callers
Method
set_option_type
(&mut self, value: Type)
crates/smoltcp/src/wire/ndiscoption.rs:285
↓ 7 callers
Method
set_timeout
Set the timeout duration. A socket with a timeout duration set will abort the connection if either of the following occurs: After a [connect](#metho
crates/smoltcp/src/socket/tcp.rs:338
↓ 7 callers
Method
set_version
(&mut self, value: u8)
crates/smoltcp/src/wire/ipv6.rs:502
↓ 7 callers
Function
socket_syn_received
()
crates/smoltcp/src/socket/tcp.rs:1874
↓ 7 callers
Method
total_size
(&self)
crates/smoltcp/src/storage/assembler.rs:40
↓ 7 callers
Method
until_eof
(&mut self, f: F)
crates/smoltcp/src/parsers.rs:65
↓ 7 callers
Method
window
Return the number of elements that can be added to the ring buffer.
crates/smoltcp/src/storage/ring_buffer.rs:71
↓ 6 callers
Function
align
(len: usize)
crates/sysconfig/src/route/macos.rs:239
↓ 6 callers
Method
data_len
(&self)
crates/smoltcp/src/wire/ipv6option.rs:152
↓ 6 callers
Method
data_mut
(&mut self)
crates/smoltcp/src/wire/icmpv4.rs:354
↓ 6 callers
Method
err
(&self)
crates/netlink/src/packet/netlink.rs:469
↓ 6 callers
Method
get_allocated
Return the largest contiguous slice of allocated buffer elements starting at the given offset past the first allocated element, and up to the given si
crates/smoltcp/src/storage/ring_buffer.rs:324
↓ 6 callers
Method
into
(self)
crates/smoltcp/src/time.rs:89
↓ 6 callers
Method
into_inner
Unwrap a smart pointer to a socket. The finalization code is not run. Prompt operation of the network stack depends on wrapping the returned pointer
crates/smoltcp/src/socket/ref_.rs:63
↓ 6 callers
Method
is_ipv4
(&self)
crates/netlink/src/packet/neighbour.rs:167
↓ 6 callers
Method
is_ipv6
(&self)
crates/netlink/src/packet/neighbour.rs:171
↓ 6 callers
Method
link_layer_addr
(&self)
crates/smoltcp/src/wire/ndiscoption.rs:219
↓ 6 callers
Method
option_type
(&self)
crates/smoltcp/src/wire/ipv6option.rs:142
↓ 6 callers
Function
pseudo_header
Compute an IP pseudo header checksum.
crates/smoltcp/src/wire/ip.rs:822
↓ 6 callers
Method
set_payload_len
(&mut self, value: u16)
crates/smoltcp/src/wire/ipv6.rs:532
↓ 6 callers
Function
socket_fin_wait_1
()
crates/smoltcp/src/socket/tcp.rs:1902
↓ 6 callers
Method
tx
Returns whether checksum should be verified when sending.
crates/smoltcp/src/wire/mod.rs:72
↓ 6 callers
Method
write
(&mut self, buf: &[u8])
crates/tun/src/sys/mod.rs:118
↓ 5 callers
Function
DATA
Variable-length field. Option-Type-specific data.
crates/smoltcp/src/wire/ipv6option.rs:83
↓ 5 callers
Method
accept_ipv6
(&mut self, is_cidr: bool)
crates/smoltcp/src/parsers.rs:237
↓ 5 callers
Method
as_raw_fd
(&self)
crates/tun/src/sys/linux.rs:364
↓ 5 callers
Method
as_ref
(&self)
crates/smoltcp/src/wire/ethernet.rs:200
↓ 5 callers
Method
connect
Connect to a given endpoint. The local port must be provided explicitly. Assuming `fn get_ephemeral_port() -> u16` allocates a port between 49152 and
crates/smoltcp/src/socket/tcp.rs:476
↓ 5 callers
Method
fill_size
(&mut self)
crates/netlink/src/sys/mod.rs:41
↓ 5 callers
Method
get_idx
Shorthand for `(self.read + idx) % self.capacity()` with an additional check to ensure that the capacity is not zero.
crates/smoltcp/src/storage/ring_buffer.rs:93
↓ 5 callers
Method
get_unallocated
Return the largest contiguous slice of unallocated buffer elements starting at the given offset past the last allocated element, and up to the given s
crates/smoltcp/src/storage/ring_buffer.rs:277
↓ 5 callers
Method
into
(self)
crates/smoltcp/src/socket/tcp.rs:1652
↓ 5 callers
Method
is_full
Query whether the buffer is full.
crates/smoltcp/src/storage/ring_buffer.rs:87
↓ 5 callers
Method
is_specified
(&self)
crates/smoltcp/src/socket/icmp.rs:31
↓ 5 callers
Method
is_unspecified
(&self)
crates/netlink/src/packet/neighbour.rs:175
↓ 5 callers
Method
open
(&mut self, ciphertext: T)
crates/crypto/src/lib.rs:98
↓ 5 callers
Method
payload_mut
(&mut self)
crates/smoltcp/src/wire/mld.rs:290
↓ 5 callers
Method
rx
Returns whether checksum should be verified when receiving.
crates/smoltcp/src/wire/mod.rs:64
↓ 5 callers
Function
sa_to_ipaddr
(sa: *const libc::sockaddr)
crates/sysconfig/src/route/macos.rs:275
↓ 5 callers
Method
set
(&mut self, method: Method, value: bool)
crates/socks5/src/lib.rs:269
↓ 5 callers
Method
set_checksum
(&mut self, value: u16)
crates/smoltcp/src/wire/udp.rs:157
↓ 5 callers
Method
set_group_address
(&mut self, addr: Ipv4Address)
crates/smoltcp/src/wire/igmp.rs:155
↓ 5 callers
Method
set_max_resp_code
(&mut self, value: u8)
crates/smoltcp/src/wire/igmp.rs:141
↓ 5 callers
Method
set_msg_code
(&mut self, value: u8)
crates/smoltcp/src/wire/icmpv4.rs:308
↓ 5 callers
Function
socket_time_wait
(from_closing: bool)
crates/smoltcp/src/socket/tcp.rs:1924
↓ 5 callers
Method
total_len
(&self)
crates/smoltcp/src/wire/ipv4.rs:322
↓ 4 callers
Function
DATA
Variable-length field. Option-Type-specific data.
crates/smoltcp/src/wire/ndiscoption.rs:73
↓ 4 callers
Function
OPTIONS
Variable-length field. Option-Type-specific data. Length of the header is in 8-octet units, not including the first 8 octets. The first two octets ar
crates/smoltcp/src/wire/ipv6hopbyhop.rs:44
↓ 4 callers
Function
OPTIONS
(length: u8)
crates/smoltcp/src/wire/tcp.rs:88
↓ 4 callers
Function
TPA
(hardware_len: u8, protocol_len: u8)
crates/smoltcp/src/wire/arp.rs:58
↓ 4 callers
Method
abort
Aborts the connection, if any. This function instantly closes the socket. One reset packet will be sent to the remote endpoint. In terms of the TCP
crates/smoltcp/src/socket/tcp.rs:541
↓ 4 callers
Method
accept_ipv4
(&mut self)
crates/smoltcp/src/parsers.rs:279
↓ 4 callers
Method
as_bytes
Return an IPv4 address as a sequence of octets, in big-endian.
crates/smoltcp/src/wire/ipv4.rs:57
↓ 4 callers
Method
as_ptr
(&self)
crates/sysctl/src/sys/unix.rs:880
↓ 4 callers
Method
as_ptr
(&self)
crates/netlink/src/sys/mod.rs:45
↓ 4 callers
Method
dequeue_one
Dequeue an element from the buffer, and return a reference to it, or return `Err(Error::Exhausted)` if the buffer is empty. This function is a shortc
crates/smoltcp/src/storage/ring_buffer.rs:157
↓ 4 callers
Method
enqueue_one
Enqueue a single element into the buffer, and return a reference to it, or return `Err(Error::Exhausted)` if the buffer is full. This function is a s
crates/smoltcp/src/storage/ring_buffer.rs:132
↓ 4 callers
Method
enqueue_slice
Enqueue as many elements from the given slice into the buffer as possible, and return the amount of elements that could fit. #[must_use]
crates/smoltcp/src/storage/ring_buffer.rs:203
↓ 4 callers
Method
flags
(&self)
crates/netlink/src/packet/link.rs:444
↓ 4 callers
Function
gen_req_mib
[0, 1, ...] mib2name [0, 2, ...] next_mib [0, 3, ...] name2mib [0, 4, ...] mib2metadata [0, 5, ...] mib2description
crates/sysctl/src/sys/unix.rs:413
↓ 4 callers
Method
group_addr
(&self)
crates/smoltcp/src/wire/igmp.rs:111
↓ 4 callers
Method
has_data
(&self)
crates/smoltcp/src/storage/assembler.rs:36
↓ 4 callers
Method
header_len
Return the header length. The result depends on the value of the message type field.
crates/smoltcp/src/wire/icmpv6.rs:340
↓ 4 callers
Function
init
()
src/signal.rs:7
↓ 4 callers
Method
into_inner
(self)
crates/netlink/src/packet/link.rs:421
↓ 4 callers
Function
ipv4_forwarding
()
crates/sysconfig/src/ip_forwarding.rs:36
↓ 4 callers
Method
is_ipv4
(&self)
crates/socks5/src/lib.rs:439
↓ 4 callers
Method
iter
(&'a self)
crates/socks5/src/lib.rs:296
↓ 4 callers
Function
list
()
crates/sysconfig/examples/route.rs:7
↓ 4 callers
Method
msg_type
(&self)
crates/smoltcp/src/wire/icmpv4.rs:227
↓ 4 callers
Function
netmask_from_ipcidr
(cidr: IpCidr)
crates/sysconfig/src/lib.rs:81
↓ 4 callers
Method
payload
(&self)
crates/smoltcp/src/wire/icmpv6.rs:382
↓ 4 callers
Method
register
(&self, poll: &Poll, token: Token, interest: Ready, opts: PollOpt)
crates/tun/src/sys/mod.rs:143
↓ 4 callers
Method
segment_len
Return the length of the segment, in terms of sequence space.
crates/smoltcp/src/wire/tcp.rs:285
↓ 4 callers
Method
seq_to_transmit
(&self)
crates/smoltcp/src/socket/tcp.rs:1357
↓ 4 callers
Method
set_checksum
(&mut self, value: u16)
crates/smoltcp/src/wire/tcp.rs:506
↓ 4 callers
Method
set_family
(&mut self, value: AddressFamily)
crates/netlink/src/packet/link.rs:472
↓ 4 callers
Method
set_for_close
(&mut self, timestamp: Instant)
crates/smoltcp/src/socket/tcp.rs:170
↓ 4 callers
Method
set_len
(&mut self, value: u16)
crates/smoltcp/src/wire/udp.rs:150
↓ 4 callers
Method
set_msg_type
(&mut self, value: Message)
crates/smoltcp/src/wire/icmpv4.rs:301
↓ 4 callers
Method
set_pid
(&mut self, value: u32)
crates/netlink/src/packet/netlink.rs:401
↓ 4 callers
Method
set_seq
(&mut self, value: u32)
crates/netlink/src/packet/netlink.rs:395
↓ 4 callers
Function
set_value
(key: &str, val: Value)
crates/sysconfig/src/ip_forwarding.rs:29
↓ 4 callers
Function
socket_close_wait
()
crates/smoltcp/src/socket/tcp.rs:1935
↓ 4 callers
Function
socket_syn_sent
()
crates/smoltcp/src/socket/tcp.rs:1878
↓ 4 callers
Function
socket_with_buffer_sizes
(tx_len: usize, rx_len: usize)
crates/smoltcp/src/socket/tcp.rs:1850
↓ 4 callers
Method
write_parts
Write a IPv6 address to the given slice. # Panics The function panics if `data` is not 8 words long.
crates/smoltcp/src/wire/ipv6.rs:89
↓ 3 callers
Function
DATA
Variable-length field. Routing-Type-specific data. Length of the header is in 8-octet units, not including the first 8 octets. The first four octets
crates/smoltcp/src/wire/ipv6routing.rs:93
↓ 3 callers
Function
SHA
(hardware_len: u8, _protocol_len: u8)
crates/smoltcp/src/wire/arp.rs:40
↓ 3 callers
Function
SPA
(hardware_len: u8, protocol_len: u8)
crates/smoltcp/src/wire/arp.rs:46
↓ 3 callers
Function
THA
(hardware_len: u8, protocol_len: u8)
crates/smoltcp/src/wire/arp.rs:52
↓ 3 callers
Method
ack_reply
(&mut self, ip_repr: &IpRepr, repr: &TcpRepr)
crates/smoltcp/src/socket/tcp.rs:843
↓ 3 callers
Method
add
Add a socket to the set with the reference count 1, and return its handle. # Panics This function panics if the storage is fixed-size (not a `Vec`) a
crates/smoltcp/src/socket/set.rs:50
↓ 3 callers
Method
address
Return the IP address of this CIDR block.
crates/smoltcp/src/wire/ip.rs:306
↓ 3 callers
Method
buffer_len
Return the length of a header that will be emitted from this high-level representation.
crates/smoltcp/src/wire/ndiscoption.rs:489
↓ 3 callers
Method
buffer_len
(&self)
crates/smoltcp/src/wire/ndisc.rs:331
↓ 3 callers
Method
check_len
(&self)
crates/netlink/src/packet/netlink.rs:303
↓ 3 callers
Method
clear
Clear the ring buffer.
crates/smoltcp/src/storage/ring_buffer.rs:46
↓ 3 callers
Method
data
(&self)
crates/smoltcp/src/wire/ndiscoption.rs:274
↓ 3 callers
Method
dequeue
Dequeue a single packet from the buffer, and return a reference to its payload as well as its header, or return `Err(Error::Exhausted)` if the buffer
crates/smoltcp/src/storage/packet_buffer.rs:148
← previous
next →
101–200 of 1,609, ranked by callers