Home
last modified time | relevance | path

Searched refs:chansess (Results 1 – 6 of 6) sorted by relevance

/external/dropbear/
Dsvr-chansession.c43 static int sessioncommand(struct Channel *channel, struct ChanSess *chansess,
45 static int sessionpty(struct ChanSess * chansess);
46 static int sessionsignal(struct ChanSess *chansess);
47 static int noptycommand(struct Channel *channel, struct ChanSess *chansess);
48 static int ptycommand(struct Channel *channel, struct ChanSess *chansess);
49 static int sessionwinchange(struct ChanSess *chansess);
50 static void execchild(struct ChanSess *chansess);
51 static void addchildpid(struct ChanSess *chansess, pid_t pid);
59 struct ChanSess * chansess);
61 struct ChanSess * chansess);
[all …]
Dsvr-x11fwd.c46 int x11req(struct ChanSess * chansess) { in x11req() argument
51 if (chansess->x11listener != NULL) { in x11req()
55 chansess->x11singleconn = buf_getbool(ses.payload); in x11req()
56 chansess->x11authprot = buf_getstring(ses.payload, NULL); in x11req()
57 chansess->x11authcookie = buf_getstring(ses.payload, NULL); in x11req()
58 chansess->x11screennum = buf_getint(ses.payload); in x11req()
67 chansess->x11port = bindport(fd); in x11req()
68 if (chansess->x11port < 0) { in x11req()
83 chansess->x11listener = new_listener( &fd, 1, 0, chansess, x11accept, NULL); in x11req()
84 if (chansess->x11listener == NULL) { in x11req()
[all …]
Dsvr-agentfwd.c46 static int bindagent(int fd, struct ChanSess * chansess);
51 int agentreq(struct ChanSess * chansess) { in agentreq() argument
55 if (chansess->agentlistener != NULL) { in agentreq()
66 if (bindagent(fd, chansess) == DROPBEAR_FAILURE) { in agentreq()
79 chansess->agentlistener = new_listener( &fd, 1, 0, chansess, in agentreq()
82 if (chansess->agentlistener == NULL) { in agentreq()
90 agentcleanup(chansess); in agentreq()
116 void agentset(struct ChanSess * chansess) { in agentset() argument
121 if (chansess->agentlistener == NULL) { in agentset()
126 len = strlen(chansess->agentdir) + strlen(chansess->agentfile) + 2; in agentset()
[all …]
Dagentfwd.h32 int agentreq(struct ChanSess * chansess);
33 void agentsetauth(struct ChanSess *chansess);
34 void agentcleanup(struct ChanSess * chansess);
35 void agentset(struct ChanSess *chansess);
Dx11fwd.h32 int x11req(struct ChanSess * chansess);
33 void x11setauth(struct ChanSess *chansess);
34 void x11cleanup(struct ChanSess *chansess);
Dchansession.h72 struct ChanSess * chansess; member