/openbsd-current/usr.sbin/rpki-client/ |
H A D | io.c | 230 struct msghdr msg; local 247 memset(&msg, 0, sizeof(msg)); 253 msg.msg_iov = &iov; 254 msg.msg_iovlen = 1; 255 msg.msg_control = &cmsgbuf.buf; 256 msg.msg_controllen = sizeof(cmsgbuf.buf); 258 while ((n = recvmsg(fd, &msg, 0)) == -1) { 267 for (cmsg = CMSG_FIRSTHDR(&msg); cmsg != NULL; 268 cmsg = CMSG_NXTHDR(&msg, cms [all...] |
/openbsd-current/sys/arch/sparc64/dev/ |
H A D | vcctty.c | 204 struct vcctty_msg *msg; local 233 msg = (struct vcctty_msg *)(lc->lc_rxq->lq_va + rx_head); 234 if (tp && msg->type == LDC_CONSOLE_DATA) { 235 for (i = 0; i < msg->size; i++) { 237 (*linesw[tp->t_line].l_rint)(msg->data[i], tp); 241 rx_head += sizeof(*msg); 242 rx_head &= ((lc->lc_rxq->lq_nentries * sizeof(*msg)) - 1); 256 struct vcctty_msg *msg; local 264 next_tx_tail = tx_tail + sizeof(*msg); 265 next_tx_tail &= ((lc->lc_txq->lq_nentries * sizeof(*msg)) 287 struct vcctty_msg *msg; local [all...] |
/openbsd-current/sbin/iked/ |
H A D | util.c | 290 struct msghdr msg; local 301 bzero(&msg, sizeof(msg)); 306 msg.msg_iov = &iov; 307 msg.msg_iovlen = 1; 308 msg.msg_name = to; 309 msg.msg_namelen = tolen; 310 msg.msg_control = &cmsgbuf; 311 msg.msg_controllen = sizeof(cmsgbuf); 313 cmsg = CMSG_FIRSTHDR(&msg); 342 struct msghdr msg; local [all...] |
H A D | ikev2.c | 641 ikev2_recv(struct iked *env, struct iked_message *msg) argument 649 hdr = ibuf_seek(msg->msg_data, msg->msg_offset, sizeof(*hdr)); 651 if (hdr == NULL || ibuf_size(msg->msg_data) < 652 (betoh32(hdr->ike_length) - msg->msg_offset)) 658 msg->msg_response = (hdr->ike_flags & IKEV2_FLAG_RESPONSE) ? 1 : 0; 659 msg->msg_exchange = hdr->ike_exchange; 660 msg->msg_sa = sa_lookup(env, 663 msg->msg_msgid = betoh32(hdr->ike_msgid); 664 if (policy_lookup(env, msg, NUL 944 ikev2_ike_auth_recv(struct iked *env, struct iked_sa *sa, struct iked_message *msg) argument 1167 ikev2_init_recv(struct iked *env, struct iked_message *msg, struct ike_header *hdr) argument 1296 ikev2_enable_natt(struct iked *env, struct iked_sa *sa, struct iked_message *msg, int udpencap) argument 1555 ikev2_init_auth(struct iked *env, struct iked_message *msg) argument 2307 ikev2_nat_detection(struct iked *env, struct iked_message *msg, void *ptr, size_t len, unsigned int type, int frompeer) argument 2409 ikev2_add_nat_detection(struct iked *env, struct ibuf *buf, struct ikev2_payload **pld, struct iked_message *msg, ssize_t len) argument 2830 ikev2_resp_informational(struct iked *env, struct iked_sa *sa, struct iked_message *msg) argument 2907 ikev2_resp_recv(struct iked *env, struct iked_message *msg, struct ike_header *hdr) argument 3039 ikev2_handle_delete(struct iked *env, struct iked_message *msg, struct ibuf *resp, struct ikev2_payload **pld, uint8_t *firstpayload) argument 3195 ikev2_handle_notifies(struct iked *env, struct iked_message *msg) argument 3344 ikev2_resp_ike_sa_init(struct iked *env, struct iked_message *msg) argument 3528 ikev2_add_error(struct iked *env, struct ibuf *buf, struct iked_message *msg) argument 3633 ikev2_send_error(struct iked *env, struct iked_sa *sa, struct iked_message *msg, uint8_t exchange) argument 3657 ikev2_send_init_error(struct iked *env, struct iked_message *msg) argument 3710 ikev2_handle_certreq(struct iked* env, struct iked_message *msg) argument 3765 ikev2_resp_ike_eap_mschap(struct iked *env, struct iked_sa *sa, struct iked_message *msg) argument 3851 ikev2_resp_ike_eap(struct iked *env, struct iked_sa *sa, struct iked_message *msg) argument 4395 ikev2_init_create_child_sa(struct iked *env, struct iked_message *msg) argument 4851 ikev2_resp_create_child_sa(struct iked *env, struct iked_message *msg) argument 5263 ikev2_send_informational(struct iked *env, struct iked_message *msg) argument 5401 ikev2_sa_initiator_dh(struct iked_sa *sa, struct iked_message *msg, unsigned int proto, struct iked_sa *osa) argument 5451 ikev2_sa_negotiate_common(struct iked *env, struct iked_sa *sa, struct iked_message *msg, int groupid) argument 5524 ikev2_sa_initiator(struct iked *env, struct iked_sa *sa, struct iked_sa *osa, struct iked_message *msg) argument 5566 ikev2_sa_responder_dh(struct iked_kex *kex, struct iked_proposals *proposals, struct iked_message *msg, unsigned int proto) argument 5617 ikev2_sa_responder(struct iked *env, struct iked_sa *sa, struct iked_sa *osa, struct iked_message *msg) argument 7383 struct iked_message *msg; local 7451 ikev2_info_sa(struct iked *env, struct imsg *imsg, int dolog, const char *msg, struct iked_sa *sa) argument 7491 ikev2_info_csa(struct iked *env, struct imsg *imsg, int dolog, const char *msg, struct iked_childsa *csa) argument 7527 ikev2_info_flow(struct iked *env, struct imsg *imsg, int dolog, const char *msg, struct iked_flow *flow) argument 7613 ikev2_ikesa_info(uint64_t spi, const char *msg) argument 7656 ikev2_log_cert_info(const char *msg, struct iked_id *certid) argument [all...] |
/openbsd-current/sys/dev/pci/drm/amd/display/modules/hdcp/ |
H A D | hdcp_psp.c | 278 hdcp->auth.msg.hdcp1.ainfo = hdcp_cmd->out_msg.hdcp1_create_session.ainfo_primary; 279 memcpy(hdcp->auth.msg.hdcp1.aksv, hdcp_cmd->out_msg.hdcp1_create_session.aksv_primary, 280 sizeof(hdcp->auth.msg.hdcp1.aksv)); 281 memcpy(hdcp->auth.msg.hdcp1.an, hdcp_cmd->out_msg.hdcp1_create_session.an_primary, 282 sizeof(hdcp->auth.msg.hdcp1.an)); 335 memcpy(hdcp_cmd->in_msg.hdcp1_first_part_authentication.bksv_primary, hdcp->auth.msg.hdcp1.bksv, 338 hdcp_cmd->in_msg.hdcp1_first_part_authentication.r0_prime_primary = hdcp->auth.msg.hdcp1.r0p; 339 hdcp_cmd->in_msg.hdcp1_first_part_authentication.bcaps = hdcp->auth.msg.hdcp1.bcaps; 403 hdcp_cmd->in_msg.hdcp1_second_part_authentication.ksv_list_size = hdcp->auth.msg.hdcp1.ksvlist_size; 404 memcpy(hdcp_cmd->in_msg.hdcp1_second_part_authentication.ksv_list, hdcp->auth.msg [all...] |
/openbsd-current/lib/libz/ |
H A D | gzlib.c | 106 state->msg = NULL; /* no error message yet */ 504 (state->msg == NULL ? "" : state->msg); 527 state->msg accordingly. Free any previous error message already there. Do 532 void ZLIB_INTERNAL gz_error(gz_statep state, int err, const char *msg) { argument 534 if (state->msg != NULL) { 536 free(state->msg); 537 state->msg = NULL; 546 if (msg == NULL) 554 if ((state->msg [all...] |
/openbsd-current/sbin/dhclient/ |
H A D | parse.c | 257 char *val, *msg; local 269 rslt = asprintf(&msg, "expecting integer between %lld and %lld", low, 272 parse_warn(msg); 273 free(msg); 283 parse_warn(char *msg) argument 288 log_warnx("%s: %s line %d: %s", log_procname, tlname, lexline, msg);
|
/openbsd-current/regress/sys/netinet6/mcast6/ |
H A D | mc6recv.c | 59 char msg[256]; local 155 n = recv(s, msg, sizeof(msg) - 1, 0); 158 msg[n] = '\0'; 159 fprintf(log, "<<< %s\n", msg); 163 errx(1, "received %s", msg);
|
/openbsd-current/regress/sys/netinet/mcast/ |
H A D | mcrecv.c | 58 char msg[256]; local 148 n = recv(s, msg, sizeof(msg) - 1, 0); 151 msg[n] = '\0'; 152 fprintf(log, "<<< %s\n", msg); 156 errx(1, "received %s", msg);
|
/openbsd-current/gnu/usr.bin/perl/dist/Devel-PPPort/devel/ |
H A D | mkapidoc.pl | 189 my $msg; 192 $msg = "Specify only name when main entry is in embed.fnc"; 197 if (! defined $msg) { 199 $msg = "Must have 'm' flag for overriding 'M' embed.fnc entry"; 202 $msg = "Must not have 'p' flag for overriding 'M' embed.fnc entry"; 206 die "$msg: $file: $.: \n'$line'\n" if defined $msg;
|
/openbsd-current/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/Parser/ |
H A D | Iterator.pm | 81 my $msg = Carp::longmess('abstract method called directly!'); 82 $_[0]->_croak($msg); 130 my $msg = Carp::longmess('abstract method called directly!'); 131 $_[0]->_croak($msg); 136 my $msg = Carp::longmess('abstract method called directly!'); 137 $_[0]->_croak($msg);
|
/openbsd-current/sys/lib/libkern/ |
H A D | libkern.h | 115 #define KASSERTMSG(e, msg, ...) ((void)0) 118 #define KASSERTMSG(e, msg, ...) ((e) ? (void)0 : \ 119 panic(__KASSERTSTR " " msg, "diagnostic ", #e, \ 126 #define KDASSERTMSG(e, msg, ...) ((void)0) 129 #define KDASSERTMSG(e, msg, ...) ((e) ? (void)0 : \ 130 panic(__KASSERTSTR " " msg, "debugging ", #e, \
|
/openbsd-current/sys/dev/pv/ |
H A D | hypervic.c | 228 struct vmbus_icmsg_negotiate *msg; local 232 msg = (struct vmbus_icmsg_negotiate *)hdr; 235 for (i = 0; i < msg->ic_fwver_cnt; i++) { 236 propmaj = VMBUS_ICVER_MAJOR(msg->ic_ver[i]); 237 propmin = VMBUS_ICVER_MINOR(msg->ic_ver[i]); 249 for (; i < msg->ic_fwver_cnt + msg->ic_msgver_cnt; i++) { 250 propmaj = VMBUS_ICVER_MAJOR(msg->ic_ver[i]); 251 propmin = VMBUS_ICVER_MINOR(msg->ic_ver[i]); 262 msg 295 struct vmbus_icmsg_heartbeat *msg; local 364 struct vmbus_icmsg_shutdown *msg; local 441 struct vmbus_icmsg_timesync *msg; local 955 hv_kvp_process(struct hv_kvp *kvp, struct vmbus_icmsg_kvp *msg) argument [all...] |
/openbsd-current/gnu/usr.bin/binutils-2.17/gas/ |
H A D | itbl-parse.y | 453 yyerror (msg) 454 const char *msg; 456 printf ("line %d: %s\n", insntbl_line, msg);
|
/openbsd-current/lib/libevent/ |
H A D | log.c | 54 static void event_log(int severity, const char *msg); 149 event_log(int severity, const char *msg) argument 152 log_fn(severity, msg);
|
/openbsd-current/regress/sys/kern/kqueue/ |
H A D | kqueue-flock.c | 24 check_lock(int fd, const char *msg) argument 37 printf("lock succeeded %s\n", msg); 45 printf("lock not found %s\n", msg);
|
/openbsd-current/regress/sys/kern/sosplice/loop/ |
H A D | chain.pl | 103 my ($msg, $buf) = "foo"; 104 $cs[0]->send($msg, 0) 122 $msg eq $buf
|
H A D | loop.pl | 93 my ($msg, $buf) = "foo"; 94 $cs->send($msg, 0) 98 $msg eq $buf
|
/openbsd-current/usr.sbin/pkg_add/OpenBSD/ |
H A D | ProgressMeter.pm | 62 sub for_list($self, $msg, $l, $code) 64 if (defined $msg) { 65 $self->set_header($msg);
|
/openbsd-current/lib/libradius/ |
H A D | radius.c | 372 radius_recvmsg(int s, struct msghdr * msg, int flags) argument 378 if (msg->msg_iov != NULL || msg->msg_iovlen != 0) 383 msg->msg_iov = &iov; 384 msg->msg_iovlen = 1; 385 n = recvmsg(s, msg, flags); 386 msg->msg_iov = NULL; 387 msg->msg_iovlen = 0; 396 const struct msghdr * msg, int flags) 402 if (msg 395 radius_sendmsg(int s, const RADIUS_PACKET * packet, const struct msghdr * msg, int flags) argument [all...] |
/openbsd-current/lib/libexpat/tests/ |
H A D | minicheck.h | 87 # define fail(msg) _fail(__FILE__, __LINE__, msg) 136 _fail(const char *file, int line, const char *msg);
|
/openbsd-current/lib/libc/rpc/ |
H A D | svc_auth_unix.c | 51 _svcauth_unix(struct svc_req *rqst, struct rpc_msg *msg) argument 70 auth_len = (u_int)msg->rm_call.cb_cred.oa_length; 71 xdrmem_create(&xdrs, msg->rm_call.cb_cred.oa_base, auth_len,XDR_DECODE); 124 _svcauth_short(struct svc_req *rqst, struct rpc_msg *msg) argument
|
/openbsd-current/regress/usr.sbin/syslogd/ |
H A D | args-selector.pl | 16 my $msg = "$fac.$sev"; 17 push @messages, $msg;
|
/openbsd-current/usr.sbin/hostapd/ |
H A D | iapp.c | 140 struct msghdr msg; local 169 msg.msg_name = (caddr_t)addr; 170 msg.msg_namelen = sizeof(struct sockaddr_in); 171 msg.msg_iov = iov; 172 msg.msg_iovlen = 2; 173 msg.msg_control = 0; 174 msg.msg_controllen = 0; 175 msg.msg_flags = 0; 177 if (sendmsg(iapp->i_udp, &msg, 0) == -1) {
|
/openbsd-current/usr.bin/cvs/ |
H A D | add.c | 234 char *msg; local 276 (void)xasprintf(&msg, "file %s was initially added on branch %s.", 278 if (rcs_rev_add(cf->file_rcs, RCS_HEAD_REV, msg, -1, NULL) == -1) 281 free(msg); 305 char *date, entry[PATH_MAX], msg[1024], repo[PATH_MAX], *tag, *p; local 368 (void)xsnprintf(msg, sizeof(msg), 372 (void)strlcat(msg, 374 sizeof(msg)); 375 (void)strlcat(msg, ta [all...] |