Home
last modified time | relevance | path

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

/external/openssh/
Dchannels.c1376 } s5_req, s5_rsp; in channel_decode_socks5() local
1422 if (have < sizeof(s5_req)+1) in channel_decode_socks5()
1424 memcpy(&s5_req, p, sizeof(s5_req)); in channel_decode_socks5()
1425 if (s5_req.version != 0x05 || in channel_decode_socks5()
1426 s5_req.command != SSH_SOCKS5_CONNECT || in channel_decode_socks5()
1427 s5_req.reserved != 0x00) { in channel_decode_socks5()
1431 switch (s5_req.atyp){ in channel_decode_socks5()
1437 addrlen = p[sizeof(s5_req)]; in channel_decode_socks5()
1445 debug2("channel %d: bad socks5 atyp %d", c->self, s5_req.atyp); in channel_decode_socks5()
1448 need = sizeof(s5_req) + addrlen + 2; in channel_decode_socks5()
[all …]