Home
last modified time | relevance | path

Searched refs:abuf (Results 1 – 25 of 26) sorted by relevance

12

/external/wpa_supplicant_8/src/radius/
Dradius_das.c37 const char *abuf, in radius_das_disconnect() argument
66 abuf, from_port); in radius_das_disconnect()
81 "'%s' from %s:%d", tmp, abuf, from_port); in radius_das_disconnect()
110 abuf, from_port); in radius_das_disconnect()
115 "%s:%d", abuf, from_port); in radius_das_disconnect()
152 char abuf[50]; in radius_das_receive() local
171 os_strlcpy(abuf, inet_ntoa(from.sin.sin_addr), sizeof(abuf)); in radius_das_receive()
175 len, abuf, from_port); in radius_das_receive()
184 "from %s:%d failed", abuf, from_port); in radius_das_receive()
194 "from %s:%d - drop", abuf, from_port); in radius_das_receive()
[all …]
Dradius_server.c881 char abuf[50]; in radius_server_receive_auth() local
899 if (inet_ntop(AF_INET6, &from.sin6.sin6_addr, abuf, in radius_server_receive_auth()
900 sizeof(abuf)) == NULL) in radius_server_receive_auth()
901 abuf[0] = '\0'; in radius_server_receive_auth()
904 len, abuf, from_port); in radius_server_receive_auth()
913 os_strlcpy(abuf, inet_ntoa(from.sin.sin_addr), sizeof(abuf)); in radius_server_receive_auth()
916 len, abuf, from_port); in radius_server_receive_auth()
924 RADIUS_DEBUG("Unknown client %s - packet ignored", abuf); in radius_server_receive_auth()
957 RADIUS_DEBUG("Invalid Message-Authenticator from %s", abuf); in radius_server_receive_auth()
964 fromlen, client, abuf, from_port, NULL) == in radius_server_receive_auth()
[all …]
Dradius_client.c381 char abuf[50]; in radius_client_timer() local
439 hostapd_ip_txt(&old->addr, abuf, sizeof(abuf)), in radius_client_timer()
463 hostapd_ip_txt(&old->addr, abuf, sizeof(abuf)), in radius_client_timer()
945 char abuf[50]; in radius_change_server() local
954 hostapd_ip_txt(&nserv->addr, abuf, sizeof(abuf)), in radius_change_server()
1069 abuf, sizeof(abuf)), in radius_change_server()
1360 char abuf[50]; in radius_client_dump_auth_server() local
1386 hostapd_ip_txt(&serv->addr, abuf, sizeof(abuf)), in radius_client_dump_auth_server()
1409 char abuf[50]; in radius_client_dump_acct_server() local
1434 hostapd_ip_txt(&serv->addr, abuf, sizeof(abuf)), in radius_client_dump_acct_server()
/external/iproute2/tc/
Dtc_class.c159 char abuf[256]; in print_class() local
187 abuf[0] = 0; in print_class()
190 print_tc_classid(abuf, sizeof(abuf), TC_H_MIN(t->tcm_handle)); in print_class()
192 print_tc_classid(abuf, sizeof(abuf), t->tcm_handle); in print_class()
194 fprintf(fp, "class %s %s ", (char*)RTA_DATA(tb[TCA_KIND]), abuf); in print_class()
203 print_tc_classid(abuf, sizeof(abuf), TC_H_MIN(t->tcm_parent)); in print_class()
205 print_tc_classid(abuf, sizeof(abuf), t->tcm_parent); in print_class()
206 fprintf(fp, "parent %s ", abuf); in print_class()
Dtc_qdisc.c206 char abuf[256]; in print_qdisc() local
238 print_tc_classid(abuf, sizeof(abuf), t->tcm_parent); in print_qdisc()
239 fprintf(fp, "parent %s ", abuf); in print_qdisc()
Dtc_filter.c193 char abuf[256]; in print_filter() local
224 print_tc_classid(abuf, sizeof(abuf), t->tcm_parent); in print_filter()
225 fprintf(fp, "parent %s ", abuf); in print_filter()
Df_u32.c826 char abuf[256]; in print_ipv4() local
852 abuf, sizeof(abuf)), in print_ipv4()
882 char abuf[256]; in print_ipv6() local
908 abuf, sizeof(abuf)), in print_ipv6()
/external/iproute2/ip/
Dipprefix.c76 char abuf[256]; in print_prefix() local
80 memset(abuf, '\0', sizeof(abuf)); in print_prefix()
82 abuf, sizeof(abuf))); in print_prefix()
Dipxfrm.c286 char abuf[256]; in xfrm_id_info_print() local
291 memset(abuf, '\0', sizeof(abuf)); in xfrm_id_info_print()
293 saddr, abuf, sizeof(abuf))); in xfrm_id_info_print()
294 memset(abuf, '\0', sizeof(abuf)); in xfrm_id_info_print()
296 &id->daddr, abuf, sizeof(abuf))); in xfrm_id_info_print()
446 char abuf[256]; in xfrm_selector_print() local
458 memset(abuf, '\0', sizeof(abuf)); in xfrm_selector_print()
460 &sel->saddr, abuf, sizeof(abuf)), in xfrm_selector_print()
463 memset(abuf, '\0', sizeof(abuf)); in xfrm_selector_print()
465 &sel->daddr, abuf, sizeof(abuf)), in xfrm_selector_print()
[all …]
Dxfrm_monitor.c230 char abuf[256]; in xfrm_ae_print() local
235 memset(abuf, '\0', sizeof(abuf)); in xfrm_ae_print()
238 abuf, sizeof(abuf))); in xfrm_ae_print()
239 memset(abuf, '\0', sizeof(abuf)); in xfrm_ae_print()
242 abuf, sizeof(abuf))); in xfrm_ae_print()
Diprule.c54 char abuf[256]; in print_rule() local
91 abuf, sizeof(abuf)), in print_rule()
98 abuf, sizeof(abuf)) in print_rule()
112 abuf, sizeof(abuf)), in print_rule()
119 abuf, sizeof(abuf))); in print_rule()
177 abuf, sizeof(abuf))); in print_rule()
Dipaddrlabel.c64 char abuf[256]; in print_addrlabel() local
88 abuf, sizeof(abuf)), in print_addrlabel()
Diproute.c124 char abuf[256]; in print_route() local
304 abuf, sizeof(abuf)), in print_route()
311 abuf, sizeof(abuf)) in print_route()
324 abuf, sizeof(abuf)), in print_route()
331 abuf, sizeof(abuf)) in print_route()
347 abuf, sizeof(abuf))); in print_route()
368 abuf, sizeof(abuf))); in print_route()
550 abuf, sizeof(abuf))); in print_route()
Diplink.c250 char abuf[32]; in iplink_parse() local
273 len = ll_addr_a2n(abuf, sizeof(abuf), *argv); in iplink_parse()
276 addattr_l(&req->n, sizeof(*req), IFLA_ADDRESS, abuf, len); in iplink_parse()
280 len = ll_addr_a2n(abuf, sizeof(abuf), *argv); in iplink_parse()
283 addattr_l(&req->n, sizeof(*req), IFLA_BROADCAST, abuf, len); in iplink_parse()
Dipmaddr.c203 char abuf[256]; in print_maddr() local
219 abuf, sizeof(abuf))); in print_maddr()
Dipaddress.c457 char abuf[256]; in print_addrinfo() local
545 abuf, sizeof(abuf))); in print_addrinfo()
555 abuf, sizeof(abuf)), in print_addrinfo()
565 abuf, sizeof(abuf))); in print_addrinfo()
572 abuf, sizeof(abuf))); in print_addrinfo()
Dipneigh.c190 char abuf[256]; in print_neigh() local
256 abuf, sizeof(abuf))); in print_neigh()
/external/openssl/crypto/dh/
Ddhtest.c102 unsigned char *abuf=NULL,*bbuf=NULL; in main() local
167 abuf=(unsigned char *)OPENSSL_malloc(alen); in main()
168 aout=DH_compute_key(abuf,b->pub_key,a); in main()
173 sprintf(buf,"%02X",abuf[i]); in main()
189 if ((aout < 4) || (bout != aout) || (memcmp(abuf,bbuf,aout) != 0)) in main()
199 if (abuf != NULL) OPENSSL_free(abuf); in main()
/external/qemu/distrib/sdl-1.2.15/src/audio/macosx/
DSDL_coreaudio.c105 AudioBuffer *abuf; in audioCallback() local
112 abuf = &ioData->mBuffers[i]; in audioCallback()
113 SDL_memset(abuf->mData, this->spec.silence, abuf->mDataByteSize); in audioCallback()
127 abuf = &ioData->mBuffers[i]; in audioCallback()
128 remaining = abuf->mDataByteSize; in audioCallback()
129 ptr = abuf->mData; in audioCallback()
/external/openssl/crypto/ecdh/
Decdhtest.c130 unsigned char *abuf=NULL,*bbuf=NULL; in test_ecdh_curve() local
210 abuf=(unsigned char *)OPENSSL_malloc(alen); in test_ecdh_curve()
211 aout=ECDH_compute_key(abuf,alen,EC_KEY_get0_public_key(b),a,KDF1_SHA1); in test_ecdh_curve()
217 sprintf(buf,"%02X",abuf[i]); in test_ecdh_curve()
243 if ((aout < 4) || (bout != aout) || (memcmp(abuf,bbuf,aout) != 0)) in test_ecdh_curve()
274 sprintf(buf, "%02X", abuf[i]); in test_ecdh_curve()
292 if (abuf != NULL) OPENSSL_free(abuf); in test_ecdh_curve()
/external/openssl/crypto/pkcs7/
Dpk7_doit.c846 unsigned char *abuf = NULL; in PKCS7_dataFinal() local
849 abuf = OPENSSL_malloc(abuflen); in PKCS7_dataFinal()
850 if (!abuf) in PKCS7_dataFinal()
853 if (!EVP_SignFinal(&ctx_tmp, abuf, &abuflen, in PKCS7_dataFinal()
860 ASN1_STRING_set0(si->enc_digest, abuf, abuflen); in PKCS7_dataFinal()
904 unsigned char *abuf = NULL; in PKCS7_SIGNER_INFO_sign() local
924 alen = ASN1_item_i2d((ASN1_VALUE *)si->auth_attr,&abuf, in PKCS7_SIGNER_INFO_sign()
926 if(!abuf) in PKCS7_SIGNER_INFO_sign()
928 if (EVP_DigestSignUpdate(&mctx,abuf,alen) <= 0) in PKCS7_SIGNER_INFO_sign()
930 OPENSSL_free(abuf); in PKCS7_SIGNER_INFO_sign()
[all …]
/external/ipsec-tools/src/libipsec/
Dipsec_dump_policy.c282 char abuf[NI_MAXHOST * 2 + 2]; local
319 abuf[0] = '\0';
332 if (set_addresses(abuf, sizeof(abuf),
358 snprintf(buf, len, "%s/%s/%s/%s", proto, mode, abuf, level);
366 snprintf(buf, len, "%s/%s/%s/%s%c%u", proto, mode, abuf, level,
/external/wpa_supplicant_6/wpa_supplicant/src/radius/
Dradius_server.c680 char abuf[50]; in radius_server_receive_auth() local
698 if (inet_ntop(AF_INET6, &from.sin6.sin6_addr, abuf, in radius_server_receive_auth()
699 sizeof(abuf)) == NULL) in radius_server_receive_auth()
700 abuf[0] = '\0'; in radius_server_receive_auth()
703 len, abuf, from_port); in radius_server_receive_auth()
712 os_strlcpy(abuf, inet_ntoa(from.sin.sin_addr), sizeof(abuf)); in radius_server_receive_auth()
715 len, abuf, from_port); in radius_server_receive_auth()
723 RADIUS_DEBUG("Unknown client %s - packet ignored", abuf); in radius_server_receive_auth()
755 RADIUS_DEBUG("Invalid Message-Authenticator from %s", abuf); in radius_server_receive_auth()
762 fromlen, client, abuf, from_port, NULL) == in radius_server_receive_auth()
[all …]
Dradius_client.c221 char abuf[50]; in radius_client_timer() local
279 hostapd_ip_txt(&old->addr, abuf, sizeof(abuf)), in radius_client_timer()
303 hostapd_ip_txt(&old->addr, abuf, sizeof(abuf)), in radius_client_timer()
748 char abuf[50]; in radius_change_server() local
757 hostapd_ip_txt(&nserv->addr, abuf, sizeof(abuf)), in radius_change_server()
872 abuf, sizeof(abuf)), in radius_change_server()
1138 char abuf[50]; in radius_client_dump_auth_server() local
1164 hostapd_ip_txt(&serv->addr, abuf, sizeof(abuf)), in radius_client_dump_auth_server()
1187 char abuf[50]; in radius_client_dump_acct_server() local
1212 hostapd_ip_txt(&serv->addr, abuf, sizeof(abuf)), in radius_client_dump_acct_server()
/external/qemu/distrib/sdl-1.2.15/src/cdrom/macosx/
DAudioFileReaderThread.c525 AudioBuffer *abuf; in AudioFileManager_Render() local
529 abuf = &ioData->mBuffers[i]; in AudioFileManager_Render()
541 if (abuf->mDataByteSize > afm->mBufferSize - afm->mBufferOffset) in AudioFileManager_Render()
542 abuf->mDataByteSize = afm->mBufferSize - afm->mBufferOffset; in AudioFileManager_Render()
543 abuf->mData = (char *)afm->mTmpBuffer + afm->mBufferOffset; in AudioFileManager_Render()
544 afm->mBufferOffset += abuf->mDataByteSize; in AudioFileManager_Render()
546 afm->mByteCounter += abuf->mDataByteSize; in AudioFileManager_Render()

12