/freebsd-11-stable/contrib/wpa/src/radius/ |
H A D | radius_das.c | 36 const char *abuf, 71 abuf, from_port); 82 abuf, from_port); 94 abuf, from_port); 116 "'%s' from %s:%d", tmp, abuf, from_port); 151 abuf, from_port); 156 "%s:%d", abuf, from_port); 162 abuf, from_port); 194 const char *abuf, int from_port) 236 attr, abuf, from_por 34 radius_das_disconnect(struct radius_das_data *das, struct radius_msg *msg, const char *abuf, int from_port) argument 192 radius_das_coa(struct radius_das_data *das, struct radius_msg *msg, const char *abuf, int from_port) argument 392 char abuf[50]; local [all...] |
H A D | radius_client.c | 582 char abuf[50]; local 588 hostapd_ip_txt(&old->addr, abuf, sizeof(abuf)), 611 char abuf[50]; local 617 hostapd_ip_txt(&old->addr, abuf, sizeof(abuf)), 1072 char abuf[50]; local 1084 hostapd_ip_txt(&nserv->addr, abuf, sizeof(abuf)), 1222 abuf, sizeo 1562 char abuf[50]; local 1611 char abuf[50]; local [all...] |
H A D | radius_server.c | 1836 char abuf[50]; local 1855 if (inet_ntop(AF_INET6, &from.sin6.sin6_addr, abuf, 1856 sizeof(abuf)) == NULL) 1857 abuf[0] = '\0'; 1860 len, abuf, from_port); 1869 os_strlcpy(abuf, inet_ntoa(from.sin.sin_addr), sizeof(abuf)); 1872 len, abuf, from_port); 1880 RADIUS_DEBUG("Unknown client %s - packet ignored", abuf); 1933 RADIUS_DEBUG("Invalid Message-Authenticator from %s", abuf); 1966 char abuf[50]; local 2639 char abuf[50], mbuf[50]; local [all...] |
/freebsd-11-stable/contrib/ipfilter/lib/ |
H A D | printpoolfield.c | 30 char abuf[80]; local 53 abuf, sizeof(abuf))); 59 abuf, sizeof(abuf))); 65 abuf, sizeof(abuf))); 75 abuf, sizeof(abuf))); 81 abuf, sizeo [all...] |
/freebsd-11-stable/libexec/talkd/ |
H A D | print.c | 76 char tbuf[80], abuf[80]; local 84 (void)snprintf(abuf, sizeof(abuf), "answer %d", rp->answer); 85 ap = abuf;
|
/freebsd-11-stable/lib/libnetbsd/ |
H A D | sockaddr_snprintf.c | 115 char abuf[1024], nbuf[1024], *addr = NULL; local 143 (void)strlcpy(addr = abuf, sun->sun_path, sizeof(abuf)); 160 addr = abuf; 164 (void)snprintf(abuf, sizeof(abuf), "link#%hu", 170 (void)strlcpy(abuf, link_ntoa(sdl), sizeof(abuf)); 183 if (addr == abuf) 186 if (a && getnameinfo(sa, (socklen_t)salen, addr = abuf, [all...] |
/freebsd-11-stable/contrib/ntp/libntp/ |
H A D | recvbuff.c | 110 size_t abuf; local 115 abuf = nbufs + buffer_shortfall; 118 if (abuf < nbufs || abuf > RECV_BATCH) 119 abuf = RECV_BATCH; /* clamp on overflow */ 121 abuf += (~abuf + 1) & (RECV_INC - 1); /* round up */ 123 if (abuf > (limit_recvbufs - total_recvbufs)) 124 abuf = limit_recvbufs - total_recvbufs; 125 abuf [all...] |
/freebsd-11-stable/contrib/blacklist/port/ |
H A D | sockaddr_snprintf.c | 167 char abuf[1024], nbuf[1024], *addr = NULL; local 199 (void)snprintf(addr = abuf, sizeof(abuf), "%u.%u", 206 (void)strlcpy(addr = abuf, sun->sun_path, sizeof(abuf)); 221 (void)strlcpy(addr = abuf, link_ntoa(sdl), sizeof(abuf)); 233 if (addr == abuf) 236 if (a && getnameinfo(sa, (socklen_t)SLEN(sa), addr = abuf, 237 (unsigned int)sizeof(abuf), NUL [all...] |
/freebsd-11-stable/tools/regression/aio/aiop/ |
H A D | aiop.c | 127 char **abuf; local 192 abuf = calloc(aio_len, sizeof(char *)); 194 abuf[i] = calloc(1, io_size * sizeof(char)); 201 set_aio(aio + i, choose_aio(iowhat), fd, offset, io_size, abuf[i]); 211 set_aio(aio + n, choose_aio(iowhat), fd, offset, io_size, abuf[n]);
|
/freebsd-11-stable/sys/crypto/via/ |
H A D | padlock_cipher.c | 206 u_char *buf, *abuf; local 214 abuf = PADLOCK_ALIGN(buf); 249 enccrd->crd_len, abuf); 257 padlock_cbc(abuf, abuf, enccrd->crd_len / AES_BLOCK_LEN, key, cw, 263 enccrd->crd_len, abuf);
|
/freebsd-11-stable/lib/libipsec/ |
H A D | ipsec_dump_policy.c | 183 char abuf[NI_MAXHOST * 2 + 2]; local 223 abuf[0] = '\0'; 236 if (set_addresses(abuf, sizeof(abuf), sa1, sa2) != 0) { 261 snprintf(buf, len, "%s/%s/%s/%s", proto, mode, abuf, level); 269 snprintf(buf, len, "%s/%s/%s/%s%c%u", proto, mode, abuf, level,
|
/freebsd-11-stable/usr.bin/mail/ |
H A D | quit.c | 72 FILE *ibuf, *obuf, *fbuf, *rbuf, *readstat, *abuf; local 218 if ((abuf = Fopen(mbox, "r")) != NULL) { 219 while ((c = getc(abuf)) != EOF) 221 (void)Fclose(abuf); 307 abuf = Fopen(mailname, "r+"); 308 if (abuf == NULL) 311 (void)putc(c, abuf); 313 trunc(abuf); 314 (void)Fclose(abuf);
|
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | dmu_diff.c | 154 arc_buf_t *abuf; local 159 if (arc_read(NULL, spa, bp, arc_getbuf_func, &abuf, 164 blk = abuf->b_data; 172 arc_buf_destroy(abuf, &abuf);
|
H A D | dmu_send.c | 652 arc_buf_t *abuf; local 656 if (arc_read(NULL, spa, bp, arc_getbuf_func, &abuf, 661 dnode_phys_t *blk = abuf->b_data; 668 arc_buf_destroy(abuf, &abuf); 671 arc_buf_t *abuf; local 674 if (arc_read(NULL, spa, bp, arc_getbuf_func, &abuf, 679 err = dump_spill(dsa, zb->zb_object, blksz, abuf->b_data); 680 arc_buf_destroy(abuf, &abuf); 690 arc_buf_t *abuf; local 2290 receive_write(struct receive_writer_arg *rwa, struct drr_write *drrw, arc_buf_t *abuf) argument 2759 arc_buf_t *abuf; local [all...] |
/freebsd-11-stable/crypto/openssl/crypto/pkcs7/ |
H A D | pk7_doit.c | 863 unsigned char *abuf = NULL; local 866 abuf = OPENSSL_malloc(abuflen); 867 if (!abuf) 870 if (!EVP_SignFinal(&ctx_tmp, abuf, &abuflen, si->pkey)) { 874 ASN1_STRING_set0(si->enc_digest, abuf, abuflen); 923 unsigned char *abuf = NULL; local 942 alen = ASN1_item_i2d((ASN1_VALUE *)si->auth_attr, &abuf, 944 if (!abuf) 946 if (EVP_DigestSignUpdate(&mctx, abuf, alen) <= 0) 948 OPENSSL_free(abuf); 1088 unsigned char md_dat[EVP_MAX_MD_SIZE], *abuf = NULL; local [all...] |
/freebsd-11-stable/crypto/openssl/crypto/cms/ |
H A D | cms_sd.c | 677 unsigned char *abuf = NULL; local 705 alen = ASN1_item_i2d((ASN1_VALUE *)si->signedAttrs, &abuf, 707 if (!abuf) 709 if (EVP_DigestSignUpdate(mctx, abuf, alen) <= 0) 713 OPENSSL_free(abuf); 714 abuf = OPENSSL_malloc(siglen); 715 if (!abuf) 717 if (EVP_DigestSignFinal(mctx, abuf, &siglen) <= 0) 728 ASN1_STRING_set0(si->signature, abuf, siglen); 733 if (abuf) 743 unsigned char *abuf = NULL; local [all...] |
/freebsd-11-stable/sbin/ipfw/ |
H A D | nptv6.c | 341 char abuf[INET6_ADDRSTRLEN]; local 351 inet_ntop(AF_INET6, &cfg->internal, abuf, sizeof(abuf)); 352 printf("nptv6 %s int_prefix %s ", cfg->name, abuf); 353 inet_ntop(AF_INET6, &cfg->external, abuf, sizeof(abuf)); 354 printf("ext_prefix %s prefixlen %u\n", abuf, cfg->plen);
|
H A D | nat64stl.c | 455 char abuf[INET6_ADDRSTRLEN]; local 468 inet_ntop(AF_INET6, &cfg->prefix6, abuf, sizeof(abuf)); 469 printf(" prefix6 %s/%u", abuf, cfg->plen6);
|
H A D | nat64lsn.c | 778 char abuf[INET6_ADDRSTRLEN]; local 788 inet_ntop(AF_INET, &cfg->prefix4, abuf, sizeof(abuf)); 789 printf("nat64lsn %s prefix4 %s/%u", cfg->name, abuf, cfg->plen4); 790 inet_ntop(AF_INET6, &cfg->prefix6, abuf, sizeof(abuf)); 791 printf(" prefix6 %s/%u", abuf, cfg->plen6);
|
/freebsd-11-stable/sys/netgraph/ |
H A D | ng_async.c | 82 u_char *abuf; /* Buffer to encode sync into */ member in struct:ng_async_private 191 sc->abuf = malloc(ASYNC_BUF_SIZE(sc->cfg.smru), 295 free(sc->abuf, M_NETGRAPH_ASYNC); 296 sc->abuf = buf; 342 free(sc->abuf, M_NETGRAPH_ASYNC); 391 sc->abuf[(*len)++] = PPP_ESCAPE; 394 sc->abuf[(*len)++] = x; 457 sc->abuf[alen++] = PPP_FLAG; 475 sc->abuf[alen++] = PPP_FLAG; 478 if (!(m = m_devget(sc->abuf, ale [all...] |
/freebsd-11-stable/contrib/ntp/lib/isc/ |
H A D | netaddr.c | 129 char abuf[sizeof("xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:255.255.255.255")]; local 158 r = inet_ntop(netaddr->family, type, abuf, sizeof(abuf)); 162 alen = (unsigned int)strlen(abuf); /* no overflow possible */ 163 INSIST(alen < sizeof(abuf)); 176 isc_buffer_putmem(target, (unsigned char *)abuf, alen);
|
/freebsd-11-stable/crypto/openssl/crypto/ecdh/ |
H A D | ecdhtest.c | 129 unsigned char *abuf = NULL, *bbuf = NULL; local 219 abuf = (unsigned char *)OPENSSL_malloc(alen); 221 ECDH_compute_key(abuf, alen, EC_KEY_get0_public_key(b), a, KDF1_SHA1); 226 sprintf(buf, "%02X", abuf[i]); 252 if ((aout < 4) || (bout != aout) || (memcmp(abuf, bbuf, aout) != 0)) { 280 sprintf(buf, "%02X", abuf[i]); 296 if (abuf != NULL) 297 OPENSSL_free(abuf);
|
/freebsd-11-stable/lib/libc/resolv/ |
H A D | res_data.c | 288 static char abuf[MAXDNAME]; local 290 return (res_hostalias(&_res, name, abuf, sizeof abuf));
|
/freebsd-11-stable/lib/libc/net/ |
H A D | hesiod.c | 373 unsigned char qbuf[PACKETSZ], abuf[MAX_HESRESP], *p, *eom, *eor; local 388 n = res_send(qbuf, n, abuf, MAX_HESRESP); 394 hp = (HEADER *) (void *) abuf; 397 p = abuf + sizeof(HEADER); 398 eom = abuf + n;
|
/freebsd-11-stable/usr.sbin/rtadvd/ |
H A D | config.c | 72 static char abuf[DNAME_LABELENC_MAXLEN]; variable 819 strncpy(abuf, ap, c); 820 abuf[c] = '\0'; 822 if (inet_pton(AF_INET6, abuf, &rdna->ra_dns) != 1) { 824 __func__, abuf); 871 strncpy(abuf, ap, c); 872 abuf[c] = '\0'; 874 dnsa->da_len = dname_labelenc(dnsa->da_dom, abuf); 877 abuf);
|