/freebsd-11-stable/lib/libc/net/ |
H A D | getnetbydns.c | 275 char qbuf[MAXDNAME]; local 312 sprintf(qbuf, "0.0.0.%u.in-addr.arpa", netbr[3]); 315 sprintf(qbuf, "0.0.%u.%u.in-addr.arpa", netbr[3], netbr[2]); 318 sprintf(qbuf, "0.%u.%u.%u.in-addr.arpa", netbr[3], netbr[2], 322 sprintf(qbuf, "%u.%u.%u.%u.in-addr.arpa", netbr[3], netbr[2], 331 anslen = res_nquery(statp, qbuf, C_IN, T_PTR, (u_char *)buf, 381 char qbuf[MAXDNAME]; local 410 strncpy(qbuf, net, sizeof(qbuf) - 1); 411 qbuf[sizeo [all...] |
H A D | gethostbydns.c | 567 char qbuf[MAXDNAME+1], *qp; local 599 (void) sprintf(qbuf, "%u.%u.%u.%u.in-addr.arpa", 606 qp = qbuf; 612 strlcat(qbuf, "ip6.arpa", sizeof(qbuf)); 622 n = res_nquery(statp, qbuf, C_IN, T_PTR, (u_char *)buf->buf, 636 if (gethostanswer(buf, n, qbuf, T_PTR, &he, hed, statp) != 0) {
|
H A D | hesiod.c | 373 unsigned char qbuf[PACKETSZ], abuf[MAX_HESRESP], *p, *eom, *eor; local 383 NULL, qbuf, PACKETSZ); 388 n = res_send(qbuf, n, abuf, MAX_HESRESP);
|
/freebsd-11-stable/contrib/unbound/dnstap/ |
H A D | dnstap.h | 175 * @param qbuf: outside_network's qbuf key. 176 * @param qbuf_len: length of outside_network's qbuf key. 186 uint8_t *qbuf, size_t qbuf_len,
|
H A D | dnstap.c | 472 uint8_t *qbuf, size_t qbuf_len, 481 memcpy(&qflags, qbuf, sizeof(qflags)); 468 dt_msg_send_outside_response(struct dt_env *env, struct sockaddr_storage *rsock, enum comm_point_type cptype, uint8_t *zone, size_t zone_len, uint8_t *qbuf, size_t qbuf_len, const struct timeval *qtime, const struct timeval *rtime, sldns_buffer *rmsg) argument
|
/freebsd-11-stable/contrib/ldns/drill/ |
H A D | drill.c | 141 uint16_t qbuf; local 184 qbuf = 0; 272 qbuf = (uint16_t)atoi(optarg); 273 if (qbuf == 0) { 570 if (qbuf != 0) { 571 ldns_resolver_set_edns_udp_size(res, qbuf);
|
/freebsd-11-stable/contrib/ldns-host/ |
H A D | ldns-host.c | 179 ldns_buffer *qbuf = NULL; local 196 qbuf = ldns_buffer_new(LDNS_MAX_PACKETLEN); 197 if (qbuf == NULL) { 202 status = ldns_pkt2buffer_wire(qbuf, qpkt); 206 if (ldns_tcp_send_query(qbuf, res->_socket, ns, (socklen_t)ns_len) == 0) { 211 ldns_buffer_free(qbuf); 216 ldns_buffer_free(qbuf);
|
/freebsd-11-stable/contrib/unbound/services/ |
H A D | outside_network.c | 123 if((r = memcmp(q1->qbuf, q2->qbuf, 10)) != 0) 125 if((r = memcmp(q1->qbuf+q1->qbuflen-4, q2->qbuf+q2->qbuflen-4, 4)) != 0) 132 if((r = query_dname_compare(q1->qbuf+10, q2->qbuf+10)) != 0) 1527 free(sq->qbuf); 2247 key.qbuf = sldns_buffer_begin(buff); 2272 sq->qbuf = memdup(sldns_buffer_begin(buff), sldns_buffer_limit(buff)); 2273 if(!sq->qbuf) { 2450 serviced_perturb_qname(struct ub_randstate* rnd, uint8_t* qbuf, size_t len) argument 2578 serviced_check_qname(sldns_buffer* pkt, uint8_t* qbuf, size_t qbuflen) argument [all...] |
H A D | mesh.h | 620 * @param qbuf: query buffer to save if recursion is invoked to make space. 629 int mesh_make_new_space(struct mesh_area* mesh, struct sldns_buffer* qbuf);
|
H A D | outside_network.h | 131 /** serviced queries, sorted by qbuf, addr, dnssec */ 442 uint8_t* qbuf; member in struct:serviced_query 443 /** length of qbuf. */
|
H A D | mesh.c | 323 int mesh_make_new_space(struct mesh_area* mesh, sldns_buffer* qbuf) argument 342 if(qbuf) sldns_buffer_copy(mesh->qbuf_bak, qbuf); 354 if(qbuf) sldns_buffer_copy(qbuf, mesh->qbuf_bak);
|
/freebsd-11-stable/contrib/sendmail/src/ |
H A D | map.c | 3335 char qbuf[MAXLINE + NIS_MAXNAMELEN]; local 3362 (void) sm_strlcpy(qbuf, map->map_file, sizeof(qbuf)); 3367 (void) sm_strlcpyn(qbuf, sizeof(qbuf), 3, 3374 res = nis_lookup(qbuf, FOLLOW_LINKS); 3408 sm_dprintf("nisplus_map_open: %s is not a table\n", qbuf); 3479 char qbuf[MAXLINE + NIS_MAXNAMELEN]; local 3539 (void) sm_snprintf(qbuf, sizeof(qbuf), "[ 3618 char qbuf[MAXLINE + NIS_MAXNAMELEN]; local [all...] |
/freebsd-11-stable/contrib/ntp/ntpd/ |
H A D | refclock_wwv.c | 940 static double qbuf[DATSIZ]; /* data Q channel delay line */ local 985 memset((char *)qbuf, 0, sizeof(qbuf)); 1041 up->qrig -= qbuf[iptr]; 1042 qbuf[iptr] = dtemp;
|
/freebsd-11-stable/sys/dev/cxgbe/common/ |
H A D | t4_hw.c | 5537 u16 qbuf[3]; local 5538 u16 *qbp = qbuf; 5542 qbuf[0] = qbuf[1] = qbuf[2] = 0; 5550 *qp++ = cpu_to_be32(V_FW_RSS_IND_TBL_CMD_IQ0(qbuf[0]) | 5551 V_FW_RSS_IND_TBL_CMD_IQ1(qbuf[1]) | 5552 V_FW_RSS_IND_TBL_CMD_IQ2(qbuf[2]));
|