Home
last modified time | relevance | path

Searched refs:msg (Results 1 – 25 of 1838) sorted by relevance

12345678910>>...74

/freebsd-12.1/contrib/ntp/lib/isc/win32/
H A Dstrerror.c61 char *msg; in isc__strerror() local
73 if (msg != NULL) in isc__strerror()
78 LocalFree(msg); in isc__strerror()
147 char *msg; in NTperror() local
152 LocalFree(msg); in NTperror()
164 char *msg; in GetWSAErrorMessage() local
365 msg = NULL; in GetWSAErrorMessage()
368 return (msg); in GetWSAErrorMessage()
378 char *msg; in GetCryptErrorMessage() local
454 msg = NULL; in GetCryptErrorMessage()
[all …]
/freebsd-12.1/contrib/libevent/test/
H A Dregress.gen.c78 msg_run_expand_to_hold_more(struct msg *msg) in msg_run_expand_to_hold_more() argument
92 msg_run_add(struct msg *msg) in msg_run_add() argument
98 msg->run_data[msg->run_length - 1] = run_new(); in msg_run_add()
99 if (msg->run_data[msg->run_length - 1] == NULL) in msg_run_add()
102 return (msg->run_data[msg->run_length - 1]); in msg_run_add()
109 msg_from_name_assign(struct msg *msg, in msg_from_name_assign() argument
121 msg_to_name_assign(struct msg *msg, in msg_to_name_assign() argument
133 msg_attack_assign(struct msg *msg, in msg_attack_assign() argument
170 msg_run_assign(struct msg *msg, int off, in msg_run_assign() argument
233 msg_run_get(struct msg *msg, int offset, in msg_run_get() argument
[all …]
H A Dregress.gen.h11 struct msg;
34 struct run* (*run_add)(struct msg *msg);
37 struct msg { struct
53 struct msg *msg_new(void); argument
54 struct msg *msg_new_with_arg(void *);
55 void msg_free(struct msg *);
56 void msg_clear(struct msg *);
59 int msg_complete(struct msg *);
61 const struct msg *);
63 struct msg *);
[all …]
/freebsd-12.1/contrib/ntp/sntp/libevent/test/
H A Dregress.gen.c78 msg_run_expand_to_hold_more(struct msg *msg) in msg_run_expand_to_hold_more() argument
92 msg_run_add(struct msg *msg) in msg_run_add() argument
98 msg->run_data[msg->run_length - 1] = run_new(); in msg_run_add()
99 if (msg->run_data[msg->run_length - 1] == NULL) in msg_run_add()
102 return (msg->run_data[msg->run_length - 1]); in msg_run_add()
109 msg_from_name_assign(struct msg *msg, in msg_from_name_assign() argument
121 msg_to_name_assign(struct msg *msg, in msg_to_name_assign() argument
133 msg_attack_assign(struct msg *msg, in msg_attack_assign() argument
170 msg_run_assign(struct msg *msg, int off, in msg_run_assign() argument
233 msg_run_get(struct msg *msg, int offset, in msg_run_get() argument
[all …]
H A Dregress.gen.h11 struct msg;
34 struct run* (*run_add)(struct msg *msg);
37 struct msg { struct
53 struct msg *msg_new(void); argument
54 struct msg *msg_new_with_arg(void *);
55 void msg_free(struct msg *);
56 void msg_clear(struct msg *);
59 int msg_complete(struct msg *);
61 const struct msg *);
63 struct msg *);
[all …]
/freebsd-12.1/contrib/wpa/src/wps/
H A Dwps_attr_build.c101 wpabuf_put_be16(msg, 1); in wps_build_req_type()
102 wpabuf_put_u8(msg, type); in wps_build_req_type()
111 wpabuf_put_be16(msg, 1); in wps_build_resp_type()
112 wpabuf_put_u8(msg, type); in wps_build_resp_type()
121 wpabuf_put_be16(msg, 2); in wps_build_config_methods()
143 wpabuf_put_be16(msg, 2); in wps_build_dev_password_id()
153 wpabuf_put_be16(msg, 2); in wps_build_config_error()
200 wpabuf_put_be16(msg, 1); in wps_build_version()
227 wpabuf_put_u8(msg, 1); in wps_build_wfa_ext()
233 wpabuf_put_u8(msg, 1); in wps_build_wfa_ext()
[all …]
H A Dwps_dev_attr.c29 wpabuf_put_be16(msg, 1); in wps_build_manufacturer()
30 wpabuf_put_u8(msg, ' '); in wps_build_manufacturer()
34 wpabuf_put_be16(msg, len); in wps_build_manufacturer()
53 wpabuf_put_be16(msg, 1); in wps_build_model_name()
54 wpabuf_put_u8(msg, ' '); in wps_build_model_name()
58 wpabuf_put_be16(msg, len); in wps_build_model_name()
77 wpabuf_put_be16(msg, 1); in wps_build_model_number()
78 wpabuf_put_u8(msg, ' '); in wps_build_model_number()
101 wpabuf_put_be16(msg, 1); in wps_build_serial_number()
102 wpabuf_put_u8(msg, ' '); in wps_build_serial_number()
[all …]
/freebsd-12.1/contrib/wpa/src/p2p/
H A Dp2p_parse.c129 msg->channel_list, msg->channel_list_len); in p2p_parse_attribute()
184 msg->device_name, msg->config_methods); in p2p_parse_attribute()
538 p2p_parse_wps_ie(msg->wps_attributes, msg)) { in p2p_parse_ies()
546 p2p_parse_p2p_ie(msg->p2p_attributes, msg)) { in p2p_parse_ies()
581 os_memset(msg, 0, sizeof(*msg)); in p2p_parse()
597 os_memset(msg, 0, sizeof(*msg)); in p2p_parse_ies_separate()
789 os_memset(&msg, 0, sizeof(msg)); in p2p_attr_text()
797 msg.capability[0], msg.capability[1]); in p2p_attr_text()
850 os_memset(&msg, 0, sizeof(msg)); in p2p_get_cross_connect_disallowed()
865 os_memset(&msg, 0, sizeof(msg)); in p2p_get_group_capab()
[all …]
H A Dp2p_pd.c627 msg.group_id, msg.group_id_len)) in p2p_process_prov_disc_req()
704 msg.persistent_ssid, msg.persistent_ssid_len); in p2p_process_prov_disc_req()
780 msg.channel_list && msg.channel_list_len && in p2p_process_prov_disc_req()
933 msg.channel_list && msg.channel_list_len && in p2p_process_prov_disc_req()
975 msg.group_id, msg.group_id_len, in p2p_process_prov_disc_req()
1113 msg.persistent_ssid, msg.persistent_ssid_len, in p2p_process_prov_disc_req()
1159 msg.device_name, msg.config_methods, in p2p_process_prov_disc_req()
1160 msg.capability ? msg.capability[0] : 0, in p2p_process_prov_disc_req()
1161 msg.capability ? msg.capability[1] : in p2p_process_prov_disc_req()
1163 msg.group_id, msg.group_id_len); in p2p_process_prov_disc_req()
[all …]
/freebsd-12.1/sys/dev/usb/net/
H A Dif_urndis.c226 } msg; in urndis_attach() local
284 &msg.hdr.query, sizeof(msg.hdr.query) + sizeof(msg.ibuf.eaddr), in urndis_attach()
303 &msg.hdr.set, sizeof(msg.hdr.set) + sizeof(msg.ibuf.filter)); in urndis_attach()
662 msg.rm_len = htole32(sizeof(msg)); in urndis_ctrl_init()
699 msg.rm_len = htole32(sizeof(msg)); in urndis_ctrl_halt()
838 msg.rm_type = le32toh(msg.rm_type); in urndis_bulk_read_callback()
839 msg.rm_len = le32toh(msg.rm_len); in urndis_bulk_read_callback()
853 msg.rm_len, msg.rm_dataoffset, msg.rm_datalen, in urndis_bulk_read_callback()
865 msg.rm_len, (unsigned)sizeof(msg)); in urndis_bulk_read_callback()
967 memset(&msg, 0, sizeof(msg)); in urndis_bulk_write_callback()
[all …]
/freebsd-12.1/sys/crypto/aesni/
H A Dintel_sha256.c99 msg = _mm_shuffle_epi32(msg, 0x0E); in intel_sha256_step()
108 msg = _mm_shuffle_epi32(msg, 0x0E); in intel_sha256_step()
118 msg = _mm_shuffle_epi32(msg, 0x0E); in intel_sha256_step()
131 msg = _mm_shuffle_epi32(msg, 0x0E); in intel_sha256_step()
142 msg = _mm_shuffle_epi32(msg, 0x0E); in intel_sha256_step()
153 msg = _mm_shuffle_epi32(msg, 0x0E); in intel_sha256_step()
164 msg = _mm_shuffle_epi32(msg, 0x0E); in intel_sha256_step()
175 msg = _mm_shuffle_epi32(msg, 0x0E); in intel_sha256_step()
186 msg = _mm_shuffle_epi32(msg, 0x0E); in intel_sha256_step()
197 msg = _mm_shuffle_epi32(msg, 0x0E); in intel_sha256_step()
[all …]
/freebsd-12.1/crypto/openssl/ssl/
H A Dt1_trce.c950 len = (msg[0] << 8) | msg[1]; in ssl_print_client_hello()
958 cs = (msg[0] << 8) | msg[1]; in ssl_print_client_hello()
1014 cs = (msg[0] << 8) | msg[1]; in ssl_print_server_hello()
1240 clen = (msg[0] << 16) | (msg[1] << 8) | msg[2]; in ssl_print_certificates()
1307 xlen = (msg[0] << 8) | msg[1]; in ssl_print_cert_request()
1358 tick_life = (msg[0] << 24) | (msg[1] << 16) | (msg[2] << 8) | msg[3]; in ssl_print_ticket()
1369 (msg[0] << 24) | (msg[1] << 16) | (msg[2] << 8) | msg[3]; in ssl_print_ticket()
1399 hlen = (msg[1] << 16) | (msg[2] << 8) | msg[3]; in ssl_print_handshake()
1412 (msg[2] << 16) | (msg[3] << 8) | msg[4], in ssl_print_handshake()
1413 (msg[5] << 16) | (msg[6] << 8) | msg[7]); in ssl_print_handshake()
[all …]
/freebsd-12.1/sys/dev/mpt/
H A Dmpt_debug.c366 printf("%s Reply @ %p\n", mpt_ioc_function(msg->Function), msg); in mpt_print_reply_hdr()
443 switch(msg->Event) { in mpt_print_event_notice()
450 msg->Data[0] & 0xff); in mpt_print_event_notice()
452 (msg->Data[0] >> 8) & 0xff); in mpt_print_event_notice()
459 (msg->Data[0] >> 8) & 0xff); in mpt_print_event_notice()
464 msg->Data[0] & 0xff); in mpt_print_event_notice()
466 (msg->Data[1] >> 8) & 0xff); in mpt_print_event_notice()
473 (msg->Data[0] >> 8) & 0xff); in mpt_print_event_notice()
494 switch (msg->Function) { in mpt_print_reply()
608 mpt_dump_sgl(msg->SGL, 0); in mpt_print_scsi_target_assist_request()
[all …]
/freebsd-12.1/sys/arm/broadcom/bcm2835/
H A Dbcm2835_mbox.c63 #define MBOX_CHAN(msg) ((msg) & 0xf) argument
64 #define MBOX_DATA(msg) ((msg) & ~0xf) argument
123 sc->msg[chan] = msg; in bcm_mbox_read_msg()
442 memset(&msg, 0, sizeof(msg)); in bcm2835_mbox_set_power_state()
443 msg.hdr.buf_size = sizeof(msg); in bcm2835_mbox_set_power_state()
464 memset(&msg, 0, sizeof(msg)); in bcm2835_mbox_get_clock_rate()
465 msg.hdr.buf_size = sizeof(msg); in bcm2835_mbox_get_clock_rate()
485 memset(&msg, 0, sizeof(msg)); in bcm2835_mbox_fb_get_w_h()
486 msg.hdr.buf_size = sizeof(msg); in bcm2835_mbox_fb_get_w_h()
507 memset(&msg, 0, sizeof(msg)); in bcm2835_mbox_fb_init()
[all …]
H A Dbcm2835_cpufreq.c182 memset(&msg, 0, sizeof(msg)); in bcm2835_cpufreq_get_clock_rate()
183 msg.hdr.buf_size = sizeof(msg); in bcm2835_cpufreq_get_clock_rate()
228 memset(&msg, 0, sizeof(msg)); in bcm2835_cpufreq_get_max_clock_rate()
229 msg.hdr.buf_size = sizeof(msg); in bcm2835_cpufreq_get_max_clock_rate()
274 memset(&msg, 0, sizeof(msg)); in bcm2835_cpufreq_get_min_clock_rate()
321 memset(&msg, 0, sizeof(msg)); in bcm2835_cpufreq_set_clock_rate()
350 memset(&msg, 0, sizeof(msg)); in bcm2835_cpufreq_set_clock_rate()
397 memset(&msg, 0, sizeof(msg)); in bcm2835_cpufreq_get_turbo()
446 memset(&msg, 0, sizeof(msg)); in bcm2835_cpufreq_set_turbo()
492 memset(&msg, 0, sizeof(msg)); in bcm2835_cpufreq_get_voltage()
[all …]
/freebsd-12.1/sys/contrib/ngatm/netnatm/msg/
H A Duni_msg.c102 msg->b_buf[mlen+0] = ((msg->b_wptr-msg->b_rptr)-mlen-2) >> 8; in encode_alerting()
103 msg->b_buf[mlen+1] = ((msg->b_wptr-msg->b_rptr)-mlen-2) >> 0; in encode_alerting()
248 msg->b_buf[mlen+0] = ((msg->b_wptr-msg->b_rptr)-mlen-2) >> 8; in encode_call_proc()
249 msg->b_buf[mlen+1] = ((msg->b_wptr-msg->b_rptr)-mlen-2) >> 0; in encode_call_proc()
464 msg->b_buf[mlen+0] = ((msg->b_wptr-msg->b_rptr)-mlen-2) >> 8; in encode_connect()
465 msg->b_buf[mlen+1] = ((msg->b_wptr-msg->b_rptr)-mlen-2) >> 0; in encode_connect()
687 msg->b_buf[mlen+0] = ((msg->b_wptr-msg->b_rptr)-mlen-2) >> 8; in encode_connect_ack()
688 msg->b_buf[mlen+1] = ((msg->b_wptr-msg->b_rptr)-mlen-2) >> 0; in encode_connect_ack()
817 msg->b_buf[mlen+0] = ((msg->b_wptr-msg->b_rptr)-mlen-2) >> 8; in encode_release()
818 msg->b_buf[mlen+1] = ((msg->b_wptr-msg->b_rptr)-mlen-2) >> 0; in encode_release()
[all …]
H A Dprivmsg.c52 if(uni_msg_len(msg) < 9) in uni_decode_head()
61 if(*msg->b_rptr++ != 3) in uni_decode_head()
69 out->mtype = *msg->b_rptr++; in uni_decode_head()
93 msg->b_rptr++; in uni_decode_head()
95 mlen = *msg->b_rptr++ << 8; in uni_decode_head()
96 mlen |= *msg->b_rptr++; in uni_decode_head()
104 if(uni_msg_len(msg) > mlen) in uni_decode_head()
105 msg->b_wptr = msg->b_rptr + mlen; in uni_decode_head()
145 msg->b_rptr = msg->b_wptr; in uni_decode_body_internal()
147 msg->b_rptr += ielen; in uni_decode_body_internal()
[all …]
/freebsd-12.1/crypto/heimdal/lib/hx509/
H A Derror.c45 char *msg; member
51 while(msg) { in free_error_string()
53 free(msg->msg); in free_error_string()
54 free(msg); in free_error_string()
55 msg = m2; in free_error_string()
99 msg = calloc(1, sizeof(*msg)); in hx509_set_error_stringv()
105 if (vasprintf(&msg->msg, fmt, ap) == -1) { in hx509_set_error_stringv()
107 free(msg); in hx509_set_error_stringv()
163 if (msg == NULL || msg->code != error_code) { in hx509_get_error_string()
178 for (msg = context->error; msg; msg = msg->next) in hx509_get_error_string()
[all …]
/freebsd-12.1/contrib/wpa/src/radius/
H A Dradius.c68 (wpabuf_mhead_u8(msg->buf) + msg->attr_pos[idx]); in radius_get_attr_hdr()
106 msg = os_zalloc(sizeof(*msg)); in radius_msg_new()
111 if (msg->buf == NULL || radius_msg_initialize(msg)) { in radius_msg_new()
115 msg->hdr = wpabuf_put(msg->buf, sizeof(struct radius_hdr)); in radius_msg_new()
119 return msg; in radius_msg_new()
134 os_free(msg); in radius_msg_free()
610 if (msg->attr_used >= msg->attr_size) { in radius_msg_add_attr_to_array()
623 msg->attr_pos[msg->attr_used++] = in radius_msg_add_attr_to_array()
651 msg->hdr = wpabuf_mhead(msg->buf); in radius_msg_add_attr()
699 msg = os_zalloc(sizeof(*msg)); in radius_msg_parse()
[all …]
/freebsd-12.1/usr.sbin/rpc.lockd/
H A Dkern.c127 LOCKD_MSG msg; in client_request() local
176 if ((nr = read(devfd, &msg, sizeof(msg))) == sizeof(msg)) { in client_request()
178 show(&msg); in client_request()
188 switch (msg.lm_fl.l_type) { in client_request()
191 if (msg.lm_getlk) in client_request()
192 ret = test_request(&msg); in client_request()
257 test_request(LOCKD_MSG *msg) in test_request() argument
269 if (msg->lm_nfsv3) { in test_request()
326 lock_request(LOCKD_MSG *msg) in lock_request() argument
340 if (msg->lm_nfsv3) { in lock_request()
[all …]
/freebsd-12.1/contrib/unbound/services/cache/
H A Ddns.c231 if((msg->rep->rrsets[msg->rep->rrset_count] = in addr_to_additional()
280 if(msg) in find_add_addrs()
300 if(msg) in find_add_addrs()
398 if((msg->rep->rrsets[msg->rep->rrset_count] = in find_add_ds()
413 if(!msg) in dns_msg_create()
443 if(!(msg->rep->rrsets[msg->rep->rrset_count++] = in dns_msg_authadd()
454 if(!(msg->rep->rrsets[msg->rep->rrset_count++] = in dns_msg_ansadd()
502 if(msg) in dns_cache_find_delegation()
516 if(!msg) in gen_dns_msg()
622 if(!msg) in rrset_msg()
[all …]
/freebsd-12.1/sys/dev/pst/
H A Dpst-iop.c215 msg->version_offset = 0x1; in iop_reset()
216 msg->message_flags = 0x0; in iop_reset()
258 msg->message_flags = 0x0; in iop_init_outqueue()
270 msg->sgl[1].count = 1; in iop_init_outqueue()
310 msg->message_flags = 0x0; in iop_get_lct()
316 msg->last_change_id = 0; in iop_get_lct()
358 msg->message_flags = 0x0; in iop_get_util_params()
363 msg->operation_flags = 0; in iop_get_util_params()
408 msg->version = 0x01; in iop_free_mfa()
471 struct i2o_sgl *sgl = (struct i2o_sgl *)((int32_t *)msg + msg->offset); in iop_create_sgl()
[all …]
/freebsd-12.1/sys/contrib/ngatm/netnatm/
H A Dgenfiles10 awk -f ${SRC}msg/parseie.awk -f ${SRC}msg/geniec.awk ${SRC}msg/ie.def >${DST}msg/uni_ietab.h
11 awk -f ${SRC}msg/parseie.awk -f ${SRC}msg/genieh.awk ${SRC}msg/ie.def >${DST}msg/uni_ie.h
12 awk -f ${SRC}msg/parsemsg.awk -f ${SRC}msg/genmsgc.awk ${SRC}msg/msg.def >${DST}msg/uni_msg.c
13 awk -f ${SRC}msg/parsemsg.awk -f ${SRC}msg/genmsgh.awk ${SRC}msg/msg.def >${DST}msg/uni_msg.h
14 awk -f ${SRC}msg/parsemsg.awk -f ${SRC}sig/genmsgcpyh.awk ${SRC}msg/msg.def >${DST}sig/unimsgcpy.h
15 awk -f ${SRC}msg/parsemsg.awk -f ${SRC}sig/genmsgcpyc.awk ${SRC}msg/msg.def >${DST}sig/sig_unimsgcp…
/freebsd-12.1/sys/contrib/ngatm/netnatm/saal/
H A Dsaal_sscop.c171 msg = m; in QFIND()
175 return msg; in QFIND()
666 msg->m = m; in sscop_aasig()
672 msg->m = m; in sscop_aasig()
792 msg->m = m; in sscop_input()
3807 send_sd(sscop, msg->m, msg->seqno); in sscop_ready_pduq()
3827 send_sd(sscop, msg->m, msg->seqno); in sscop_ready_pduq()
3911 msg->m, msg->seqno); in sscop_ready_sd()
3919 msg->m, msg->seqno); in sscop_ready_sd()
4845 s->msg = msg; in sscop_signal()
[all …]
/freebsd-12.1/crypto/openssh/
H A Dsftp-client.c180 struct sshbuf *msg; in send_string_request() local
191 sshbuf_free(msg); in send_string_request()
210 sshbuf_free(msg); in send_string_attrs_request()
236 sshbuf_free(msg); in get_status()
275 sshbuf_free(msg); in get_handle()
283 sshbuf_free(msg); in get_handle()
317 sshbuf_free(msg); in get_decode_stat()
328 sshbuf_free(msg); in get_decode_stat()
387 sshbuf_free(msg); in get_decode_statvfs()
477 sshbuf_free(msg); in do_init()
[all …]

12345678910>>...74