Lines Matching defs:ContextForward
101 pub struct ContextForward { struct
102 session_id: u32,
103 channel_id: u32,
104 check_order: bool,
105 is_master: bool,
106 id: u32,
107 fd: i32,
108 target_fd: i32,
109 forward_type: ForwardType,
110 local_args: Vec<String>,
111 remote_args: Vec<String>,
112 task_command: String,
113 last_error: String,
114 remote_parameters: String,
115 dev_path: String,
278 pub async fn add(cid: u32, value: ContextForward) { in add()
284 pub async fn update(cid: u32, value: ContextForward) { in update()
297 pub async fn get(cid: u32) -> Option<ContextForward> { in get()
566 ctx: &mut ContextForward, in check_command()
653 pub async fn forward_tcp_accept(ctx: &mut ContextForward, port: u32) -> io::Result<()> { in forward_tcp_accept()
866 async fn server_socket_bind_listen(ctx: &mut ContextForward, path: String) -> bool { in server_socket_bind_listen()
1113 pub async fn daemon_connect_pipe(ctx: &mut ContextForward) { in daemon_connect_pipe()
1386 pub async fn read_data_to_forward(ctx: &mut ContextForward) { in read_data_to_forward()
1444 pub async fn write_forward_bufer(ctx: &mut ContextForward, content: Vec<u8>) -> bool { in write_forward_bufer()
1475 ) -> ContextForward { in malloc_context()