Home
last modified time | relevance | path

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

12

/dragonfly/crypto/libressl/ssl/
H A Dssl_tlsext.c559 if (msg_type == SSL_TLSEXT_MSG_CH) in tlsext_sigalgs_client_build()
870 if (msg_type != SSL_TLSEXT_MSG_CH) in tlsext_ocsp_client_needs()
929 if (msg_type != SSL_TLSEXT_MSG_CH) in tlsext_ocsp_server_parse()
1035 if (msg_type == SSL_TLSEXT_MSG_CR) { in tlsext_ocsp_client_parse()
1543 if (msg_type != SSL_TLSEXT_MSG_HRR) in tlsext_keyshare_client_parse()
2263 !(tlsext->messages & msg_type)) in tlsext_build()
2266 if (!ext->needs(s, msg_type)) in tlsext_build()
2358 msg_type == SSL_TLSEXT_MSG_CH) { in tlsext_parse()
2366 !(tlsext->messages & msg_type)) { in tlsext_parse()
2413 if (msg_type == SSL_TLSEXT_MSG_CH) in tlsext_server_parse()
[all …]
H A Dtls13_handshake_msg.c26 uint8_t msg_type; member
77 return msg->msg_type; in tls13_handshake_msg_type()
90 uint8_t msg_type) in tls13_handshake_msg_start() argument
94 if (!CBB_add_u8(&msg->cbb, msg_type)) in tls13_handshake_msg_start()
125 uint8_t msg_type; in tls13_handshake_msg_recv() local
133 if (msg->msg_type == 0) { in tls13_handshake_msg_recv()
142 if (!CBS_get_u8(&cbs, &msg_type)) in tls13_handshake_msg_recv()
151 msg->msg_type = msg_type; in tls13_handshake_msg_recv()
H A Dssl_tlsext.h37 int tlsext_client_build(SSL *s, uint16_t msg_type, CBB *cbb);
38 int tlsext_client_parse(SSL *s, uint16_t msg_type, CBS *cbs, int *alert);
40 int tlsext_server_build(SSL *s, uint16_t msg_type, CBB *cbb);
41 int tlsext_server_parse(SSL *s, uint16_t msg_type, CBS *cbs, int *alert);
H A Dtls13_handshake.c273 tls13_handshake_message_name(uint8_t msg_type) in tls13_handshake_message_name() argument
275 switch (msg_type) { in tls13_handshake_message_name()
508 uint8_t msg_type; in tls13_handshake_recv_action() local
539 msg_type = tls13_handshake_msg_type(ctx->hs_msg); in tls13_handshake_recv_action()
540 if (msg_type != action->handshake_type && in tls13_handshake_recv_action()
541 (msg_type != TLS13_MT_CERTIFICATE || in tls13_handshake_recv_action()
/dragonfly/contrib/wpa_supplicant/src/radius/
H A Dradius_client.c100 RadiusType msg_type; member
282 RadiusType msg_type, in radius_client_register() argument
293 if (msg_type == RADIUS_ACCT) { in radius_client_register()
339 int s, RadiusType msg_type) in radius_client_handle_send_error() argument
350 if (msg_type == RADIUS_ACCT || in radius_client_handle_send_error()
667 RadiusType msg_type, in radius_client_list_add() argument
690 entry->msg_type = msg_type; in radius_client_list_add()
757 if (msg_type == RADIUS_ACCT || msg_type == RADIUS_ACCT_INTERIM) { in radius_client_send()
829 if (msg_type == RADIUS_ACCT) { in radius_client_receive()
885 if ((req->msg_type == msg_type || in radius_client_receive()
[all …]
H A Dradius_client.h238 RadiusType msg_type,
249 RadiusType msg_type, const u8 *addr);
/dragonfly/contrib/tcpdump/
H A Dprint-olsr.c92 nd_uint8_t msg_type; member
102 nd_uint8_t msg_type; member
322 u_int msg_type, msg_len, msg_tlen, hello_len; in olsr_print() local
368 msg_type = GET_U_1(msgptr.v6->msg_type); in olsr_print()
375 if (msg_type == 0 || msg_len == 0) { in olsr_print()
381 tok2str(olsr_msg_values, "Unknown", msg_type), in olsr_print()
399 msg_type = GET_U_1(msgptr.v4->msg_type); in olsr_print()
406 if (msg_type == 0 || msg_len == 0) { in olsr_print()
427 switch (msg_type) { in olsr_print()
473 if (msg_type == OLSR_HELLO_MSG) { in olsr_print()
[all …]
H A Dprint-lwapp.c66 nd_uint8_t msg_type; member
174 u_int msg_type, msg_tlen; in lwapp_control_print() local
243 msg_type = GET_U_1(lwapp_control_header->msg_type); in lwapp_control_print()
245 tok2str(lwapp_msg_type_values,"Unknown",msg_type), in lwapp_control_print()
246 msg_type, in lwapp_control_print()
255 switch(msg_type) { in lwapp_control_print()
H A Dprint-geonet.c63 u_int msg_type; in print_btp_body() local
68 msg_type = GET_U_1(bp + 1); in print_btp_body()
69 ND_PRINT(" t:%u-%s", msg_type, in print_btp_body()
70 tok2str(msg_type_values, "unknown (%u)", msg_type)); in print_btp_body()
H A Dprint-ldp.c576 u_short pdu_len,msg_len,msg_type; in ldp_pdu_print() local
624 msg_type=LDP_MASK_MSG_TYPE(GET_BE_U_2(ldp_msg_header->type)); in ldp_pdu_print()
632 msg_type), in ldp_pdu_print()
633 msg_type, in ldp_pdu_print()
643 msg_type), in ldp_pdu_print()
644 msg_type, in ldp_pdu_print()
656 switch(msg_type) { in ldp_pdu_print()
H A Dprint-vqp.c47 nd_uint8_t msg_type; member
134 tok2str(vqp_msg_type_values, "unknown (%u)",GET_U_1(vqp_common_header->msg_type)), in vqp_print()
145 tok2str(vqp_msg_type_values, "unknown (%u)",GET_U_1(vqp_common_header->msg_type)), in vqp_print()
H A Dprint-rsvp.c51 nd_uint8_t msg_type; member
1924 uint8_t version_flags, msg_type; in rsvp_print() local
1944 msg_type = GET_U_1(rsvp_com_header->msg_type); in rsvp_print()
1950 tok2str(rsvp_msg_type_values, "unknown (%u)",msg_type), in rsvp_print()
1961 tok2str(rsvp_msg_type_values, "unknown, type: %u",msg_type), in rsvp_print()
1962 msg_type, in rsvp_print()
1977 switch(msg_type) { in rsvp_print()
2006 msg_type = GET_U_1(rsvp_com_header->msg_type); in rsvp_print()
2009 tok2str(rsvp_msg_type_values, "unknown, type: %u",msg_type), in rsvp_print()
2010 msg_type, in rsvp_print()
H A Dprint-ptp.c347 uint8_t foct, domain_no, msg_type, v1_compat, rsvd1, lm_int, control; in ptp_print_2() local
354 msg_type = foct & PTP_MSG_TYPE_MASK; in ptp_print_2()
355 ND_PRINT(", msg type : %s", tok2str(ptp_msg_type, "none", msg_type)); in ptp_print_2()
395 switch(msg_type) { in ptp_print_2()
H A Dprint-aodv.c481 uint8_t msg_type; in aodv_print() local
488 msg_type = GET_U_1(dat); in aodv_print()
491 switch (msg_type) { in aodv_print()
535 ND_PRINT(" type %u %u", msg_type, length); in aodv_print()
H A Dprint-m3ua.c46 nd_uint8_t msg_type; member
323 tok2str(dict, "Unknown (0x%02x)", GET_U_1(hdr->msg_type))); in m3ua_print()
H A Dprint-lspping.c67 nd_uint8_t msg_type; member
547 … tok2str(lspping_msg_type_values, "unknown (%u)",GET_U_1(lspping_com_header->msg_type)), in lspping_print()
559 tok2str(lspping_msg_type_values, "unknown",GET_U_1(lspping_com_header->msg_type)), in lspping_print()
560 GET_U_1(lspping_com_header->msg_type), in lspping_print()
/dragonfly/lib/libc/sysvipc/
H A Dmsg.c523 memcpy(&msghdr->msg_type, auxmsgp, sizeof(msghdr->msg_type)); in sysvipc_msgsnd()
524 auxmsgp = (char *)auxmsgp + sizeof(msghdr->msg_type); in sysvipc_msgsnd()
529 sysv_print("msg_type = %ld\n", msghdr->msg_type); in sysvipc_msgsnd()
531 if (msghdr->msg_type < 1) { in sysvipc_msgsnd()
534 sysv_print_err("mtype (%ld) < 1\n", msghdr->msg_type); in sysvipc_msgsnd()
668 if (mtype == msghdr->msg_type || in sysvipc_msgrcv()
669 msghdr->msg_type <= -mtype) { in sysvipc_msgrcv()
671 msghdr->msg_type, mtype); in sysvipc_msgrcv()
778 memcpy(auxmsgp, (caddr_t)&(msghdr->msg_type), sizeof(msghdr->msg_type)); in sysvipc_msgrcv()
779 auxmsgp = (char *)auxmsgp + sizeof(msghdr->msg_type); in sysvipc_msgrcv()
/dragonfly/sys/kern/
H A Dsysv_msg.c47 long msg_type; /* type of this message */ member
161 msghdrs[i].msg_type = 0; in msginit()
681 if ((eval = copyin(user_msgp, &msghdr->msg_type, in sys_msgsnd()
682 sizeof(msghdr->msg_type))) != 0) { in sys_msgsnd()
697 if (msghdr->msg_type < 1) { in sys_msgsnd()
702 kprintf("mtype (%d) < 1\n", msghdr->msg_type); in sys_msgsnd()
885 if (msgtyp == msghdr->msg_type || in sys_msgrcv()
886 msghdr->msg_type <= -msgtyp) { in sys_msgrcv()
889 msghdr->msg_type, msgtyp); in sys_msgrcv()
1015 eval = copyout((caddr_t)&(msghdr->msg_type), user_msgp, in sys_msgrcv()
[all …]
/dragonfly/contrib/wpa_supplicant/src/wps/
H A Dwps_validate.c547 if (msg_type == NULL) { in wps_validate_msg_type()
555 if (*msg_type < WPS_Beacon || *msg_type > WPS_WSC_DONE) { in wps_validate_msg_type()
557 "attribute value 0x%x", *msg_type); in wps_validate_msg_type()
1302 wps_validate_msg_type(attr.msg_type, 1) || in wps_validate_m1()
1358 wps_validate_msg_type(attr.msg_type, 1) || in wps_validate_m2()
1413 wps_validate_msg_type(attr.msg_type, 1) || in wps_validate_m2d()
1465 wps_validate_msg_type(attr.msg_type, 1) || in wps_validate_m3()
1501 wps_validate_msg_type(attr.msg_type, 1) || in wps_validate_m4()
1570 wps_validate_msg_type(attr.msg_type, 1) || in wps_validate_m5()
1637 wps_validate_msg_type(attr.msg_type, 1) || in wps_validate_m6()
[all …]
H A Dwps_enrollee.c1285 if (attr.msg_type == NULL) { in wps_process_wsc_msg()
1291 switch (*attr.msg_type) { in wps_process_wsc_msg()
1331 *attr.msg_type); in wps_process_wsc_msg()
1363 if (attr.msg_type == NULL) { in wps_process_wsc_ack()
1368 if (*attr.msg_type != WPS_WSC_ACK) { in wps_process_wsc_ack()
1370 *attr.msg_type); in wps_process_wsc_ack()
1410 if (attr.msg_type == NULL) { in wps_process_wsc_nack()
1415 if (*attr.msg_type != WPS_WSC_NACK) { in wps_process_wsc_nack()
1417 *attr.msg_type); in wps_process_wsc_nack()
1490 if (*attr.msg_type == WPS_WSC_ACK) in wps_enrollee_process_msg()
[all …]
/dragonfly/usr.sbin/sysvipcd/
H A Dsysvipcd.c218 int msg_type; in daemon_handle_msg() local
229 msg_type = receive_type_message(fd_recv); in daemon_handle_msg()
230 sysvd_print("type = %d from %d\n", msg_type, clients[i]->pid); in daemon_handle_msg()
232 switch(msg_type) { in daemon_handle_msg()
/dragonfly/crypto/libressl/crypto/asn1/
H A Dasn_mime.c285 const char *msg_type = NULL; in SMIME_write_ASN1() local
342 msg_type = "enveloped-data"; in SMIME_write_ASN1()
345 msg_type = "signed-receipt"; in SMIME_write_ASN1()
347 msg_type = "signed-data"; in SMIME_write_ASN1()
349 msg_type = "certs-only"; in SMIME_write_ASN1()
351 msg_type = "compressed-data"; in SMIME_write_ASN1()
359 if (msg_type) in SMIME_write_ASN1()
360 BIO_printf(bio, " smime-type=%s;", msg_type); in SMIME_write_ASN1()
/dragonfly/include/rpc/
H A Drpc_msg.h53 enum msg_type { enum
150 enum msg_type rm_direction;
/dragonfly/lib/libc/rpc/
H A Drpc_callmsg.c55 enum msg_type *prm_direction; in xdr_callmsg()
109 cmsg->rm_direction = IXDR_GET_ENUM(buf, enum msg_type); in xdr_callmsg()
H A Drpc_prot.c175 enum msg_type *prm_direction; in xdr_replymsg()
203 enum msg_type *prm_direction; in xdr_callhdr()

12