Lines Matching refs:s4_req
1128 } s4_req, s4_rsp; in channel_decode_socks4() local
1133 len = sizeof(s4_req); in channel_decode_socks4()
1161 buffer_get(&c->input, (char *)&s4_req.version, 1); in channel_decode_socks4()
1162 buffer_get(&c->input, (char *)&s4_req.command, 1); in channel_decode_socks4()
1163 buffer_get(&c->input, (char *)&s4_req.dest_port, 2); in channel_decode_socks4()
1164 buffer_get(&c->input, (char *)&s4_req.dest_addr, 4); in channel_decode_socks4()
1182 host = inet_ntoa(s4_req.dest_addr); in channel_decode_socks4()
1202 c->host_port = ntohs(s4_req.dest_port); in channel_decode_socks4()
1205 c->self, c->path, c->host_port, s4_req.command); in channel_decode_socks4()
1207 if (s4_req.command != 1) { in channel_decode_socks4()
1209 c->self, need == 1 ? "SOCKS4" : "SOCKS4A", s4_req.command); in channel_decode_socks4()