Lines Matching refs:buf2
1019 char buf[MAX_TCP_SIZE], buf2[MAX_TCP_SIZE];
1101 bzero(buf2, MAX_TCP_SIZE);
1102 if (recv(s, buf2, MAX_TCP_SIZE, 0) == -1) {
1108 ret = buf2[5] & 0xf; /* error field in TCP */
1115 tmpptr = &buf2[2];
1122 tmpptr = &buf2[59+(strlen(key_name)+2)*2];
1127 in_tok.value = &buf2[61+(strlen(key_name)+2)*2];
1552 char buf[NS_PACKETSZ], buf2[NS_PACKETSZ];
1620 if (dyndns_udp_send_recv(s2, buf, buf_sz, buf2)) {
1632 ret = buf2[3] & 0xf; /* error field in UDP */
1647 (void) dyndns_get_nshort(buf2, &rid);
1785 char buf[NS_PACKETSZ], buf2[NS_PACKETSZ];
1825 if (dyndns_udp_send_recv(s, buf, buf_sz, buf2)) {
1832 ret = buf2[3] & 0xf; /* error field in UDP */
1843 (void) dyndns_get_nshort(buf2, &rid);