Home
last modified time | relevance | path

Searched refs:mtype (Results 1 – 25 of 49) sorted by relevance

12

/freebsd/contrib/nvi/vi/
H A Dvs_msg.c227 vs_msg(SCR *sp, mtype_t mtype, char *line, size_t len) in vs_msg() argument
284 if (mtype == M_ERR) in vs_msg()
287 if (mtype == M_ERR) in vs_msg()
300 (void)vs_msgsave(sp, mtype, line, len); in vs_msg()
308 if (mtype == M_NONE) { in vs_msg()
309 vs_output(sp, mtype, line, len); in vs_msg()
346 vs_output(sp, vip->mtype, ".\n", 2); in vs_msg()
348 vs_output(sp, vip->mtype, ";", 1); in vs_msg()
352 vip->mtype = mtype; in vs_msg()
374 vs_output(sp, mtype, s, e - s); in vs_msg()
[all …]
/freebsd/contrib/tcpdump/
H A Dprint-tipc.c160 u_int mtype; in print_payload() local
175 mtype = TIPC_MTYPE(w1); in print_payload()
186 tok2str(tipcmtype_values, "Unknown", mtype)); in print_payload()
198 tok2str(tipcmtype_values, "Unknown", mtype)); in print_payload()
219 u_int mtype; in print_internal() local
239 mtype = TIPC_MTYPE(w1); in print_internal()
248 tok2str(tipcmtype_values, "Unknown", mtype), w1); in print_internal()
281 u_int mtype; in print_link_conf() local
293 mtype = TIPC_MTYPE(w1); in print_link_conf()
303 tok2str(tipc_linkconf_mtype_values, "Unknown", mtype)); in print_link_conf()
/freebsd/sys/kern/
H A Dsubr_kobj.c292 kobj_create(kobj_class_t cls, struct malloc_type *mtype, int mflags) in kobj_create() argument
296 obj = malloc(cls->size, mtype, mflags | M_ZERO); in kobj_create()
300 free(obj, mtype); in kobj_create()
327 kobj_delete(kobj_t obj, struct malloc_type *mtype) in kobj_delete() argument
347 if (mtype) in kobj_delete()
348 free(obj, mtype); in kobj_delete()
H A Dsysv_msg.c767 size_t msgsz, int msgflg, long mtype) in kern_msgsnd() argument
958 msghdr->msg_type = mtype; in kern_msgsnd()
1111 long mtype; in sys_msgsnd() local
1116 if ((error = copyin(uap->msgp, &mtype, sizeof(mtype))) != 0) { in sys_msgsnd()
1121 (const char *)uap->msgp + sizeof(mtype), in sys_msgsnd()
1122 uap->msgsz, uap->msgflg, mtype)); in sys_msgsnd()
1137 int msgflg, long *mtype) in kern_msgrcv() argument
1351 *mtype = msghdr->msg_type; in kern_msgrcv()
1399 long mtype; in sys_msgrcv() local
1405 (char *)uap->msgp + sizeof(mtype), uap->msgsz, in sys_msgrcv()
[all …]
H A Dsubr_mchain.c274 int mtype, error; in mb_put_uio() local
276 mtype = (uiop->uio_segflg == UIO_SYSSPACE) ? MB_MSYSTEM : MB_MUSER; in mb_put_uio()
289 error = mb_put_mem(mbp, uiop->uio_iov->iov_base, left, mtype); in mb_put_uio()
528 int mtype, error; in md_get_uio() local
530 mtype = (uiop->uio_segflg == UIO_SYSSPACE) ? MB_MSYSTEM : MB_MUSER; in md_get_uio()
543 error = md_get_mem(mdp, uiocp, left, mtype); in md_get_uio()
/freebsd/tools/regression/sysvmsg/
H A Dmsgtest.c67 long mtype; member
170 m.mtype = MTYPE_1; in main()
184 m.mtype = MTYPE_2; in main()
320 m.mtype = MTYPE_1_ACK; in receiver()
337 m.mtype = MTYPE_2_ACK; in receiver()
/freebsd/contrib/nvi/common/
H A Dmark.c106 mark_get(SCR *sp, ARG_CHAR_T key, MARK *mp, mtype_t mtype) in mark_get() argument
115 msgq(sp, mtype, "017|Mark %s: not set", KEY_NAME(sp, key)); in mark_get()
119 msgq(sp, mtype, in mark_get()
130 msgq(sp, mtype, in mark_get()
H A Dmsg.c354 msgq_wstr(SCR *sp, mtype_t mtype, const CHAR_T *str, const char *fmt) in msgq_wstr() argument
360 msgq(sp, mtype, "%s", fmt); in msgq_wstr()
364 msgq_str(sp, mtype, nstr, fmt); in msgq_wstr()
374 msgq_str(SCR *sp, mtype_t mtype, const char *str, const char *fmt) in msgq_str() argument
380 msgq(sp, mtype, "%s", fmt); in msgq_str()
387 msgq(sp, mtype, fmt, p); in msgq_str()
H A Dmsg.h56 mtype_t mtype; /* Message type: M_NONE, M_ERR, M_INFO. */ member
H A Dexf.c739 enum { NEWFILE, OLDFILE } mtype; local
808 mtype = NEWFILE;
826 mtype = OLDFILE;
965 switch (mtype) {
/freebsd/contrib/ldns/
H A Ddane.c673 ldns_tlsa_matching_type mtype; in ldns_dane_verify_rr() local
688 mtype = ldns_rdf2native_int8(ldns_rr_rdf(tlsa_rr, 2)); in ldns_dane_verify_rr()
716 else if (SSL_dane_tlsa_add(ssl, usage, selector, mtype, in ldns_dane_verify_rr()
774 selector, mtype, data, true); in ldns_dane_verify_rr()
789 selector, mtype, data, true); in ldns_dane_verify_rr()
798 selector, mtype, data); in ldns_dane_verify_rr()
815 selector, mtype, data, false); in ldns_dane_verify_rr()
829 selector, mtype, data); in ldns_dane_verify_rr()
919 ldns_tlsa_matching_type mtype; in ldns_dane_verify() local
925 mtype = ldns_rdf2native_int8(ldns_rr_rdf(tlsa_rr,2)); in ldns_dane_verify()
[all …]
/freebsd/sys/ddb/
H A Ddb_pprint.c88 struct ctf_type_v3 *mtype; in db_pprint_struct() local
120 mtype = db_ctf_typeid_to_type(&sym_data, mp->ctm_type); in db_pprint_struct()
130 db_pprint_type(maddr, mtype, depth + 1); in db_pprint_struct()
143 mtype = db_ctf_typeid_to_type(&sym_data, mp->ctlm_type); in db_pprint_struct()
153 db_pprint_type(maddr, mtype, depth + 1); in db_pprint_struct()
/freebsd/crypto/openssl/doc/man3/
H A DSSL_CTX_dane_enable.pod18 uint8_t mtype, uint8_t ord);
21 uint8_t mtype, const unsigned char *data, size_t dlen);
24 uint8_t *mtype, const unsigned char **data,
49 The B<mtype> argument specifies a DANE TLSA matching type and the B<md>
126 B<selector>, B<mtype> and B<data> parameters is updated to the corresponding
201 uint8_t usage, selector, mtype;
228 /* set usage, selector, mtype, data, len */
245 ret = SSL_dane_tlsa_add(ssl, usage, selector, mtype, data, len);
308 (void) SSL_get0_dane_tlsa(ssl, &usage, &selector, &mtype, NULL, NULL);
309 printf("DANE TLSA %d %d %d %s at depth %d\n", usage, selector, mtype,
/freebsd/contrib/netbsd-tests/kernel/
H A Dt_sysv.c75 long mtype; member
256 m.mtype = MTYPE_1; in ATF_TC_BODY()
270 m.mtype = MTYPE_2; in ATF_TC_BODY()
362 m.mtype = MTYPE_1_ACK; in receiver()
378 m.mtype = MTYPE_2_ACK; in receiver()
/freebsd/sys/sys/
H A Dkobj.h196 struct malloc_type *mtype,
208 void kobj_delete(kobj_t obj, struct malloc_type *mtype);
/freebsd/crypto/openssl/test/
H A Ddanetest.c247 static uint8_t mtype; in tlsa_import_rr() local
252 { &mtype, "mtype", checked_uint8 }, in tlsa_import_rr()
268 ret = SSL_dane_tlsa_add(ssl, usage, selector, mtype, data, len); in tlsa_import_rr()
/freebsd/crypto/openssl/ssl/
H A Dssl_lib.c97 uint8_t mtype; member
140 mdevp[dane_mds[i].mtype] = md; in dane_ctx_enable()
141 mdord[dane_mds[i].mtype] = dane_mds[i].ord; in dane_ctx_enable()
210 if (SSL_dane_tlsa_add(to, t->usage, t->selector, t->mtype, in ssl_dane_dup()
218 const EVP_MD *md, uint8_t mtype, uint8_t ord) in dane_mtype_set() argument
222 if (mtype == DANETLS_MATCHING_FULL && md != NULL) { in dane_mtype_set()
227 if (mtype > dctx->mdmax) { in dane_mtype_set()
230 int n = ((int)mtype) + 1; in dane_mtype_set()
247 for (i = dctx->mdmax + 1; i < mtype; ++i) { in dane_mtype_set()
252 dctx->mdmax = mtype; in dane_mtype_set()
[all …]
/freebsd/contrib/ntp/include/
H A Dadjtime.h47 long mtype; member
/freebsd/contrib/netbsd-tests/lib/libc/sys/
H A Dt_msgsnd.c57 long mtype; member
216 msg.mtype = 0; in ATF_TC_BODY()
H A Dt_msgrcv.c58 long mtype; member
304 long mtype; in ATF_TC_BODY() member
/freebsd/sys/compat/linux/
H A Dlinux_ipc.c648 long mtype; in linux_msgsnd() local
657 mtype = (long)lmtype; in linux_msgsnd()
660 args->msgsz, args->msgflg, mtype)); in linux_msgsnd()
667 long mtype; in linux_msgrcv() local
676 args->msgtyp, args->msgflg, &mtype)) != 0) in linux_msgrcv()
678 lmtype = (l_long)mtype; in linux_msgrcv()
/freebsd/crypto/openssl/include/internal/
H A Ddane.h46 uint8_t mtype; member
/freebsd/crypto/openssl/crypto/x509/
H A Dx509_vfy.c2691 unsigned mtype = DANETLS_NONE; in dane_match() local
2754 mtype = DANETLS_NONE; in dane_match()
2755 ordinal = dane->dctx->mdord[t->mtype]; in dane_match()
2767 mtype = DANETLS_NONE; in dane_match()
2768 ordinal = dane->dctx->mdord[t->mtype]; in dane_match()
2769 } else if (t->mtype != DANETLS_MATCHING_FULL) { in dane_match()
2779 if (dane->dctx->mdord[t->mtype] < ordinal) in dane_match()
2787 if (t->mtype != mtype) { in dane_match()
2788 const EVP_MD *md = dane->dctx->mdevp[mtype = t->mtype]; in dane_match()
2866 t->mtype != DANETLS_MATCHING_FULL || in check_dane_pkeys()
/freebsd/contrib/unbound/dnstap/
H A Dunbound-dnstap-socket.c497 static const char* mtype_to_str(enum _Dnstap__Message__Type mtype) in mtype_to_str() argument
499 switch(mtype) { in mtype_to_str()
616 const char* mtype = NULL; in log_data_frame() local
633 mtype = mtype_to_str(d->message->type); in log_data_frame()
644 mtype = "nomessage"; in log_data_frame()
647 printf("%s%s%s%s%s\n", mtype, (maddr?" ":""), (maddr?maddr:""), in log_data_frame()
/freebsd/contrib/ntp/libntp/
H A Dadjtime.c226 msgp->msgb.mtype = CLIENT; in _adjtime()

12