Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TimeToogo/tunshell
/ functions
Functions
824 in github.com/TimeToogo/tunshell
⨍
Functions
824
◇
Types & classes
165
↓ 3 callers
Function
negotiate_connection
Attempts to negotiate a connection over UDP between two peers. This should support a connection where at most one peer is behind a NAT.
tunshell-client/src/p2p/udp/negotiator.rs:17
↓ 3 callers
Method
open
( sequence_number: SequenceNumber, ack_number: SequenceNumber, window: u32, )
tunshell-client/src/p2p/udp/packet.rs:144
↓ 3 callers
Method
poll_next
(mut self: Pin<&mut Self>, cx: &mut Context<'_>)
tunshell-client/src/shell/server/fallback/input_stream.rs:112
↓ 3 callers
Method
push_token
(&mut self, token: Token)
tunshell-client/src/shell/server/fallback/input_stream.rs:92
↓ 3 callers
Method
set_state_connected
(&mut self, event_sender: UnboundedSender<SendEvent>)
tunshell-client/src/p2p/udp/state.rs:138
↓ 3 callers
Method
set_state_disconnected
(&mut self)
tunshell-client/src/p2p/udp/state.rs:154
↓ 3 callers
Method
set_state_sent_hello
(&mut self)
tunshell-client/src/p2p/udp/state.rs:110
↓ 3 callers
Function
spawn_rpty_bash_memfd_file
(memfd: StdFile, config: &RptyCommandConfig)
tunshell-client/src/shell/server/remote_pty.rs:338
↓ 3 callers
Method
start
(&mut self, terminate_rx: Option<mpsc::Receiver<()>>)
tunshell-server/src/relay/server/mod.rs:45
↓ 3 callers
Method
state
( &self, )
tunshell-client/src/shell/client/remote_pty.rs:176
↓ 3 callers
Method
stream_mut
(&mut self)
tunshell-server/src/relay/server/message_stream.rs:32
↓ 3 callers
Method
update_sequence_number
(&mut self, packet: &UdpPacket)
tunshell-client/src/p2p/udp/sender.rs:154
↓ 3 callers
Method
wake_close
(&mut self)
tunshell-client/src/server/websys_websocket_stream.rs:57
↓ 3 callers
Method
wake_recv
(&mut self)
tunshell-client/src/server/websys_websocket_stream.rs:45
↓ 3 callers
Method
with_bind_addr
(mut self, value: SocketAddr)
tunshell-client/src/p2p/udp/config.rs:63
↓ 3 callers
Method
write
(&mut self, buf: &[u8])
tunshell-client/src/shell/server/fallback/byte_channel.rs:48
↓ 2 callers
Method
accept
(&mut self)
tunshell-client/src/shell/client/remote_pty.rs:135
↓ 2 callers
Method
bind
(&mut self)
tunshell-client/src/p2p/tcp.rs:70
↓ 2 callers
Method
bind
(&mut self)
tunshell-client/src/p2p/udp_adaptor.rs:65
↓ 2 callers
Function
cleanup_pty_sock
(sock_path: &str)
tunshell-client/src/shell/server/remote_pty.rs:734
↓ 2 callers
Method
close
(sequence_number: SequenceNumber, ack_number: SequenceNumber)
tunshell-client/src/p2p/udp/packet.rs:173
↓ 2 callers
Function
convert_to_size
(arr: JsValue)
tunshell-client/src/shell/client/xtermjs.rs:183
↓ 2 callers
Function
copy_bytes_to_memfd
(bytes: &[u8])
tunshell-client/src/shell/server/remote_pty.rs:362
↓ 2 callers
Method
create
( packet_type: UdpPacketType, sequence_number: SequenceNumber, ack_number: SequenceNum
tunshell-client/src/p2p/udp/packet.rs:117
↓ 2 callers
Method
create_close_packet
(&mut self)
tunshell-client/src/p2p/udp/sender.rs:146
↓ 2 callers
Function
create_memfd
()
tunshell-client/src/shell/server/remote_pty.rs:380
↓ 2 callers
Method
create_open_packet
(&mut self)
tunshell-client/src/p2p/udp/sender.rs:134
↓ 2 callers
Function
create_session
(mut store: SessionStore)
tunshell-server/src/api/routes/create_session.rs:12
↓ 2 callers
Function
cstring_ptrs
(values: &[CString])
tunshell-client/src/shell/server/remote_pty.rs:451
↓ 2 callers
Function
encrypt
( plaintext: Vec<u8>, key: Key, )
tunshell-client/src/stream/crypto/ring.rs:35
↓ 2 callers
Function
error_has_errno
(err: &Error, errno: i32)
tunshell-client/src/shell/server/remote_pty.rs:809
↓ 2 callers
Method
exit
(&mut self, code: Option<String>)
tunshell-client/src/shell/server/fallback/interpreter.rs:310
↓ 2 callers
Method
exit_sync
(&mut self)
tunshell-client/src/shell/server/pty.rs:163
↓ 2 callers
Method
file_name
(&self)
tunshell-client/src/shell/server/default.rs:16
↓ 2 callers
Function
get_info
()
tunshell-server/src/api/routes/info.rs:16
↓ 2 callers
Function
init_server
(config: &mut Config)
tunshell-server/src/relay/server/tls.rs:136
↓ 2 callers
Function
init_server
(config: &mut Config)
tunshell-server/src/relay/server/ws.rs:294
↓ 2 callers
Method
inner
(self)
tunshell-client/src/server/tcp_stream.rs:14
↓ 2 callers
Method
is_bound
Whether the connection is bound
tunshell-client/src/p2p/udp/connection.rs:64
↓ 2 callers
Function
is_connected
(con: &Arc<Mutex<UdpConnectionVars>>)
tunshell-client/src/p2p/udp/orchestrator.rs:217
↓ 2 callers
Method
is_new
Whether the connection has been activated
tunshell-client/src/p2p/udp/connection.rs:56
↓ 2 callers
Method
is_running
(&self)
tunshell-client/src/shell/server/pty.rs:289
↓ 2 callers
Function
make_memfd_executable
(memfd: &StdFile)
tunshell-client/src/shell/server/remote_pty.rs:370
↓ 2 callers
Method
parse
(byte: u8)
tunshell-client/src/p2p/udp/packet.rs:59
↓ 2 callers
Method
parse_buffer
(&self)
tunshell-shared/src/message_stream.rs:77
↓ 2 callers
Function
parse_network_endpoint
(value: &str)
tunshell-client/src/config.rs:285
↓ 2 callers
Function
parse_port
(value: &str)
tunshell-client/src/config.rs:299
↓ 2 callers
Function
parse_u16_arg
(value: &str, name: &str)
tunshell-client/src/config.rs:305
↓ 2 callers
Method
poll
( mut self: std::pin::Pin<&mut Self>, cx: &mut std::task::Context<'_>, )
tunshell-client/src/stream/crypto/web_sys.rs:21
↓ 2 callers
Function
poll_all_remove_ready
( futures: impl Iterator<Item = (usize, &'a mut JoinHandle<Result<T>>)>, cx: &mut Context<'_>, )
tunshell-server/src/relay/server/connection.rs:124
↓ 2 callers
Method
poll_write
( mut self: Pin<&mut Self>, cx: &mut Context<'_>, buff: &[u8], )
tunshell-client/src/stream/aes_stream.rs:147
↓ 2 callers
Method
read
(&mut self, _buff: &mut [u8])
tunshell-client/src/shell/server/remote_pty.rs:260
↓ 2 callers
Function
read_line
(tls: &mut TlsStream<TcpStream>)
tunshell-client/src/shell/server/remote_pty.rs:628
↓ 2 callers
Method
read_output
( &'a mut self, buff: &'a mut [u8], )
tunshell-client/src/shell/server/fallback/shell.rs:151
↓ 2 callers
Method
recv_available_bytes
(&self)
tunshell-client/src/p2p/udp/receiver.rs:130
↓ 2 callers
Method
recv_drain_bytes
(&mut self, len: usize)
tunshell-client/src/p2p/udp/receiver.rs:134
↓ 2 callers
Method
recv_window
(&self)
tunshell-client/src/p2p/udp/config.rs:99
↓ 2 callers
Method
recv_window_end
(&self)
tunshell-client/src/p2p/udp/receiver.rs:69
↓ 2 callers
Method
recv_window_start
(&self)
tunshell-client/src/p2p/udp/receiver.rs:65
↓ 2 callers
Function
send_magic_hello
Send the magic hello sequence to the peer IP on the suggested port
tunshell-client/src/p2p/udp/negotiator.rs:73
↓ 2 callers
Function
send_sync_packet
(socket: &mut UdpSocket, con: &mut UdpConnectionVars)
tunshell-client/src/p2p/udp/negotiator.rs:120
↓ 2 callers
Method
serialise_embedded
(&self)
tunshell-client/src/shell/proto.rs:230
↓ 2 callers
Method
server_connection_timeout
(&self)
tunshell-client/src/config.rs:126
↓ 2 callers
Method
set_state_sent_sync
(&mut self)
tunshell-client/src/p2p/udp/state.rs:116
↓ 2 callers
Method
set_state_waiting_for_sync
(&mut self)
tunshell-client/src/p2p/udp/state.rs:122
↓ 2 callers
Function
spawn_rpty_bash_memfd
(path: &str, config: &RptyCommandConfig)
tunshell-client/src/shell/server/remote_pty.rs:327
↓ 2 callers
Method
store_send_time_of_packet
(&mut self, sent_packet: &UdpPacket)
tunshell-client/src/p2p/udp/rtt_estimator.rs:5
↓ 2 callers
Function
test_config
()
tunshell-client/src/shell/server/remote_pty.rs:818
↓ 2 callers
Method
to_byte
(&self)
tunshell-client/src/p2p/udp/packet.rs:68
↓ 2 callers
Method
type_id
(&self)
tunshell-shared/src/message.rs:85
↓ 2 callers
Method
update_resending_packet
(&self, packet: &mut UdpPacket)
tunshell-client/src/p2p/udp/resender.rs:27
↓ 2 callers
Function
wait_for_sync_packet
( socket: &mut UdpSocket, con: &mut UdpConnectionVars, timeout: Duration, )
tunshell-client/src/p2p/udp/negotiator.rs:141
↓ 2 callers
Method
wake_pending_send_events
(&mut self)
tunshell-client/src/p2p/udp/congestion.rs:71
↓ 2 callers
Method
wake_recv_tasks
(&mut self)
tunshell-client/src/p2p/udp/receiver.rs:124
↓ 2 callers
Method
write
(&mut self, buff: &[u8])
tunshell-client/src/shell/client/xtermjs.rs:68
↓ 2 callers
Method
write_prompt
(&mut self)
tunshell-client/src/shell/server/fallback/interpreter.rs:254
↓ 1 callers
Method
advance_cursor
(&mut self, offset: usize)
tunshell-client/src/shell/server/fallback/interpreter.rs:100
↓ 1 callers
Function
attempt_direct_connection
(con1: &mut Connection, con2: &mut Connection)
tunshell-server/src/relay/server/relay.rs:103
↓ 1 callers
Method
attempt_direct_connection
( &mut self, mut tcp: Option<p2p::tcp::TcpConnection>, mut udp: Option<p2p::udp_adapto
tunshell-client/src/client.rs:224
↓ 1 callers
Method
authenticate
(&self, stream: &mut ShellStream, key: ShellKey)
tunshell-client/src/shell/client/mod.rs:115
↓ 1 callers
Method
backspace
(&mut self)
tunshell-client/src/shell/server/fallback/interpreter.rs:146
↓ 1 callers
Method
bind_addr
(&self)
tunshell-client/src/p2p/udp/config.rs:59
↓ 1 callers
Method
bind_direct_connection
( &mut self, peer_info: &mut PeerJoinedPayload, )
tunshell-client/src/client.rs:179
↓ 1 callers
Method
can_delegate
(&self)
tunshell-client/src/shell/server/default.rs:38
↓ 1 callers
Method
can_send_sequence_number
(&self, sequence_number: SequenceNumber)
tunshell-client/src/p2p/udp/congestion.rs:30
↓ 1 callers
Method
change_pwd
(&mut self, dir: String)
tunshell-client/src/shell/server/fallback/interpreter.rs:292
↓ 1 callers
Method
clear_acknowledged_packets
(&mut self)
tunshell-client/src/p2p/udp/resender.rs:16
↓ 1 callers
Method
close
(&mut self)
tunshell-client/src/p2p/udp/connection.rs:200
↓ 1 callers
Method
color
(&self)
tunshell-client/src/shell/client/shell.rs:144
↓ 1 callers
Function
configure_rpty_command
(command: &mut Command, config: &RptyCommandConfig)
tunshell-client/src/shell/server/remote_pty.rs:315
↓ 1 callers
Method
connect
(&mut self, peer_port: u16, _master_side: bool)
tunshell-client/src/p2p/tcp.rs:79
↓ 1 callers
Method
connect_timeout
(&self)
tunshell-client/src/p2p/udp/config.rs:49
↓ 1 callers
Function
connect_via_http_proxy
( config: &Config, port: u16, http_proxy: String, )
tunshell-client/src/server/tcp_stream.rs:43
↓ 1 callers
Function
connect_via_http_proxy
( config: &Config, port: u16, http_proxy: String, )
tunshell-client/src/server/ring_tls_stream.rs:103
↓ 1 callers
Function
copy_file_to_memfd
(path: &str)
tunshell-client/src/shell/server/remote_pty.rs:353
↓ 1 callers
Function
cors
()
tunshell-server/src/api/cors.rs:3
↓ 1 callers
Method
create_command
(&self, program: &str, args: Vec<&str>)
tunshell-client/src/shell/server/fallback/interpreter.rs:342
↓ 1 callers
Function
create_pty_sock
()
tunshell-client/src/shell/server/remote_pty.rs:723
↓ 1 callers
Function
create_rpty_command
(path: &str, config: &RptyCommandConfig)
tunshell-client/src/shell/server/remote_pty.rs:309
↓ 1 callers
Method
custom_io_handling
(&self)
tunshell-client/src/shell/server/pty.rs:229
← previous
next →
101–200 of 824, ranked by callers