Home
last modified time | relevance | path

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

12

/freebsd-13.1/sys/contrib/ngatm/netnatm/msg/
H A Dprivmsg.c69 out->mtype = *msg->b_rptr++; in uni_decode_head()
112 uni_decode_body_internal(enum uni_msgtype mtype, struct uni_msg *msg, in uni_decode_body_internal() argument
185 ret = uni_msgtable[mtype]->decode(out, msg, ietype, in uni_decode_body_internal()
234 if (out->mtype >= 256) in uni_decode_body()
236 if (uni_msgtable[out->mtype] == NULL) in uni_decode_body()
238 return (uni_decode_body_internal(out->mtype, msg, &out->u, cx)); in uni_decode_body()
259 if (in->mtype >= 256) in uni_encode()
261 if (uni_msgtable[in->mtype] == NULL) in uni_encode()
264 return ((uni_msgtable[in->mtype]->encode)(msg, &in->u, cx)); in uni_encode()
/freebsd-13.1/contrib/nvi/vi/
H A Dvs_msg.c284 if (mtype == M_ERR) in vs_msg()
287 if (mtype == M_ERR) in vs_msg()
308 if (mtype == M_NONE) { in vs_msg()
309 vs_output(sp, mtype, line, len); in vs_msg()
352 vip->mtype = mtype; in vs_msg()
374 vs_output(sp, mtype, s, e - s); in vs_msg()
454 if (mtype == M_ERR) in vs_output()
478 if (mtype == M_ERR) in vs_output()
527 vs_output(sp, vip->mtype, ".", 1); in vs_ex_resolve()
530 vip->mtype = M_NONE; in vs_ex_resolve()
[all …]
/freebsd-13.1/contrib/tcpdump/
H A Dprint-tipc.c165 u_int mtype; in print_payload() local
181 mtype = TIPC_MTYPE(w1); in print_payload()
192 tok2str(tipcmtype_values, "Unknown", mtype))); in print_payload()
205 tok2str(tipcmtype_values, "Unknown", mtype))); in print_payload()
230 u_int mtype; in print_internal() local
251 mtype = TIPC_MTYPE(w1); in print_internal()
260 tok2str(tipcmtype_values, "Unknown", mtype), w1)); in print_internal()
298 u_int mtype; in print_link_conf() local
311 mtype = TIPC_MTYPE(w1); in print_link_conf()
321 tok2str(tipc_linkconf_mtype_values, "Unknown", mtype))); in print_link_conf()
/freebsd-13.1/sys/kern/
H A Dsubr_kobj.c295 kobj_create(kobj_class_t cls, struct malloc_type *mtype, int mflags) in kobj_create() argument
299 obj = malloc(cls->size, mtype, mflags | M_ZERO); in kobj_create()
303 free(obj, mtype); in kobj_create()
330 kobj_delete(kobj_t obj, struct malloc_type *mtype) in kobj_delete() argument
350 if (mtype) in kobj_delete()
351 free(obj, mtype); in kobj_delete()
H A Dsysv_msg.c961 msghdr->msg_type = mtype; in kern_msgsnd()
1114 long mtype; in sys_msgsnd() local
1119 if ((error = copyin(uap->msgp, &mtype, sizeof(mtype))) != 0) { in sys_msgsnd()
1140 int msgflg, long *mtype) in kern_msgrcv() argument
1354 *mtype = msghdr->msg_type; in kern_msgrcv()
1402 long mtype; in sys_msgrcv() local
1411 if ((error = copyout(&mtype, uap->msgp, sizeof(mtype))) != 0) in sys_msgrcv()
1795 long mtype; in freebsd32_msgsnd() local
1802 mtype = mtype32; in freebsd32_msgsnd()
1812 long mtype; in freebsd32_msgrcv() local
[all …]
H A Dsubr_mchain.c277 int mtype, error; in mb_put_uio() local
279 mtype = (uiop->uio_segflg == UIO_SYSSPACE) ? MB_MSYSTEM : MB_MUSER; in mb_put_uio()
292 error = mb_put_mem(mbp, uiop->uio_iov->iov_base, left, mtype); in mb_put_uio()
531 int mtype, error; in md_get_uio() local
533 mtype = (uiop->uio_segflg == UIO_SYSSPACE) ? MB_MSYSTEM : MB_MUSER; in md_get_uio()
546 error = md_get_mem(mdp, uiocp, left, mtype); in md_get_uio()
/freebsd-13.1/tools/regression/sysvmsg/
H A Dmsgtest.c68 long mtype; member
171 m.mtype = MTYPE_1; in main()
185 m.mtype = MTYPE_2; in main()
321 m.mtype = MTYPE_1_ACK; in receiver()
338 m.mtype = MTYPE_2_ACK; in receiver()
/freebsd-13.1/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
/freebsd-13.1/contrib/ldns/
H A Ddane.c616 ldns_tlsa_matching_type mtype; in ldns_dane_verify_rr() local
631 mtype = ldns_rdf2native_int8(ldns_rr_rdf(tlsa_rr, 2)); in ldns_dane_verify_rr()
659 else if (SSL_dane_tlsa_add(ssl, usage, selector, mtype, in ldns_dane_verify_rr()
717 selector, mtype, data, true); in ldns_dane_verify_rr()
732 selector, mtype, data, true); in ldns_dane_verify_rr()
741 selector, mtype, data); in ldns_dane_verify_rr()
758 selector, mtype, data, false); in ldns_dane_verify_rr()
772 selector, mtype, data); in ldns_dane_verify_rr()
862 ldns_tlsa_matching_type mtype; in ldns_dane_verify() local
868 mtype = ldns_rdf2native_int8(ldns_rr_rdf(tlsa_rr,2)); in ldns_dane_verify()
[all …]
/freebsd-13.1/sys/contrib/ngatm/netnatm/sig/
H A Dunimkmsg.h36 (MSG)->mtype = (TYPE); \
44 (MSG)->mtype = (TYPE); \
91 (IE).u.mtype = MTYPE; \
H A Dsig_coord.c361 VERBOSE(uni, UNI_FAC_COORD, 2, "GLOB MTYPE = %x", u->mtype); in input_global()
363 switch (u->mtype) { in input_global()
426 VERBOSE(uni, UNI_FAC_COORD, 2, "UNKNOWN MTYPE = %x", u->mtype); in input_unknown()
428 switch (u->mtype) { in input_unknown()
521 ADD_CAUSE_MTYPE(resp->u.release_compl.cause[0], u->mtype); in input_unknown()
552 u->mtype, c->cref, c->mine ? "mine":"his"); in input_call()
554 switch (u->mtype) { in input_call()
1130 enum uni_callstate cs, enum uni_cause c1, u_int mtype) in uni_respond_status_mtype() argument
1140 ADD_CAUSE_MTYPE(resp->u.status.cause, mtype); in uni_respond_status_mtype()
/freebsd-13.1/crypto/openssl/doc/man3/
H A DSSL_CTX_dane_enable.pod18 uint8_t mtype, uint8_t ord);
21 uint8_t mtype, unsigned const char *data, size_t dlen);
24 uint8_t *mtype, unsigned const 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-13.1/sys/sys/
H A Dkobj.h198 struct malloc_type *mtype,
210 void kobj_delete(kobj_t obj, struct malloc_type *mtype);
/freebsd-13.1/contrib/ntp/include/
H A Dadjtime.h47 long mtype; member
/freebsd-13.1/contrib/netbsd-tests/kernel/
H A Dt_sysv.c77 long mtype; member
289 m.mtype = MTYPE_1; in ATF_TC_BODY()
303 m.mtype = MTYPE_2; in ATF_TC_BODY()
406 m.mtype = MTYPE_1_ACK; in receiver()
422 m.mtype = MTYPE_2_ACK; in receiver()
/freebsd-13.1/crypto/openssl/ssl/
H A Dssl_lib.c120 uint8_t mtype; member
250 if (mtype > dctx->mdmax) { in dane_mtype_set()
253 int n = ((int)mtype) + 1; in dane_mtype_set()
275 dctx->mdmax = mtype; in dane_mtype_set()
278 dctx->mdevp[mtype] = md; in dane_mtype_set()
287 if (mtype > dane->dctx->mdmax) in tlsa_md_get()
289 return dane->dctx->mdevp[mtype]; in tlsa_md_get()
347 t->mtype = mtype; in dane_tlsa_add()
446 if (dane->dctx->mdord[rec->mtype] > dane->dctx->mdord[mtype]) in dane_tlsa_add()
1096 if (mtype) in SSL_get0_dane_tlsa()
[all …]
/freebsd-13.1/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
306 long mtype; in ATF_TC_BODY() member
/freebsd-13.1/sys/compat/linux/
H A Dlinux_ipc.c654 long mtype; in linux_msgsnd() local
663 mtype = (long)lmtype; in linux_msgsnd()
666 args->msgsz, args->msgflg, mtype)); in linux_msgsnd()
673 long mtype; in linux_msgrcv() local
682 args->msgtyp, args->msgflg, &mtype)) != 0) in linux_msgrcv()
684 lmtype = (l_long)mtype; in linux_msgrcv()
/freebsd-13.1/crypto/openssl/include/internal/
H A Ddane.h45 uint8_t mtype; member
/freebsd-13.1/contrib/unbound/dnstap/
H A Dunbound-dnstap-socket.c401 static const char* mtype_to_str(enum _Dnstap__Message__Type mtype) in mtype_to_str() argument
403 switch(mtype) { in mtype_to_str()
519 const char* mtype = NULL; in log_data_frame() local
536 mtype = mtype_to_str(d->message->type); in log_data_frame()
547 mtype = "nomessage"; in log_data_frame()
550 printf("%s%s%s%s%s\n", mtype, (maddr?" ":""), (maddr?maddr:""), in log_data_frame()
/freebsd-13.1/crypto/openssl/crypto/x509/
H A Dx509_vfy.c2633 unsigned mtype = DANETLS_NONE; in dane_match() local
2698 mtype = DANETLS_NONE; in dane_match()
2699 ordinal = dane->dctx->mdord[t->mtype]; in dane_match()
2711 mtype = DANETLS_NONE; in dane_match()
2712 ordinal = dane->dctx->mdord[t->mtype]; in dane_match()
2713 } else if (t->mtype != DANETLS_MATCHING_FULL) { in dane_match()
2723 if (dane->dctx->mdord[t->mtype] < ordinal) in dane_match()
2731 if (t->mtype != mtype) { in dane_match()
2732 const EVP_MD *md = dane->dctx->mdevp[mtype = t->mtype]; in dane_match()
2808 t->mtype != DANETLS_MATCHING_FULL || in check_dane_pkeys()
/freebsd-13.1/sys/contrib/octeon-sdk/
H A Dcvmx-llm.c313 int mtype = 0; // MTYPE (0: RLDRAM/1: FCRAM in rld_csr_config_generate() local
450 if (mtype != 0) in rld_csr_config_generate()
617 (mtype << 3) | in rld_csr_config_generate()

12