Home
last modified time | relevance | path

Searched refs:hbuf (Results 1 – 9 of 9) sorted by relevance

/external/iputils/
Dtracepath6.c210 char abuf[NI_MAXHOST], hbuf[NI_MAXHOST]; in recverr() local
241 hbuf, sizeof(hbuf), NULL, 0, in recverr()
247 strcpy(hbuf, "???"); in recverr()
249 hbuf[0] = 0; in recverr()
252 print_host(abuf, hbuf, show_both); in recverr()
254 print_host(hbuf, abuf, show_both); in recverr()
/external/ipsec-tools/src/racoon/
Disakmp_quick.c315 vchar_t *hbuf = NULL; /* for hash computing. */ local
381 hbuf = vmalloc(tlen);
382 if (hbuf == NULL) {
387 p = hbuf->v + iph2->nonce->l; /* retain the space for Ni_b */
484 memcpy(hbuf->v, iph2->nonce->v, iph2->nonce->l);
487 hbuf->l, tlen + iph2->nonce->l);
489 hbuf->l = iph2->nonce->l + tlen;
502 my_hash = oakley_compute_hash1(iph2->ph1, iph2->msgid, hbuf);
529 if (hbuf)
530 vfree(hbuf);
[all …]
/external/toybox/toys/pending/
Dtcpsvd.c75 char hbuf[NI_MAXHOST] = {0,}; in sock_to_address() local
80 if (!(status = getnameinfo(sock, len, hbuf, sizeof(hbuf), sbuf, in sock_to_address()
82 if (flags & NI_NUMERICSERV) return xmprintf("%s:%s",hbuf, sbuf); in sock_to_address()
83 return xmprintf("%s",hbuf); in sock_to_address()
Darp.c188 char hbuf[NI_MAXHOST] = {0,}, sbuf[NI_MAXSERV] = {0,}; in ip_to_host() local
192 if (!(status = getnameinfo(sa, len, hbuf, sizeof(hbuf), sbuf, in ip_to_host()
194 strcpy(toybuf, hbuf); in ip_to_host()
Dnetstat.c234 char hbuf[NI_MAXHOST] = {0,}, sbuf[NI_MAXSERV] = {0,}; in addr2str() local
243 … if (!getnameinfo(rp->ai_addr, sock_len, hbuf, sizeof(hbuf), sbuf, sizeof(sbuf), NI_NUMERICSERV)) in addr2str()
249 if (*hbuf) { in addr2str()
251 memcpy(ip, hbuf, (ADDR_LEN - plen - 2)); in addr2str()
/external/openssh/
Dkex.c791 u_int8_t hbuf[2048], sbuf[2048], obuf[SSH_DIGEST_MAX_LENGTH]; in derive_ssh1_session_id() local
798 if (hlen < (512 / 8) || (u_int)hlen > sizeof(hbuf) || in derive_ssh1_session_id()
801 if (BN_bn2bin(host_modulus, hbuf) <= 0 || in derive_ssh1_session_id()
810 if (ssh_digest_update(hashctx, hbuf, hlen) != 0 || in derive_ssh1_session_id()
821 explicit_bzero(hbuf, sizeof(hbuf)); in derive_ssh1_session_id()
/external/zlib/src/
Dinflate.c443 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[4]; /* buffer for gzip header crc calculation */ local
/external/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/
Dfx_zlib_inflate.c443 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[4]; /* buffer for gzip header crc calculation */ in inflate() local
/external/tcpdump/
Dprint-icmp6.c1252 char hbuf[NI_MAXHOST]; in icmp6_rrenum_print() local
1320 if (inet_ntop(AF_INET6, &match->rpm_prefix, hbuf, sizeof(hbuf))) in icmp6_rrenum_print()
1321 printf(",%s/%u", hbuf, match->rpm_matchlen); in icmp6_rrenum_print()
1363 if (inet_ntop(AF_INET6, &use->rpu_prefix, hbuf, in icmp6_rrenum_print()
1364 sizeof(hbuf))) in icmp6_rrenum_print()
1365 printf("%s/%u/%u", hbuf, use->rpu_uselen, in icmp6_rrenum_print()