Home
last modified time | relevance | path

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

/trueos/lib/libc/net/
HDgetnetbydns.c275 char qbuf[MAXDNAME]; in _dns_getnetbyaddr() local
312 sprintf(qbuf, "0.0.0.%u.in-addr.arpa", netbr[3]); in _dns_getnetbyaddr()
315 sprintf(qbuf, "0.0.%u.%u.in-addr.arpa", netbr[3], netbr[2]); in _dns_getnetbyaddr()
318 sprintf(qbuf, "0.%u.%u.%u.in-addr.arpa", netbr[3], netbr[2], in _dns_getnetbyaddr()
322 sprintf(qbuf, "%u.%u.%u.%u.in-addr.arpa", netbr[3], netbr[2], in _dns_getnetbyaddr()
331 anslen = res_nquery(statp, qbuf, C_IN, T_PTR, (u_char *)buf, in _dns_getnetbyaddr()
381 char qbuf[MAXDNAME]; in _dns_getnetbyname() local
410 strncpy(qbuf, net, sizeof(qbuf) - 1); in _dns_getnetbyname()
411 qbuf[sizeof(qbuf) - 1] = '\0'; in _dns_getnetbyname()
412 anslen = res_nsearch(statp, qbuf, C_IN, T_PTR, (u_char *)buf, in _dns_getnetbyname()
HDgethostbydns.c571 char qbuf[MAXDNAME+1], *qp; in _dns_gethostbyaddr() local
603 (void) sprintf(qbuf, "%u.%u.%u.%u.in-addr.arpa", in _dns_gethostbyaddr()
610 qp = qbuf; in _dns_gethostbyaddr()
616 strlcat(qbuf, "ip6.arpa", sizeof(qbuf)); in _dns_gethostbyaddr()
626 n = res_nquery(statp, qbuf, C_IN, T_PTR, (u_char *)buf->buf, in _dns_gethostbyaddr()
640 if (gethostanswer(buf, n, qbuf, T_PTR, &he, hed, statp) != 0) { in _dns_gethostbyaddr()
HDhesiod.c374 unsigned char qbuf[PACKETSZ], abuf[MAX_HESRESP], *p, *eom, *eor; local
384 NULL, qbuf, PACKETSZ);
389 n = res_send(qbuf, n, abuf, MAX_HESRESP);
/trueos/contrib/unbound/services/
HDoutside_network.c110 if((r = memcmp(q1->qbuf, q2->qbuf, 10)) != 0) in serviced_cmp()
112 if((r = memcmp(q1->qbuf+q1->qbuflen-4, q2->qbuf+q2->qbuflen-4, 4)) != 0) in serviced_cmp()
119 if((r = query_dname_compare(q1->qbuf+10, q2->qbuf+10)) != 0) in serviced_cmp()
732 free(sq->qbuf);
1196 key.qbuf = sldns_buffer_begin(buff);
1219 sq->qbuf = memdup(sldns_buffer_begin(buff), sldns_buffer_limit(buff));
1220 if(!sq->qbuf) {
1227 free(sq->qbuf);
1311 serviced_perturb_qname(struct ub_randstate* rnd, uint8_t* qbuf, size_t len) argument
1314 uint8_t* d = qbuf + 10;
[all …]
HDmesh.c237 int mesh_make_new_space(struct mesh_area* mesh, sldns_buffer* qbuf) in mesh_make_new_space() argument
256 if(qbuf) sldns_buffer_copy(mesh->qbuf_bak, qbuf); in mesh_make_new_space()
268 if(qbuf) sldns_buffer_copy(qbuf, mesh->qbuf_bak); in mesh_make_new_space()
HDoutside_network.h303 uint8_t* qbuf; member
HDmesh.h552 int mesh_make_new_space(struct mesh_area* mesh, struct sldns_buffer* qbuf);
/trueos/contrib/ldns/drill/
HDdrill.c141 uint16_t qbuf; in main() local
184 qbuf = 0; in main()
272 qbuf = (uint16_t)atoi(optarg); in main()
273 if (qbuf == 0) { in main()
570 if (qbuf != 0) { in main()
571 ldns_resolver_set_edns_udp_size(res, qbuf); in main()
/trueos/contrib/sendmail/src/
HDmap.c2906 char qbuf[MAXLINE + NIS_MAXNAMELEN]; local
2933 (void) sm_strlcpy(qbuf, map->map_file, sizeof(qbuf));
2938 (void) sm_strlcpyn(qbuf, sizeof(qbuf), 3,
2945 res = nis_lookup(qbuf, FOLLOW_LINKS);
2979 sm_dprintf("nisplus_map_open: %s is not a table\n", qbuf);
3050 char qbuf[MAXLINE + NIS_MAXNAMELEN]; local
3110 (void) sm_snprintf(qbuf, sizeof(qbuf), "[%s=%s],%s.%s",
3114 (void) sm_snprintf(qbuf, sizeof(qbuf), "[%s=%s],%s",
3118 sm_dprintf("qbuf=%s\n", qbuf);
3119 result = nis_list(qbuf, FOLLOW_LINKS | FOLLOW_PATH, NULL, NULL);
[all …]
/trueos/lib/liblaunch/
HDlibvproc.c554 char qbuf[QTN_SERIALIZED_DATA_MAX]; in _spawn_via_launchd() local
557 if (qtn_proc_to_data(spawn_attrs->spawn_quarantine, qbuf, &qbuf_sz) == 0) { in _spawn_via_launchd()
558 tmp = launch_data_new_opaque(qbuf, qbuf_sz); in _spawn_via_launchd()
/trueos/contrib/ntp/ntpd/
HDrefclock_wwv.c945 static double qbuf[DATSIZ]; /* data Q channel delay line */ in wwv_rf() local
991 memset((char *)qbuf, 0, sizeof(qbuf)); in wwv_rf()
1047 up->qrig -= qbuf[iptr]; in wwv_rf()
1048 qbuf[iptr] = dtemp; in wwv_rf()
/trueos/sys/dev/cxgbe/common/
HDt4_hw.c2814 u16 qbuf[3]; in t4_config_rss_range() local
2815 u16 *qbp = qbuf; in t4_config_rss_range()
2819 qbuf[0] = qbuf[1] = qbuf[2] = 0; in t4_config_rss_range()
2827 *qp++ = cpu_to_be32(V_FW_RSS_IND_TBL_CMD_IQ0(qbuf[0]) | in t4_config_rss_range()
2828 V_FW_RSS_IND_TBL_CMD_IQ1(qbuf[1]) | in t4_config_rss_range()
2829 V_FW_RSS_IND_TBL_CMD_IQ2(qbuf[2])); in t4_config_rss_range()