Searched refs:hbuf (Results 1 - 7 of 7) sorted by relevance

/external/dropbear/
H A Ddbutil.c396 char hbuf[NI_MAXHOST], sbuf[NI_MAXSERV]; local
417 ret = getnameinfo((struct sockaddr*)addr, len, hbuf, sizeof(hbuf),
427 len = strlen(hbuf) + 2 + strlen(sbuf);
429 snprintf(retstring, len, "%s:%s", hbuf, sbuf);
431 retstring = m_strdup(hbuf);
442 char hbuf[NI_MAXHOST]; local
467 ret = getnameinfo((struct sockaddr*)addr, len, hbuf, sizeof(hbuf),
477 return m_strdup(hbuf);
[all...]
/external/iputils/
H A Dtracepath6.c210 char abuf[NI_MAXHOST], hbuf[NI_MAXHOST]; local
241 hbuf, sizeof(hbuf), NULL, 0,
247 strcpy(hbuf, "???");
249 hbuf[0] = 0;
252 print_host(abuf, hbuf, show_both);
254 print_host(hbuf, abuf, show_both);
/external/ipsec-tools/src/racoon/
H A Disakmp_quick.c316 vchar_t *hbuf = NULL; /* for hash computing. */
382 hbuf = vmalloc(tlen);
383 if (hbuf == NULL) {
388 p = hbuf->v + iph2->nonce->l; /* retain the space for Ni_b */
392 * copy non-HASH payloads into hbuf, so that we can validate HASH.
485 memcpy(hbuf->v, iph2->nonce->v, iph2->nonce->l);
487 "HASH allocated:hbuf->l=%zu actual:tlen=%zu\n",
488 hbuf->l, tlen + iph2->nonce->l);
490 hbuf->l = iph2->nonce->l + tlen;
503 my_hash = oakley_compute_hash1(iph2->ph1, iph2->msgid, hbuf);
315 vchar_t *hbuf = NULL; /* for hash computing. */ local
839 vchar_t *hbuf = NULL; /* for hash computing. */ local
[all...]
/external/tcpdump/
H A Dprint-icmp6.c1158 char hbuf[NI_MAXHOST]; local
1226 if (inet_ntop(AF_INET6, &match->rpm_prefix, hbuf, sizeof(hbuf)))
1227 printf(",%s/%u", hbuf, match->rpm_matchlen);
1269 if (inet_ntop(AF_INET6, &use->rpu_prefix, hbuf,
1270 sizeof(hbuf)))
1271 printf("%s/%u/%u", hbuf, use->rpu_uselen,
/external/chromium_org/third_party/zlib/
H A Dinflate.c25 * - Make hbuf[] unsigned char to match parameter type in inflate.c
422 hbuf[0] = (unsigned char)(word); \
423 hbuf[1] = (unsigned char)((word) >> 8); \
424 check = crc32(check, hbuf, 2); \
429 hbuf[0] = (unsigned char)(word); \
430 hbuf[1] = (unsigned char)((word) >> 8); \
431 hbuf[2] = (unsigned char)((word) >> 16); \
432 hbuf[3] = (unsigned char)((word) >> 24); \
433 check = crc32(check, hbuf, 4); \
607 unsigned char hbuf[ local
[all...]
/external/qemu/distrib/zlib-1.2.3/
H A Dinflate.c25 * - Make hbuf[] unsigned char to match parameter type in inflate.c
387 hbuf[0] = (unsigned char)(word); \
388 hbuf[1] = (unsigned char)((word) >> 8); \
389 check = crc32(check, hbuf, 2); \
394 hbuf[0] = (unsigned char)(word); \
395 hbuf[1] = (unsigned char)((word) >> 8); \
396 hbuf[2] = (unsigned char)((word) >> 16); \
397 hbuf[3] = (unsigned char)((word) >> 24); \
398 check = crc32(check, hbuf, 4); \
572 unsigned char hbuf[ local
[all...]
/external/zlib/src/
H A Dinflate.c25 * - Make hbuf[] unsigned char to match parameter type in inflate.c
443 hbuf[0] = (unsigned char)(word); \
444 hbuf[1] = (unsigned char)((word) >> 8); \
445 check = crc32(check, hbuf, 2); \
450 hbuf[0] = (unsigned char)(word); \
451 hbuf[1] = (unsigned char)((word) >> 8); \
452 hbuf[2] = (unsigned char)((word) >> 16); \
453 hbuf[3] = (unsigned char)((word) >> 24); \
454 check = crc32(check, hbuf, 4); \
623 unsigned char hbuf[ local
[all...]

Completed in 262 milliseconds