MCPcopy Create free account

hub / github.com/TimeToogo/tunshell / functions

Functions824 in github.com/TimeToogo/tunshell

↓ 3 callersFunctionnegotiate_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 callersMethodopen
( sequence_number: SequenceNumber, ack_number: SequenceNumber, window: u32, )
tunshell-client/src/p2p/udp/packet.rs:144
↓ 3 callersMethodpoll_next
(mut self: Pin<&mut Self>, cx: &mut Context<'_>)
tunshell-client/src/shell/server/fallback/input_stream.rs:112
↓ 3 callersMethodpush_token
(&mut self, token: Token)
tunshell-client/src/shell/server/fallback/input_stream.rs:92
↓ 3 callersMethodset_state_connected
(&mut self, event_sender: UnboundedSender<SendEvent>)
tunshell-client/src/p2p/udp/state.rs:138
↓ 3 callersMethodset_state_disconnected
(&mut self)
tunshell-client/src/p2p/udp/state.rs:154
↓ 3 callersMethodset_state_sent_hello
(&mut self)
tunshell-client/src/p2p/udp/state.rs:110
↓ 3 callersFunctionspawn_rpty_bash_memfd_file
(memfd: StdFile, config: &RptyCommandConfig)
tunshell-client/src/shell/server/remote_pty.rs:338
↓ 3 callersMethodstart
(&mut self, terminate_rx: Option<mpsc::Receiver<()>>)
tunshell-server/src/relay/server/mod.rs:45
↓ 3 callersMethodstate
( &self, )
tunshell-client/src/shell/client/remote_pty.rs:176
↓ 3 callersMethodstream_mut
(&mut self)
tunshell-server/src/relay/server/message_stream.rs:32
↓ 3 callersMethodupdate_sequence_number
(&mut self, packet: &UdpPacket)
tunshell-client/src/p2p/udp/sender.rs:154
↓ 3 callersMethodwake_close
(&mut self)
tunshell-client/src/server/websys_websocket_stream.rs:57
↓ 3 callersMethodwake_recv
(&mut self)
tunshell-client/src/server/websys_websocket_stream.rs:45
↓ 3 callersMethodwith_bind_addr
(mut self, value: SocketAddr)
tunshell-client/src/p2p/udp/config.rs:63
↓ 3 callersMethodwrite
(&mut self, buf: &[u8])
tunshell-client/src/shell/server/fallback/byte_channel.rs:48
↓ 2 callersMethodaccept
(&mut self)
tunshell-client/src/shell/client/remote_pty.rs:135
↓ 2 callersMethodbind
(&mut self)
tunshell-client/src/p2p/tcp.rs:70
↓ 2 callersMethodbind
(&mut self)
tunshell-client/src/p2p/udp_adaptor.rs:65
↓ 2 callersFunctioncleanup_pty_sock
(sock_path: &str)
tunshell-client/src/shell/server/remote_pty.rs:734
↓ 2 callersMethodclose
(sequence_number: SequenceNumber, ack_number: SequenceNumber)
tunshell-client/src/p2p/udp/packet.rs:173
↓ 2 callersFunctionconvert_to_size
(arr: JsValue)
tunshell-client/src/shell/client/xtermjs.rs:183
↓ 2 callersFunctioncopy_bytes_to_memfd
(bytes: &[u8])
tunshell-client/src/shell/server/remote_pty.rs:362
↓ 2 callersMethodcreate
( packet_type: UdpPacketType, sequence_number: SequenceNumber, ack_number: SequenceNum
tunshell-client/src/p2p/udp/packet.rs:117
↓ 2 callersMethodcreate_close_packet
(&mut self)
tunshell-client/src/p2p/udp/sender.rs:146
↓ 2 callersFunctioncreate_memfd
()
tunshell-client/src/shell/server/remote_pty.rs:380
↓ 2 callersMethodcreate_open_packet
(&mut self)
tunshell-client/src/p2p/udp/sender.rs:134
↓ 2 callersFunctioncreate_session
(mut store: SessionStore)
tunshell-server/src/api/routes/create_session.rs:12
↓ 2 callersFunctioncstring_ptrs
(values: &[CString])
tunshell-client/src/shell/server/remote_pty.rs:451
↓ 2 callersFunctionencrypt
( plaintext: Vec<u8>, key: Key, )
tunshell-client/src/stream/crypto/ring.rs:35
↓ 2 callersFunctionerror_has_errno
(err: &Error, errno: i32)
tunshell-client/src/shell/server/remote_pty.rs:809
↓ 2 callersMethodexit
(&mut self, code: Option<String>)
tunshell-client/src/shell/server/fallback/interpreter.rs:310
↓ 2 callersMethodexit_sync
(&mut self)
tunshell-client/src/shell/server/pty.rs:163
↓ 2 callersMethodfile_name
(&self)
tunshell-client/src/shell/server/default.rs:16
↓ 2 callersFunctionget_info
()
tunshell-server/src/api/routes/info.rs:16
↓ 2 callersFunctioninit_server
(config: &mut Config)
tunshell-server/src/relay/server/tls.rs:136
↓ 2 callersFunctioninit_server
(config: &mut Config)
tunshell-server/src/relay/server/ws.rs:294
↓ 2 callersMethodinner
(self)
tunshell-client/src/server/tcp_stream.rs:14
↓ 2 callersMethodis_bound
Whether the connection is bound
tunshell-client/src/p2p/udp/connection.rs:64
↓ 2 callersFunctionis_connected
(con: &Arc<Mutex<UdpConnectionVars>>)
tunshell-client/src/p2p/udp/orchestrator.rs:217
↓ 2 callersMethodis_new
Whether the connection has been activated
tunshell-client/src/p2p/udp/connection.rs:56
↓ 2 callersMethodis_running
(&self)
tunshell-client/src/shell/server/pty.rs:289
↓ 2 callersFunctionmake_memfd_executable
(memfd: &StdFile)
tunshell-client/src/shell/server/remote_pty.rs:370
↓ 2 callersMethodparse
(byte: u8)
tunshell-client/src/p2p/udp/packet.rs:59
↓ 2 callersMethodparse_buffer
(&self)
tunshell-shared/src/message_stream.rs:77
↓ 2 callersFunctionparse_network_endpoint
(value: &str)
tunshell-client/src/config.rs:285
↓ 2 callersFunctionparse_port
(value: &str)
tunshell-client/src/config.rs:299
↓ 2 callersFunctionparse_u16_arg
(value: &str, name: &str)
tunshell-client/src/config.rs:305
↓ 2 callersMethodpoll
( mut self: std::pin::Pin<&mut Self>, cx: &mut std::task::Context<'_>, )
tunshell-client/src/stream/crypto/web_sys.rs:21
↓ 2 callersFunctionpoll_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 callersMethodpoll_write
( mut self: Pin<&mut Self>, cx: &mut Context<'_>, buff: &[u8], )
tunshell-client/src/stream/aes_stream.rs:147
↓ 2 callersMethodread
(&mut self, _buff: &mut [u8])
tunshell-client/src/shell/server/remote_pty.rs:260
↓ 2 callersFunctionread_line
(tls: &mut TlsStream<TcpStream>)
tunshell-client/src/shell/server/remote_pty.rs:628
↓ 2 callersMethodread_output
( &'a mut self, buff: &'a mut [u8], )
tunshell-client/src/shell/server/fallback/shell.rs:151
↓ 2 callersMethodrecv_available_bytes
(&self)
tunshell-client/src/p2p/udp/receiver.rs:130
↓ 2 callersMethodrecv_drain_bytes
(&mut self, len: usize)
tunshell-client/src/p2p/udp/receiver.rs:134
↓ 2 callersMethodrecv_window
(&self)
tunshell-client/src/p2p/udp/config.rs:99
↓ 2 callersMethodrecv_window_end
(&self)
tunshell-client/src/p2p/udp/receiver.rs:69
↓ 2 callersMethodrecv_window_start
(&self)
tunshell-client/src/p2p/udp/receiver.rs:65
↓ 2 callersFunctionsend_magic_hello
Send the magic hello sequence to the peer IP on the suggested port
tunshell-client/src/p2p/udp/negotiator.rs:73
↓ 2 callersFunctionsend_sync_packet
(socket: &mut UdpSocket, con: &mut UdpConnectionVars)
tunshell-client/src/p2p/udp/negotiator.rs:120
↓ 2 callersMethodserialise_embedded
(&self)
tunshell-client/src/shell/proto.rs:230
↓ 2 callersMethodserver_connection_timeout
(&self)
tunshell-client/src/config.rs:126
↓ 2 callersMethodset_state_sent_sync
(&mut self)
tunshell-client/src/p2p/udp/state.rs:116
↓ 2 callersMethodset_state_waiting_for_sync
(&mut self)
tunshell-client/src/p2p/udp/state.rs:122
↓ 2 callersFunctionspawn_rpty_bash_memfd
(path: &str, config: &RptyCommandConfig)
tunshell-client/src/shell/server/remote_pty.rs:327
↓ 2 callersMethodstore_send_time_of_packet
(&mut self, sent_packet: &UdpPacket)
tunshell-client/src/p2p/udp/rtt_estimator.rs:5
↓ 2 callersFunctiontest_config
()
tunshell-client/src/shell/server/remote_pty.rs:818
↓ 2 callersMethodto_byte
(&self)
tunshell-client/src/p2p/udp/packet.rs:68
↓ 2 callersMethodtype_id
(&self)
tunshell-shared/src/message.rs:85
↓ 2 callersMethodupdate_resending_packet
(&self, packet: &mut UdpPacket)
tunshell-client/src/p2p/udp/resender.rs:27
↓ 2 callersFunctionwait_for_sync_packet
( socket: &mut UdpSocket, con: &mut UdpConnectionVars, timeout: Duration, )
tunshell-client/src/p2p/udp/negotiator.rs:141
↓ 2 callersMethodwake_pending_send_events
(&mut self)
tunshell-client/src/p2p/udp/congestion.rs:71
↓ 2 callersMethodwake_recv_tasks
(&mut self)
tunshell-client/src/p2p/udp/receiver.rs:124
↓ 2 callersMethodwrite
(&mut self, buff: &[u8])
tunshell-client/src/shell/client/xtermjs.rs:68
↓ 2 callersMethodwrite_prompt
(&mut self)
tunshell-client/src/shell/server/fallback/interpreter.rs:254
↓ 1 callersMethodadvance_cursor
(&mut self, offset: usize)
tunshell-client/src/shell/server/fallback/interpreter.rs:100
↓ 1 callersFunctionattempt_direct_connection
(con1: &mut Connection, con2: &mut Connection)
tunshell-server/src/relay/server/relay.rs:103
↓ 1 callersMethodattempt_direct_connection
( &mut self, mut tcp: Option<p2p::tcp::TcpConnection>, mut udp: Option<p2p::udp_adapto
tunshell-client/src/client.rs:224
↓ 1 callersMethodauthenticate
(&self, stream: &mut ShellStream, key: ShellKey)
tunshell-client/src/shell/client/mod.rs:115
↓ 1 callersMethodbackspace
(&mut self)
tunshell-client/src/shell/server/fallback/interpreter.rs:146
↓ 1 callersMethodbind_addr
(&self)
tunshell-client/src/p2p/udp/config.rs:59
↓ 1 callersMethodbind_direct_connection
( &mut self, peer_info: &mut PeerJoinedPayload, )
tunshell-client/src/client.rs:179
↓ 1 callersMethodcan_delegate
(&self)
tunshell-client/src/shell/server/default.rs:38
↓ 1 callersMethodcan_send_sequence_number
(&self, sequence_number: SequenceNumber)
tunshell-client/src/p2p/udp/congestion.rs:30
↓ 1 callersMethodchange_pwd
(&mut self, dir: String)
tunshell-client/src/shell/server/fallback/interpreter.rs:292
↓ 1 callersMethodclear_acknowledged_packets
(&mut self)
tunshell-client/src/p2p/udp/resender.rs:16
↓ 1 callersMethodclose
(&mut self)
tunshell-client/src/p2p/udp/connection.rs:200
↓ 1 callersMethodcolor
(&self)
tunshell-client/src/shell/client/shell.rs:144
↓ 1 callersFunctionconfigure_rpty_command
(command: &mut Command, config: &RptyCommandConfig)
tunshell-client/src/shell/server/remote_pty.rs:315
↓ 1 callersMethodconnect
(&mut self, peer_port: u16, _master_side: bool)
tunshell-client/src/p2p/tcp.rs:79
↓ 1 callersMethodconnect_timeout
(&self)
tunshell-client/src/p2p/udp/config.rs:49
↓ 1 callersFunctionconnect_via_http_proxy
( config: &Config, port: u16, http_proxy: String, )
tunshell-client/src/server/tcp_stream.rs:43
↓ 1 callersFunctionconnect_via_http_proxy
( config: &Config, port: u16, http_proxy: String, )
tunshell-client/src/server/ring_tls_stream.rs:103
↓ 1 callersFunctioncopy_file_to_memfd
(path: &str)
tunshell-client/src/shell/server/remote_pty.rs:353
↓ 1 callersFunctioncors
()
tunshell-server/src/api/cors.rs:3
↓ 1 callersMethodcreate_command
(&self, program: &str, args: Vec<&str>)
tunshell-client/src/shell/server/fallback/interpreter.rs:342
↓ 1 callersFunctioncreate_pty_sock
()
tunshell-client/src/shell/server/remote_pty.rs:723
↓ 1 callersFunctioncreate_rpty_command
(path: &str, config: &RptyCommandConfig)
tunshell-client/src/shell/server/remote_pty.rs:309
↓ 1 callersMethodcustom_io_handling
(&self)
tunshell-client/src/shell/server/pty.rs:229
← previousnext →101–200 of 824, ranked by callers