Searched refs:abuf (Results 1 - 25 of 57) sorted by relevance

123

/freebsd-current/contrib/wpa/src/radius/
H A Dradius_das.c36 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 Dradius_client.c583 char abuf[50]; local
589 hostapd_ip_txt(&old->addr, abuf, sizeof(abuf)),
612 char abuf[50]; local
618 hostapd_ip_txt(&old->addr, abuf, sizeof(abuf)),
1082 char abuf[50]; local
1094 hostapd_ip_txt(&nserv->addr, abuf, sizeof(abuf)),
1250 abuf, sizeo
1590 char abuf[50]; local
1639 char abuf[50]; local
[all...]
H A Dradius_server.c1669 char abuf[50]; local
1688 if (inet_ntop(AF_INET6, &from.sin6.sin6_addr, abuf,
1689 sizeof(abuf)) == NULL)
1690 abuf[0] = '\0';
1693 len, abuf, from_port);
1702 os_strlcpy(abuf, inet_ntoa(from.sin.sin_addr), sizeof(abuf));
1705 len, abuf, from_port);
1713 RADIUS_DEBUG("Unknown client %s - packet ignored", abuf);
1766 RADIUS_DEBUG("Invalid Message-Authenticator from %s", abuf);
1799 char abuf[50]; local
2442 char abuf[50], mbuf[50]; local
[all...]
/freebsd-current/sbin/ipf/libipf/
H A Dprintpoolfield.c27 char abuf[80]; local
50 abuf, sizeof(abuf)));
56 abuf, sizeof(abuf)));
62 abuf, sizeof(abuf)));
72 abuf, sizeof(abuf)));
78 abuf, sizeo
[all...]
/freebsd-current/libexec/talkd/
H A Dprint.c70 char tbuf[80], abuf[80]; local
78 (void)snprintf(abuf, sizeof(abuf), "answer %d", rp->answer);
79 ap = abuf;
/freebsd-current/contrib/ntp/libntp/
H A Drecvbuff.c110 size_t abuf; local
113 abuf = nbufs + buffer_shortfall;
119 if (abuf < nbufs || abuf > RECV_BATCH)
120 abuf = RECV_BATCH; /* clamp on overflow */
122 abuf += (~abuf + 1) & (RECV_INC - 1); /* round up */
124 if (abuf > (limit_recvbufs - total_recvbufs))
125 abuf = limit_recvbufs - total_recvbufs;
126 abuf
[all...]
/freebsd-current/lib/libnetbsd/
H A Dsockaddr_snprintf.c112 char abuf[1024], nbuf[1024], *addr = NULL; local
140 (void)strlcpy(addr = abuf, sun->sun_path, sizeof(abuf));
157 addr = abuf;
161 (void)snprintf(abuf, sizeof(abuf), "link#%hu",
167 (void)strlcpy(abuf, link_ntoa(sdl), sizeof(abuf));
180 if (addr == abuf)
183 if (a && getnameinfo(sa, (socklen_t)salen, addr = abuf,
[all...]
/freebsd-current/sys/crypto/via/
H A Dpadlock_cipher.c186 u_char *buf, *abuf; local
195 abuf = PADLOCK_ALIGN(buf);
220 crp->crp_payload_length, abuf);
225 padlock_cbc(abuf, abuf, crp->crp_payload_length / AES_BLOCK_LEN, key,
231 crp->crp_payload_length, abuf);
/freebsd-current/contrib/blocklist/port/
H A Dsockaddr_snprintf.c167 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-current/tools/regression/aio/aiop/
H A Daiop.c126 char **abuf; local
191 abuf = calloc(aio_len, sizeof(char *));
193 abuf[i] = calloc(1, io_size * sizeof(char));
200 set_aio(aio + i, choose_aio(iowhat), fd, offset, io_size, abuf[i]);
210 set_aio(aio + n, choose_aio(iowhat), fd, offset, io_size, abuf[n]);
/freebsd-current/lib/libipsec/
H A Dipsec_dump_policy.c177 char abuf[NI_MAXHOST * 2 + 2]; local
217 abuf[0] = '\0';
230 if (set_addresses(abuf, sizeof(abuf), sa1, sa2) != 0) {
255 snprintf(buf, len, "%s/%s/%s/%s", proto, mode, abuf, level);
263 snprintf(buf, len, "%s/%s/%s/%s%c%u", proto, mode, abuf, level,
/freebsd-current/sys/contrib/dpdk_rte_lpm/
H A Ddpdk_lpm6.c199 char abuf[INET6_ADDRSTRLEN]; local
200 inet_ntop(AF_INET6, addr6, abuf, sizeof(abuf));
218 abuf, plen,
234 "DEL", abuf, plen, parent_plen, fib_get_nhop_idx(dd->fd, rc->rc_nh_old),
321 char abuf[INET6_ADDRSTRLEN]; local
322 inet_ntop(AF_INET6, &addr6, abuf, sizeof(abuf));
323 FIB_PRINTF(LOG_DEBUG, dd->fd, "Operating on %s/%d", abuf, plen);
342 dd->lpm6, abuf, ple
[all...]
H A Ddpdk_lpm.c166 char abuf[INET_ADDRSTRLEN]; local
170 inet_ntop(AF_INET, &addr, abuf, sizeof(abuf));
187 abuf, plen,
200 "DEL", abuf, plen, parent_plen, fib_get_nhop_idx(dd->fd, rc->rc_nh_old),
258 char abuf[INET_ADDRSTRLEN]; local
259 inet_ntop(AF_INET, &addr4, abuf, sizeof(abuf));
261 FIB_PRINTF(LOG_DEBUG, dd->fd, "Operating on %s/%d", abuf, plen);
280 dd->lpm, abuf, ple
[all...]
/freebsd-current/tests/sys/net/routing/
H A Drtsock_print.h194 char hdbuf[512], abuf[64]; local
204 inet_ntop(AF_INET, &sin->sin_addr, abuf, sizeof(abuf));
205 printf(" af=inet len=%d addr=%s", sa->sa_len, abuf);
209 inet_ntop(AF_INET6, &sin6->sin6_addr, abuf, sizeof(abuf));
211 printf(" af=inet6 len=%d addr=%s", sa->sa_len, abuf);
/freebsd-current/usr.bin/mail/
H A Dquit.c66 FILE *ibuf, *obuf, *fbuf, *rbuf, *readstat, *abuf; local
212 if ((abuf = Fopen(mbox, "r")) != NULL) {
213 while ((c = getc(abuf)) != EOF)
215 (void)Fclose(abuf);
301 abuf = Fopen(mailname, "r+");
302 if (abuf == NULL)
305 (void)putc(c, abuf);
307 trunc(abuf);
308 (void)Fclose(abuf);
/freebsd-current/sys/contrib/openzfs/module/zfs/
H A Ddmu_diff.c136 arc_buf_t *abuf; local
145 if (arc_read(NULL, spa, bp, arc_getbuf_func, &abuf,
149 blk = abuf->b_data;
157 arc_buf_destroy(abuf, &abuf);
/freebsd-current/crypto/openssl/crypto/pkcs7/
H A Dpk7_doit.c846 unsigned char *abuf = NULL; local
849 abuf = OPENSSL_malloc(abuflen);
850 if (abuf == NULL)
853 if (!EVP_SignFinal_ex(ctx_tmp, abuf, &abuflen, si->pkey,
856 OPENSSL_free(abuf);
860 ASN1_STRING_set0(si->enc_digest, abuf, abuflen);
910 unsigned char *abuf = NULL; local
932 alen = ASN1_item_i2d((ASN1_VALUE *)si->auth_attr, &abuf,
934 if (!abuf)
936 if (EVP_DigestSignUpdate(mctx, abuf, ale
1075 unsigned char md_dat[EVP_MAX_MD_SIZE], *abuf = NULL; local
[all...]
/freebsd-current/sys/net/route/
H A Droute_ddb.c208 char abuf[INET6_ADDRSTRLEN], *buf, *end; local
244 if (inet_ntop(af, dst_addrp, abuf, sizeof(abuf)) != NULL)
245 db_printf("Looking up route to destination '%s'\n", abuf);
/freebsd-current/sbin/ipfw/
H A Dnptv6.c355 char abuf[INET6_ADDRSTRLEN]; local
365 inet_ntop(AF_INET6, &cfg->internal, abuf, sizeof(abuf));
366 printf("nptv6 %s int_prefix %s ", cfg->name, abuf);
370 inet_ntop(AF_INET6, &cfg->external, abuf, sizeof(abuf));
371 printf("ext_prefix %s ", abuf);
/freebsd-current/sys/netgraph/
H A Dng_async.c79 u_char *abuf; /* Buffer to encode sync into */ member in struct:ng_async_private
188 sc->abuf = malloc(ASYNC_BUF_SIZE(sc->cfg.smru),
292 free(sc->abuf, M_NETGRAPH_ASYNC);
293 sc->abuf = buf;
339 free(sc->abuf, M_NETGRAPH_ASYNC);
388 sc->abuf[(*len)++] = PPP_ESCAPE;
391 sc->abuf[(*len)++] = x;
453 sc->abuf[alen++] = PPP_FLAG;
471 sc->abuf[alen++] = PPP_FLAG;
474 if (!(m = m_devget(sc->abuf, ale
[all...]
/freebsd-current/lib/libc/net/
H A Dhesiod.c349 unsigned char qbuf[PACKETSZ], abuf[MAX_HESRESP], *p, *eom, *eor; local
364 n = res_send(qbuf, n, abuf, MAX_HESRESP);
370 hp = (HEADER *) (void *) abuf;
373 p = abuf + sizeof(HEADER);
374 eom = abuf + n;
/freebsd-current/crypto/openssl/crypto/cms/
H A Dcms_sd.c789 unsigned char *abuf = NULL; local
819 alen = ASN1_item_i2d((ASN1_VALUE *)si->signedAttrs, &abuf,
821 if (!abuf)
823 if (EVP_DigestSignUpdate(mctx, abuf, alen) <= 0)
827 OPENSSL_free(abuf);
828 abuf = OPENSSL_malloc(siglen);
829 if (abuf == NULL)
831 if (EVP_DigestSignFinal(mctx, abuf, &siglen) <= 0)
836 ASN1_STRING_set0(si->signature, abuf, siglen);
841 OPENSSL_free(abuf);
849 unsigned char *abuf = NULL; local
[all...]
/freebsd-current/contrib/ntp/libntp/lib/isc/
H A Dnetaddr.c129 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-current/usr.sbin/ndp/
H A Dndp.c601 char abuf[INET6_ADDRSTRLEN]; local
602 inet_ntop(AF_INET6, &sin->sin6_addr, abuf, sizeof(abuf));
605 xo_emit("{e:address/%s}{e:interface/%s}", abuf, ifname);
1123 char abuf[20], xobuf[200]; local
1125 snprintf(&abuf[j * 2], sizeof(abuf), "%02X", rbuf[j]);
1127 xo_emit(xobuf, abuf);
1195 char abuf[INET6_ADDRSTRLEN], *paddr; local
1204 inet_ntop(AF_INET6, &p->rtaddr.sin6_addr, abuf, sizeo
1362 char abuf[INET6_ADDRSTRLEN]; local
[all...]
/freebsd-current/lib/libc/resolv/
H A Dres_data.c284 static char abuf[MAXDNAME]; local
286 return (res_hostalias(&_res, name, abuf, sizeof abuf));

Completed in 185 milliseconds

123