Home
last modified time | relevance | path

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

/external/openssh/
Dchannels.c1134 } s5_req, s5_rsp; in channel_decode_socks5() local
1172 if (have < sizeof(s5_req)+1) in channel_decode_socks5()
1174 memcpy(&s5_req, p, sizeof(s5_req)); in channel_decode_socks5()
1175 if (s5_req.version != 0x05 || in channel_decode_socks5()
1176 s5_req.command != SSH_SOCKS5_CONNECT || in channel_decode_socks5()
1177 s5_req.reserved != 0x00) { in channel_decode_socks5()
1181 switch (s5_req.atyp){ in channel_decode_socks5()
1187 addrlen = p[sizeof(s5_req)]; in channel_decode_socks5()
1195 debug2("channel %d: bad socks5 atyp %d", c->self, s5_req.atyp); in channel_decode_socks5()
1198 need = sizeof(s5_req) + addrlen + 2; in channel_decode_socks5()
[all …]