| /netbsd/src/external/bsd/wpa/dist/wpa_supplicant/wpa_gui-qt4/ |
| D | networkconfig.cpp | 187 char reply[10], cmd[256]; in addNetwork() local 225 memset(reply, 0, sizeof(reply)); in addNetwork() 226 reply_len = sizeof(reply) - 1; in addNetwork() 229 wpagui->ctrlRequest("ADD_NETWORK", reply, &reply_len); in addNetwork() 230 if (reply[0] == 'F') { in addNetwork() 237 id = atoi(reply); in addNetwork() 405 reply_len = sizeof(reply); in addNetwork() 406 wpagui->ctrlRequest(cmd, reply, &reply_len); in addNetwork() 407 if (strncmp(reply, "OK", 2) != 0) { in addNetwork() 415 wpagui->ctrlRequest("SAVE_CONFIG", reply, &reply_len); in addNetwork() [all …]
|
| D | peers.cpp | 321 char reply[100]; in enter_pin() local 334 reply_len = sizeof(reply) - 1; in enter_pin() 335 if (wpagui->ctrlRequest(cmd, reply, &reply_len) < 0) { in enter_pin() 352 char reply[20]; in ctx_p2p_start() local 354 reply_len = sizeof(reply) - 1; in ctx_p2p_start() 355 if (wpagui->ctrlRequest("P2P_FIND", reply, &reply_len) < 0 || in ctx_p2p_start() 356 memcmp(reply, "FAIL", 4) == 0) { in ctx_p2p_start() 367 char reply[20]; in ctx_p2p_stop() local 369 reply_len = sizeof(reply) - 1; in ctx_p2p_stop() 370 wpagui->ctrlRequest("P2P_STOP_FIND", reply, &reply_len); in ctx_p2p_stop() [all …]
|
| /netbsd/src/external/ibm-public/postfix/dist/src/global/ |
| D | resolve_clnt.c | 149 void resolve_clnt_init(RESOLVE_REPLY *reply) in resolve_clnt_init() argument 151 reply->transport = vstring_alloc(100); in resolve_clnt_init() 152 reply->nexthop = vstring_alloc(100); in resolve_clnt_init() 153 reply->recipient = vstring_alloc(100); in resolve_clnt_init() 154 reply->flags = 0; in resolve_clnt_init() 169 const char *addr, RESOLVE_REPLY *reply) in resolve_clnt() argument 192 if (addr == STR(reply->recipient)) in resolve_clnt() 198 #define IFSET(flag, text) ((reply->flags & (flag)) ? (text) : "") in resolve_clnt() 204 vstring_strcpy(reply->transport, STR(last_reply.transport)); in resolve_clnt() 205 vstring_strcpy(reply->nexthop, STR(last_reply.nexthop)); in resolve_clnt() [all …]
|
| /netbsd/src/external/ibm-public/postfix/dist/src/dns/ |
| D | dns_lookup.c | 492 DNS_REPLY *reply, VSTRING *why, unsigned lflags) in dns_query() argument 502 if (reply->buf == 0) { in dns_query() 503 reply->buf = (unsigned char *) mymalloc(DEF_DNS_REPLY_SIZE); in dns_query() 504 reply->buf_len = DEF_DNS_REPLY_SIZE; in dns_query() 561 len = dns_neg_query((char *) name, C_IN, type, reply->buf, in dns_query() 562 reply->buf_len); in dns_query() 567 len = dns_neg_search((char *) name, C_IN, type, reply->buf, in dns_query() 568 reply->buf_len, keep_notfound); in dns_query() 571 len = dns_neg_search((char *) name, C_IN, type, reply->buf, in dns_query() 572 reply->buf_len, keep_notfound); in dns_query() [all …]
|
| /netbsd/src/external/ibm-public/postfix/dist/src/local/ |
| D | resolve.c | 91 RESOLVE_REPLY reply; in deliver_resolve_tree() local 107 resolve_clnt_init(&reply); in deliver_resolve_tree() 116 tok822_resolve(addr, &reply); in deliver_resolve_tree() 121 if (reply.flags & RESOLVE_FLAG_FAIL) { in deliver_resolve_tree() 125 } else if (reply.flags & RESOLVE_FLAG_ERROR) { in deliver_resolve_tree() 127 "bad recipient address syntax: %s", STR(reply.recipient)); in deliver_resolve_tree() 137 if ((ratsign = strrchr(STR(reply.recipient), '@')) == 0) { in deliver_resolve_tree() 138 VSTRING_ADDCH(reply.recipient, rcpt_delim); in deliver_resolve_tree() 139 vstring_strcat(reply.recipient, state.msg_attr.unmatched); in deliver_resolve_tree() 142 VSTRING_SPACE(reply.recipient, ext_len + 2); in deliver_resolve_tree() [all …]
|
| /netbsd/src/libexec/ftpd/ |
| D | ftpcmd.y | 223 reply(-221, "%s", ""); 224 reply(0, 228 reply(0, 233 reply(221, 268 reply(500, "IPv6 support not available."); 287 reply(500, "PASV mode not available."); 296 reply(501, 301 reply(500, "LPSV mode not available."); 312 reply(500, "EPSV mode not available."); 320 reply(200, [all …]
|
| D | ftpd.c | 658 reply(-530, "%s", line); in main() 662 reply(530, in main() 757 reply(530, "System not available."); in main() 763 reply(220, "%s FTP server ready.", hostname); in main() 765 reply(220, "%s FTP server (%s) ready.", hostname, version); in main() 795 reply(421, in toolong() 881 reply(530, "Can't change user from guest login."); in user() 884 reply(530, "Can't change user from chroot user."); in user() 888 reply(530, "Can't change user."); in user() 912 reply(530, "User %s unknown.", name); in user() [all …]
|
| /netbsd/src/sys/external/bsd/drm2/dist/drm/vmwgfx/ |
| D | vmwgfx_msg.c | 209 static unsigned long vmw_port_hb_in(struct rpc_channel *channel, char *reply, in vmw_port_hb_in() argument 219 di = (uintptr_t) reply; in vmw_port_hb_in() 248 memcpy(reply, &ebx, bytes); in vmw_port_hb_in() 250 reply += bytes; in vmw_port_hb_in() 321 char *reply; in vmw_recv_msg() local 352 reply = kzalloc(reply_len + 1, GFP_KERNEL); in vmw_recv_msg() 353 if (!reply) { in vmw_recv_msg() 360 ebx = vmw_port_hb_in(channel, reply, reply_len, in vmw_recv_msg() 363 kfree(reply); in vmw_recv_msg() 364 reply = NULL; in vmw_recv_msg() [all …]
|
| /netbsd/src/external/ibm-public/postfix/dist/src/smtpd/ |
| D | smtpd_milter.c | 72 const RESOLVE_REPLY *reply; in smtpd_milter_eval() local 167 reply = smtpd_resolve_addr(state->recipient, state->sender); in smtpd_milter_eval() 169 if (STR(reply->recipient)[0]) in smtpd_milter_eval() local 170 quote_821_local(state->expand_buf, STR(reply->recipient)); in smtpd_milter_eval() 172 vstring_strcpy(state->expand_buf, STR(reply->recipient)); in smtpd_milter_eval() 178 reply = smtpd_resolve_addr(state->recipient, state->sender); in smtpd_milter_eval() 179 return (STR(reply->nexthop)); in smtpd_milter_eval() 184 reply = smtpd_resolve_addr(state->recipient, state->sender); in smtpd_milter_eval() 185 return (STR(reply->transport)); in smtpd_milter_eval() 202 reply = smtpd_resolve_addr(state->sender, state->recipient); in smtpd_milter_eval() [all …]
|
| D | smtpd_resolve.c | 94 RESOLVE_REPLY *reply; in resolve_pagein() local 110 reply = (RESOLVE_REPLY *) mymalloc(sizeof(*reply)); in resolve_pagein() 111 resolve_clnt_init(reply); in resolve_pagein() 126 resolve_clnt_query_from(STR(sender_buf), STR(query), reply); in resolve_pagein() 127 vstring_strcpy(junk, STR(reply->recipient)); in resolve_pagein() 128 casefold(reply->recipient, STR(junk)); /* XXX */ in resolve_pagein() 133 return ((void *) reply); in resolve_pagein() 140 RESOLVE_REPLY *reply = (RESOLVE_REPLY *) data; in resolve_pageout() local 142 resolve_clnt_free(reply); in resolve_pageout() 143 myfree((void *) reply); in resolve_pageout()
|
| /netbsd/src/crypto/external/bsd/heimdal/dist/tests/kdc/ |
| D | check-digest.in | 167 > sdigest-reply || exitcode=1 169 snonce=`grep server-nonce= sdigest-reply | cut -f2- -d=` 170 identifier=`grep identifier= sdigest-reply | cut -f2- -d=` 171 opaque=`grep opaque= sdigest-reply | cut -f2- -d=` 180 > cdigest-reply || exitcode=1 182 cresponseData=`grep responseData= cdigest-reply | cut -f2- -d=` 197 > s2digest-reply || exitcode=1 199 status=`grep status= s2digest-reply | cut -f2- -d=` 218 > s2digest-reply || exitcode=1 220 status=`grep status= s2digest-reply | cut -f2- -d=` [all …]
|
| /netbsd/src/sys/dev/ic/ |
| D | bha.c | 492 rlen = sizeof(hwsetup.reply) + in bha_get_xfer_mode() 498 rlen, (u_char *)&hwsetup.reply); in bha_get_xfer_mode() 532 &hwsetup.reply.sync_low[toff]; in bha_get_xfer_mode() 544 rlen = sizeof(hwperiod.reply) + in bha_get_xfer_mode() 552 (u_char *)&hwperiod.reply); in bha_get_xfer_mode() 557 period = hwperiod.reply.period[toff]; in bha_get_xfer_mode() 926 inquire.cmd.len = sizeof(inquire.reply); in bha_find() 929 sizeof(inquire.reply), (u_char *)&inquire.reply); in bha_find() 940 i, sizeof(inquire.reply), "INQUIRE_EXTENDED"); in bha_find() 947 switch (inquire.reply.bus_type) { in bha_find() [all …]
|
| /netbsd/src/external/bsd/wpa/dist/wpa_supplicant/dbus/ |
| D | dbus_new_handlers_wps.c | 36 DBusMessage **reply) in wpas_dbus_handler_wps_role() argument 46 *reply = wpas_dbus_error_invalid_args(message, in wpas_dbus_handler_wps_role() 57 *reply = wpas_dbus_error_invalid_args(message, val); in wpas_dbus_handler_wps_role() 67 DBusMessage **reply) in wpas_dbus_handler_wps_type() argument 76 *reply = wpas_dbus_error_invalid_args(message, in wpas_dbus_handler_wps_type() 88 *reply = wpas_dbus_error_invalid_args(message, val); in wpas_dbus_handler_wps_type() 98 DBusMessage **reply) in wpas_dbus_handler_wps_bssid() argument 109 *reply = wpas_dbus_error_invalid_args( in wpas_dbus_handler_wps_bssid() 118 *reply = wpas_dbus_error_invalid_args(message, in wpas_dbus_handler_wps_bssid() 129 DBusMessage **reply) in wpas_dbus_handler_wps_pin() argument [all …]
|
| /netbsd/src/sys/arch/arc/dti/ |
| D | btl.c | 952 inquire.cmd.len = sizeof(inquire.reply); in bt_find() 954 sizeof(inquire.reply), (u_char *)&inquire.reply); in bt_find() 966 i, sizeof(inquire.reply), "INQUIRE_EXTENDED"); in bt_find() 974 switch (inquire.reply.bus_type) { in bt_find() 982 printf("bt_find: illegal bus type %c\n", inquire.reply.bus_type); in bt_find() 993 sizeof(config.reply), (u_char *)&config.reply); in bt_find() 994 switch (config.reply.chan) { in bt_find() 1011 printf("bt_find: illegal drq setting %x\n", config.reply.chan); in bt_find() 1015 switch (config.reply.intr) { in bt_find() 1035 printf("bt_find: illegal irq setting %x\n", config.reply.intr); in bt_find() [all …]
|
| /netbsd/src/external/bsd/tcpdump/dist/tests/ |
| D | e1000g.out | 2 …2 2009-11-25 17:27:26.701845 IP 10.5.233.117 > 129.146.106.55: ICMP echo reply, id 6901, seq 0, l… 4 …4 2009-11-25 17:27:27.692892 IP 10.5.233.117 > 129.146.106.55: ICMP echo reply, id 6901, seq 1, l… 6 …6 2009-11-25 17:27:28.692812 IP 10.5.233.117 > 129.146.106.55: ICMP echo reply, id 6901, seq 2, l… 8 …8 2009-11-25 17:27:29.692669 IP 10.5.233.117 > 129.146.106.55: ICMP echo reply, id 6901, seq 3, l… 10 …10 2009-11-25 17:27:30.692589 IP 10.5.233.117 > 129.146.106.55: ICMP echo reply, id 6901, seq 4, … 12 …12 2009-11-25 17:27:31.692647 IP 10.5.233.117 > 129.146.106.55: ICMP echo reply, id 6901, seq 5, … 14 …14 2009-11-25 17:27:32.692569 IP 10.5.233.117 > 129.146.106.55: ICMP echo reply, id 6901, seq 6, … 16 …16 2009-11-25 17:27:33.692424 IP 10.5.233.117 > 129.146.106.55: ICMP echo reply, id 6901, seq 7, … 18 …18 2009-11-25 17:27:34.692081 IP 10.5.233.117 > 129.146.106.55: ICMP echo reply, id 6901, seq 8, … 20 …20 2009-11-25 17:27:35.692005 IP 10.5.233.117 > 129.146.106.55: ICMP echo reply, id 6901, seq 9, …
|
| D | e1000g-e.out | 2 …95, family IPv4 (2), length 108: 10.5.233.117 > 129.146.106.55: ICMP echo reply, id 6901, seq 0, l… 4 …95, family IPv4 (2), length 108: 10.5.233.117 > 129.146.106.55: ICMP echo reply, id 6901, seq 1, l… 6 …95, family IPv4 (2), length 108: 10.5.233.117 > 129.146.106.55: ICMP echo reply, id 6901, seq 2, l… 8 …95, family IPv4 (2), length 108: 10.5.233.117 > 129.146.106.55: ICMP echo reply, id 6901, seq 3, l… 10 …95, family IPv4 (2), length 108: 10.5.233.117 > 129.146.106.55: ICMP echo reply, id 6901, seq 4, l… 12 …95, family IPv4 (2), length 108: 10.5.233.117 > 129.146.106.55: ICMP echo reply, id 6901, seq 5, l… 14 …95, family IPv4 (2), length 108: 10.5.233.117 > 129.146.106.55: ICMP echo reply, id 6901, seq 6, l… 16 …95, family IPv4 (2), length 108: 10.5.233.117 > 129.146.106.55: ICMP echo reply, id 6901, seq 7, l… 18 …95, family IPv4 (2), length 108: 10.5.233.117 > 129.146.106.55: ICMP echo reply, id 6901, seq 8, l… 20 …95, family IPv4 (2), length 108: 10.5.233.117 > 129.146.106.55: ICMP echo reply, id 6901, seq 9, l…
|
| /netbsd/src/external/bsd/wpa/dist/src/radius/ |
| D | radius_das.c | 40 struct radius_msg *reply; in radius_das_disconnect() local 175 reply = radius_msg_new(error ? RADIUS_CODE_DISCONNECT_NAK : in radius_das_disconnect() 177 if (reply == NULL) in radius_das_disconnect() 180 if (!radius_msg_add_msg_auth(reply)) { in radius_das_disconnect() 181 radius_msg_free(reply); in radius_das_disconnect() 186 if (!radius_msg_add_attr_int32(reply, RADIUS_ATTR_ERROR_CAUSE, in radius_das_disconnect() 188 radius_msg_free(reply); in radius_das_disconnect() 193 return reply; in radius_das_disconnect() 202 struct radius_msg *reply; in radius_das_coa() local 371 reply = radius_msg_new(error ? RADIUS_CODE_COA_NAK : in radius_das_coa() [all …]
|
| /netbsd/src/crypto/external/bsd/heimdal/dist/kdc/ |
| D | process.c | 56 krb5_data *reply, in kdc_as_req() argument 79 ret = _kdc_as_rep(&r, reply, from, addr, datagram_reply); in kdc_as_req() 89 krb5_data *reply, in kdc_tgs_req() argument 105 ret = _kdc_tgs_rep(context, config, &req, reply, in kdc_tgs_req() 117 krb5_data *reply, in kdc_digest() argument 134 ret = _kdc_do_digest(context, config, &digestreq, reply, from, addr); in kdc_digest() 147 krb5_data *reply, in kdc_kx509() argument 164 ret = _kdc_do_kx509(context, config, &kx509req, reply, from, addr); in kdc_kx509() 194 krb5_data *reply, in krb5_kdc_process_request() argument 211 reply, from, addr, datagram_reply, in krb5_kdc_process_request() [all …]
|
| /netbsd/src/crypto/external/bsd/heimdal/dist/lib/kadm5/ |
| D | chpass_c.c | 53 krb5_data reply; in kadm5_c_chpass_principal() local 80 ret = _kadm5_client_recv(context, &reply); in kadm5_c_chpass_principal() 83 sp = krb5_storage_from_data (&reply); in kadm5_c_chpass_principal() 86 krb5_data_free (&reply); in kadm5_c_chpass_principal() 92 krb5_data_free (&reply); in kadm5_c_chpass_principal() 108 krb5_data reply; in kadm5_c_chpass_principal_with_key() local 130 ret = _kadm5_client_recv(context, &reply); in kadm5_c_chpass_principal_with_key() 133 sp = krb5_storage_from_data (&reply); in kadm5_c_chpass_principal_with_key() 136 krb5_data_free (&reply); in kadm5_c_chpass_principal_with_key() 142 krb5_data_free (&reply); in kadm5_c_chpass_principal_with_key()
|
| /netbsd/src/external/ibm-public/postfix/dist/src/util/ |
| D | dict_nisplus.c | 125 nis_result *reply; in dict_nisplus_lookup() local 185 reply = nis_list(STR(query), FOLLOW_LINKS | FOLLOW_PATH, NULL, NULL); in dict_nisplus_lookup() 191 if (reply->status == NIS_SUCCESS) { in dict_nisplus_lookup() 192 if ((count = NIS_RES_NUMOBJ(reply)) != 1) { in dict_nisplus_lookup() 196 nis_freeresult(reply); in dict_nisplus_lookup() 199 last_col = NIS_RES_OBJECT(reply)->zo_data in dict_nisplus_lookup() 206 NIS_RES_OBJECT(reply)->zo_data.objdata_u in dict_nisplus_lookup() 212 nis_freeresult(reply); in dict_nisplus_lookup() 223 if (reply->status != NIS_NOTFOUND in dict_nisplus_lookup() 224 && reply->status != NIS_PARTIAL) { in dict_nisplus_lookup() [all …]
|
| /netbsd/src/external/bsd/ntp/dist/sntp/libevent/include/event2/ |
| D | rpc.h | 182 struct rplystruct* reply; \ 199 struct evrpc_pool *pool, void *request, void *reply, 222 pool, request, reply, cb, cbarg) \ argument 223 evrpc_make_request_ctx(pool, request, reply, \ 243 struct reqstruct *request, struct rplystruct *reply, \ 247 return evrpc_send_request_generic(pool, request, reply, \ 332 #define EVRPC_REGISTER(base, name, request, reply, callback, cbarg) \ argument 338 (void *(*)(void *))reply##_new_with_arg, NULL, \ 339 (void (*)(void *))reply##_free, \ 340 (int (*)(void *))reply##_complete, \ [all …]
|
| /netbsd/src/external/bsd/libevent/dist/include/event2/ |
| D | rpc.h | 182 struct rplystruct* reply; \ 199 struct evrpc_pool *pool, void *request, void *reply, 222 pool, request, reply, cb, cbarg) \ argument 223 evrpc_make_request_ctx(pool, request, reply, \ 243 struct reqstruct *request, struct rplystruct *reply, \ 247 return evrpc_send_request_generic(pool, request, reply, \ 332 #define EVRPC_REGISTER(base, name, request, reply, callback, cbarg) \ argument 338 (void *(*)(void *))reply##_new_with_arg, NULL, \ 339 (void (*)(void *))reply##_free, \ 340 (int (*)(void *))reply##_complete, \ [all …]
|
| /netbsd/src/sbin/fsck_ext2fs/ |
| D | pass2.c | 101 if (reply("ALLOCATE") == 0) in pass2() 109 if (reply("REALLOCATE")) { in pass2() 115 if (reply("CONTINUE") == 0) in pass2() 122 if (reply("REALLOCATE")) { in pass2() 128 if (reply("FIX") == 0) in pass2() 160 if (reply("FIX") == 1) { in pass2() 173 if (preen || reply("ADJUST") == 1) { in pass2() 201 if (reply("FIX") == 0) in pass2() 209 if (reply("FIX") == 0) in pass2() 244 if (reply("FIX") == 1) in pass2check() [all …]
|
| /netbsd/src/usr.sbin/apm/ |
| D | apm.c | 81 struct apm_reply *reply) in send_command() argument 88 if (recv(fd, reply, sizeof(*reply), 0) != sizeof(*reply)) { in send_command() 103 struct apm_reply reply; in do_zzz() local 122 exit(send_command(fd, &command, &reply)); in do_zzz() 151 struct apm_reply reply; in main() local 152 struct apm_power_info *api = &reply.batterystate; in main() 238 memset(&reply, 0, sizeof(reply)); in main() 240 &reply.batterystate) == -1) in main() 271 if ((rval = send_command(fd, &command, &reply)) == 0) { in main() 322 switch (reply.newstate) { in main()
|
| /netbsd/src/external/ibm-public/postfix/dist/src/oqmgr/ |
| D | qmgr_message.c | 983 const char *addr, RESOLVE_REPLY *reply) in qmgr_resolve_one() argument 992 resolve_clnt_query_from(message->sender, addr, reply); in qmgr_resolve_one() 994 resolve_clnt_verify_from(message->sender, addr, reply); in qmgr_resolve_one() 995 if (reply->flags & RESOLVE_FLAG_FAIL) { in qmgr_resolve_one() 996 QMGR_REDIRECT(reply, MAIL_SERVICE_RETRY, in qmgr_resolve_one() 999 } else if (reply->flags & RESOLVE_FLAG_ERROR) { in qmgr_resolve_one() 1000 QMGR_REDIRECT(reply, MAIL_SERVICE_ERROR, in qmgr_resolve_one() 1017 RESOLVE_REPLY reply; in qmgr_message_resolve() local 1032 resolve_clnt_init(&reply); in qmgr_message_resolve() 1048 reply.recipient); in qmgr_message_resolve() [all …]
|