Lines Matching refs:response
313 unsigned char response[256 + 16]; in socks4() local
341 response[0] = 0; /* reply version 0 */ in socks4()
342 response[1] = cd; /* result */ in socks4()
344 memcpy(&response[2], &buffer[SOCKS4_DSTPORT], 6); in socks4()
345 rc = (send)(fd, (char *)response, 8, 0); in socks4()
351 loghex(response, rc); in socks4()
366 unsigned char response[2*256 + 16]; in sockit() local
414 response[0] = config.responseversion; in sockit()
415 response[1] = config.responsemethod; in sockit()
416 rc = (send)(fd, (char *)response, 2, 0); in sockit()
422 loghex(response, rc); in sockit()
471 response[0] = 1; in sockit()
472 response[1] = login ? 0 : 1; in sockit()
473 rc = (send)(fd, (char *)response, 2, 0); in sockit()
479 loghex(response, rc); in sockit()
592 response[SOCKS5_VERSION] = config.responseversion; in sockit()
607 response[SOCKS5_REP] = rep; in sockit()
608 response[SOCKS5_RESERVED] = 0; /* must be zero */ in sockit()
609 response[SOCKS5_ATYP] = type; /* address type */ in sockit()
614 memcpy(&response[SOCKS5_BNDADDR], address, len); in sockit()
617 memcpy(&response[SOCKS5_BNDADDR + len], in sockit()
620 rc = (send)(fd, (char *)response, (SEND_TYPE_ARG3)(len + 6), 0); in sockit()
626 loghex(response, rc); in sockit()