/freebsd-13-stable/contrib/ipfilter/lib/ |
H A D | save_execute.c | 66 execute_send(ctx, msg) 68 ipmon_msg_t *msg; 75 fwrite(msg->imm_msg, msg->imm_msglen, 1, fp);
|
H A D | save_file.c | 117 file_send(ctx, msg) 119 ipmon_msg_t *msg; 124 fwrite(msg->imm_data, msg->imm_dsize, 1, file->fp); 126 fprintf(file->fp, "%s", msg->imm_msg);
|
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/synctask_core/ |
H A D | tst.inherit.ksh | 31 msg = "resetting " .. prop .. " on " .. fs .. " err=" .. err 32 return msg
|
/freebsd-13-stable/sys/dev/iicbus/ |
H A D | sy8106a.c | 86 struct iic_msg msg[2]; local 90 msg[0].slave = sc->addr; 91 msg[0].flags = IIC_M_WR; 92 msg[0].len = 1; 93 msg[0].buf = ® 95 msg[1].slave = sc->addr; 96 msg[1].flags = IIC_M_RD; 97 msg[1].len = size; 98 msg[1].buf = data; 100 return (iicbus_transfer(dev, msg, 107 struct iic_msg msg; local [all...] |
/freebsd-13-stable/contrib/openpam/include/security/ |
H A D | pam_types.h | 52 char *msg; member in struct:pam_message
|
/freebsd-13-stable/contrib/ntp/lib/isc/unix/ |
H A D | strerror.c | 51 char *msg; local 60 msg = strerror(num); 61 if (msg != NULL) 62 snprintf(buf, size, "%s", msg);
|
/freebsd-13-stable/sys/netgraph/ |
H A D | ng_echo.c | 88 struct ng_mesg *msg; local 91 NGI_GET_MSG(item, msg); 92 msg->header.flags |= NGF_RESP; 93 NG_RESPOND_MSG(error, node, item, msg);
|
H A D | ng_tag.c | 351 struct ng_mesg *msg; local 355 NGI_GET_MSG(item, msg); 356 switch (msg->header.typecookie) { 358 switch (msg->header.cmd) { 362 hp = (struct ng_tag_hookin *)msg->data; 366 if (msg->header.arglen < sizeof(*hp) || 367 msg->header.arglen < NG_TAG_HOOKIN_SIZE(hp->tag_len)) 383 hp = (struct ng_tag_hookout *)msg->data; 387 if (msg->header.arglen < sizeof(*hp) || 388 msg [all...] |
H A D | ng_hole.c | 148 struct ng_mesg *msg; local 154 NGI_GET_MSG(item, msg); 155 switch (msg->header.typecookie) { 157 switch (msg->header.cmd) { 162 if (msg->header.arglen != NG_HOOKSIZ) { 167 hook = ng_findhook(node, (char *)msg->data); 174 if (msg->header.cmd != NGM_HOLE_CLR_STATS) { 175 NG_MKRESPONSE(resp, msg, sizeof(*stats), 184 if (msg->header.cmd != NGM_HOLE_GET_STATS) 197 NG_FREE_MSG(msg); [all...] |
/freebsd-13-stable/crypto/openssh/ |
H A D | xmss_fast.h | 84 int xmss_sign(unsigned char *sk, bds_state *state, unsigned char *sig_msg, unsigned long long *sig_msg_len, const unsigned char *msg,unsigned long long msglen, const xmss_params *params); 88 * Note: msg and msglen are pure outputs which carry the message in case verification succeeds. The (input) message is assumed to be within sig_msg which has the form (sig||msg). 90 int xmss_sign_open(unsigned char *msg,unsigned long long *msglen, const unsigned char *sig_msg,unsigned long long sig_msg_len, const unsigned char *pk, const xmss_params *params); 105 int xmssmt_sign(unsigned char *sk, bds_state *state, unsigned char *wots_sigs, unsigned char *sig_msg, unsigned long long *sig_msg_len, const unsigned char *msg, unsigned long long msglen, const xmssmt_params *params); 109 int xmssmt_sign_open(unsigned char *msg, unsigned long long *msglen, const unsigned char *sig_msg, unsigned long long sig_msg_len, const unsigned char *pk, const xmssmt_params *params);
|
/freebsd-13-stable/share/examples/netgraph/ |
H A D | udp.tunnel | 40 ngctl msg ng0:inet bind inet/${LOC_EXTERIOR_IP}:${UDP_TUNNEL_PORT} 44 ngctl msg ng0:inet connect inet/${REM_EXTERIOR_IP}:${UDP_TUNNEL_PORT}
|
/freebsd-13-stable/share/examples/tests/tests/tap/ |
H A D | printf_test.c | 56 char *msg; local 62 if (vasprintf(&msg, fmt, ap) == -1) 65 printf("not ok %d - %s\n", test_num, msg); 66 free(msg);
|
/freebsd-13-stable/tests/sys/kqueue/libkqueue/ |
H A D | common.h | 27 # define err(rc,msg,...) do { perror(msg); exit(rc); } while (0) 28 # define errx(rc,msg,...) do { puts(msg); exit(rc); } while (0)
|
/freebsd-13-stable/contrib/unbound/iterator/ |
H A D | iter_utils.h | 104 * Allocate dns_msg from parsed msg, in regional. 106 * @param msg: parsed message (cleaned and ready for regional allocation). 110 struct dns_msg* dns_alloc_msg(struct sldns_buffer* pkt, struct msg_parse* msg, 198 * @param msg: delegation message, with DS if a secure referral. 203 struct dns_msg* msg, uint16_t dclass); 210 * @param msg: message to examine. 213 int iter_msg_has_dnssec(struct dns_msg* msg); 220 * @param msg: the message to inspect. 225 * false if not sure (empty msg), or not from the zone. 227 int iter_msg_from_zone(struct dns_msg* msg, struc [all...] |
/freebsd-13-stable/cddl/usr.sbin/zfsd/ |
H A D | zfsd_event.cc | 318 stringstream msg; local 319 msg << "No replicas available for pool " << poolGUID; 320 msg << ", ignoring"; 322 syslog(LOG_INFO, "%s", msg.str().c_str()); 332 stringstream msg; local 334 msg << "ZfsEvent::Process: Event for unknown pool "; 335 msg << poolGUID << " "; 336 msg << "queued"; 338 syslog(priority, "%s", msg.str().c_str()); 344 stringstream msg; local 357 stringstream msg; local [all...] |
/freebsd-13-stable/contrib/opencsd/decoder/include/common/ |
H A D | ocsd_error.h | 63 ocsdError(const ocsd_err_severity_t sev_type, const ocsd_err_t code, const std::string &msg); /**< Default error constructor with severity and error code - plus message. */ 64 ocsdError(const ocsd_err_severity_t sev_type, const ocsd_err_t code, const ocsd_trc_index_t idx, const std::string &msg); /**< Constructor with optional trace index - plus message. */ 65 ocsdError(const ocsd_err_severity_t sev_type, const ocsd_err_t code, const ocsd_trc_index_t idx, const uint8_t chan_id, const std::string &msg); /**< Constructor with optional trace index and channel ID - plus message. */ 74 void setMessage(const std::string &msg) { m_err_message = msg; }; /**< Set custom error message */ argument
|
/freebsd-13-stable/contrib/ofed/libibcm/ |
H A D | cm.c | 71 #define CM_CREATE_MSG_CMD_RESP(msg, cmd, resp, type, size) \ 76 msg = alloca(size); \ 77 if (!msg) \ 79 hdr = msg; \ 80 cmd = msg + sizeof(*hdr); \ 91 #define CM_CREATE_MSG_CMD(msg, cmd, type, size) \ 96 msg = alloca(size); \ 97 if (!msg) \ 99 hdr = msg; \ 100 cmd = msg 251 void *msg; local 281 void *msg; local 309 void *msg; local 338 void *msg; local 366 void *msg; local 387 void *msg; local 438 void *msg; local 476 void *msg; local 530 void *msg; local 547 void *msg; local 578 void *msg; local 633 void *msg; local 660 void *msg; local 687 void *msg; local 719 void *msg; local 808 void *msg; local [all...] |
/freebsd-13-stable/contrib/libevent/test/ |
H A D | tinytest_macros.h | 70 /* Fail and abort the current test for the reason in msg */ 71 #define tt_abort_printf(msg) TT_DIE(msg) 73 #define tt_abort_msg(msg) TT_DIE(("%s", msg)) 76 /* Fail but do not abort the current test for the reason in msg. */ 77 #define tt_failprint_f(msg) TT_FAIL(msg) 79 #define tt_fail_msg(msg) TT_FAIL(("%s", msg)) [all...] |
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/scripts/ |
H A D | dtest.pl | 93 my($msg) = @_; 95 print STDERR $msg; 96 print LOG $msg if ($opt_l); 103 my($msg) = $parms[0]; 118 print README "ERROR: " . $file . " " . $msg; 148 $msg = "ERROR: " . $dest . " " . $msg; 151 $msg = $msg . "; see $errfile in failure.$n\n"; 153 $msg [all...] |
/freebsd-13-stable/contrib/ntp/sntp/libevent/test/ |
H A D | tinytest_macros.h | 70 /* Fail and abort the current test for the reason in msg */ 71 #define tt_abort_printf(msg) TT_DIE(msg) 73 #define tt_abort_msg(msg) TT_DIE(("%s", msg)) 76 /* Fail but do not abort the current test for the reason in msg. */ 77 #define tt_failprint_f(msg) TT_FAIL(msg) 79 #define tt_fail_msg(msg) TT_FAIL(("%s", msg)) [all...] |
/freebsd-13-stable/tools/regression/netinet/ipbroadcast/ |
H A D | ipbroadcast.c | 112 struct msghdr msg; local 299 memset(&msg, 0, sizeof(struct msghdr)); 300 msg.msg_name = &dsin; 301 msg.msg_namelen = sizeof(dsin); 302 msg.msg_iov = iov; 303 msg.msg_iovlen = 1; 305 /* Assume we fill out a control msg; macros need to see buf ptr */ 306 msg.msg_control = cmsgbuf; 307 msg.msg_controllen = 0; 312 msg [all...] |
/freebsd-13-stable/contrib/wpa/src/wps/ |
H A D | wps_registrar.c | 477 static int wps_build_wps_state(struct wps_context *wps, struct wpabuf *msg) argument 481 wpabuf_put_be16(msg, ATTR_WPS_STATE); 482 wpabuf_put_be16(msg, 1); 483 wpabuf_put_u8(msg, wps->wps_state); 502 wpabuf_free(p2->msg); 514 struct wpabuf *msg) 518 wpabuf_put_be16(msg, ATTR_AP_SETUP_LOCKED); 519 wpabuf_put_be16(msg, 1); 520 wpabuf_put_u8(msg, 1); 527 struct wpabuf *msg) 513 wps_build_ap_setup_locked(struct wps_context *wps, struct wpabuf *msg) argument 526 wps_build_selected_registrar(struct wps_registrar *reg, struct wpabuf *msg) argument 539 wps_build_sel_reg_dev_password_id(struct wps_registrar *reg, struct wpabuf *msg) argument 555 wps_build_sel_pbc_reg_uuid_e(struct wps_registrar *reg, struct wpabuf *msg) argument 592 wps_build_sel_reg_config_methods(struct wps_registrar *reg, struct wpabuf *msg) argument 615 wps_build_probe_config_methods(struct wps_registrar *reg, struct wpabuf *msg) argument 634 wps_build_config_methods_r(struct wps_registrar *reg, struct wpabuf *msg) argument 1467 wps_build_uuid_r(struct wps_data *wps, struct wpabuf *msg) argument 1477 wps_build_r_hash(struct wps_data *wps, struct wpabuf *msg) argument 1525 wps_build_r_snonce1(struct wps_data *wps, struct wpabuf *msg) argument 1535 wps_build_r_snonce2(struct wps_data *wps, struct wpabuf *msg) argument 1546 wps_build_cred_network_idx(struct wpabuf *msg, const struct wps_credential *cred) argument 1557 wps_build_cred_ssid(struct wpabuf *msg, const struct wps_credential *cred) argument 1570 wps_build_cred_auth_type(struct wpabuf *msg, const struct wps_credential *cred) argument 1582 wps_build_cred_encr_type(struct wpabuf *msg, const struct wps_credential *cred) argument 1594 wps_build_cred_network_key(struct wpabuf *msg, const struct wps_credential *cred) argument 1608 wps_build_credential(struct wpabuf *msg, const struct wps_credential *cred) argument 1622 wps_build_credential_wrap(struct wpabuf *msg, const struct wps_credential *cred) argument 1641 wps_build_cred(struct wps_data *wps, struct wpabuf *msg) argument 1847 wps_build_ap_settings(struct wps_data *wps, struct wpabuf *msg) argument 1860 struct wpabuf *msg, *plain; local 1889 struct wpabuf *msg; local 1962 struct wpabuf *msg; local 2001 struct wpabuf *msg, *plain; local 2040 struct wpabuf *msg, *plain; local 2076 struct wpabuf *msg, *plain; local 2113 struct wpabuf *msg; local 2788 wps_process_m3(struct wps_data *wps, const struct wpabuf *msg, struct wps_parse_attr *attr) argument 2823 wps_process_m5(struct wps_data *wps, const struct wpabuf *msg, struct wps_parse_attr *attr) argument 2923 struct wpabuf *msg; local 2974 wps_process_m7(struct wps_data *wps, const struct wpabuf *msg, struct wps_parse_attr *attr) argument 3039 wps_process_wsc_msg(struct wps_data *wps, const struct wpabuf *msg) argument 3122 wps_process_wsc_ack(struct wps_data *wps, const struct wpabuf *msg) argument 3189 wps_process_wsc_nack(struct wps_data *wps, const struct wpabuf *msg) argument 3271 wps_process_wsc_done(struct wps_data *wps, const struct wpabuf *msg) argument 3396 wps_registrar_process_msg(struct wps_data *wps, enum wsc_op_code op_code, const struct wpabuf *msg) argument [all...] |
/freebsd-13-stable/contrib/wpa/src/eap_server/ |
H A D | ikev2.c | 615 /* msg | Ni | prf(SK_pr,IDr') */ 884 struct wpabuf *msg, u8 exchange_type, 892 hdr = wpabuf_put(msg, sizeof(*hdr)); 904 struct wpabuf *msg, u8 next_payload) 914 phdr = wpabuf_put(msg, sizeof(*phdr)); 919 p = wpabuf_put(msg, sizeof(*p)); 924 t = wpabuf_put(msg, sizeof(*t)); 930 wpabuf_put_be16(msg, 0x800e); /* AF=1, AttrType=14 */ 931 wpabuf_put_be16(msg, 128); /* 128-bit key */ 933 plen = (u8 *) wpabuf_put(msg, 883 ikev2_build_hdr(struct ikev2_initiator_data *data, struct wpabuf *msg, u8 exchange_type, u8 next_payload, u32 message_id) argument 903 ikev2_build_sai(struct ikev2_initiator_data *data, struct wpabuf *msg, u8 next_payload) argument 963 ikev2_build_kei(struct ikev2_initiator_data *data, struct wpabuf *msg, u8 next_payload) argument 1000 ikev2_build_ni(struct ikev2_initiator_data *data, struct wpabuf *msg, u8 next_payload) argument 1019 ikev2_build_idi(struct ikev2_initiator_data *data, struct wpabuf *msg, u8 next_payload) argument 1045 ikev2_build_auth(struct ikev2_initiator_data *data, struct wpabuf *msg, u8 next_payload) argument 1087 struct wpabuf *msg; local 1126 struct wpabuf *msg, *plain; local [all...] |
H A D | eap_server_eke.c | 114 struct wpabuf *msg; local 119 msg = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_EKE, plen, 121 if (msg == NULL) { 126 wpabuf_put_u8(msg, eke_exch); 128 return msg; 164 struct wpabuf *msg; local 169 msg = eap_eke_build_msg(data, id, 4, EAP_EKE_FAILURE); 170 if (msg == NULL) { 174 wpabuf_put_be32(msg, data->failure_code); 176 return msg; 184 struct wpabuf *msg; local 242 struct wpabuf *msg; local 306 struct wpabuf *msg; local [all...] |
/freebsd-13-stable/sys/netgraph/bluetooth/socket/ |
H A D | ng_btsocket_hci_raw.c | 262 struct ng_mesg *msg = NGI_MSG(item); /* item still has message */ local 271 if (msg != NULL && 272 (msg->header.typecookie == NGM_HCI_COOKIE || 273 msg->header.typecookie == NGM_GENERIC_COOKIE) && 274 msg->header.flags & NGF_RESP) { 275 if (msg->header.token == 0) { 389 struct ng_mesg *msg = NULL; local 392 NG_MKMESSAGE(msg, NGM_HCI_COOKIE, cmd, arglen, M_NOWAIT); 393 if (msg == NULL) 397 bcopy(arg, msg 412 struct ng_mesg *msg = NULL; local 559 ng_btsocket_hci_raw_msg_input(struct ng_mesg *msg) argument 612 struct ng_mesg *msg = NULL; local 1040 struct ng_mesg *msg = NULL; local [all...] |