Home
last modified time | relevance | path

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

123

/openbsd-src/lib/libssl/
H A Dssl_tlsext.c43 tlsext_alpn_client_needs(SSL *s, uint16_t msg_type) in tlsext_alpn_client_needs() argument
51 tlsext_alpn_client_build(SSL *s, uint16_t msg_type, CBB *cbb) in tlsext_alpn_client_build() argument
90 tlsext_alpn_server_process(SSL *s, uint16_t msg_type, CBS *cbs, int *alert) in tlsext_alpn_server_process() argument
137 tlsext_alpn_server_needs(SSL *s, uint16_t msg_type) in tlsext_alpn_server_needs() argument
143 tlsext_alpn_server_build(SSL *s, uint16_t msg_type, CBB *cbb) in tlsext_alpn_server_build() argument
164 tlsext_alpn_client_process(SSL *s, uint16_t msg_type, CBS *cbs, int *alert) in tlsext_alpn_client_process() argument
194 tlsext_supportedgroups_client_needs(SSL *s, uint16_t msg_type) in tlsext_supportedgroups_client_needs() argument
201 tlsext_supportedgroups_client_build(SSL *s, uint16_t msg_type, CBB *cbb) in tlsext_supportedgroups_client_build() argument
231 tlsext_supportedgroups_server_process(SSL *s, uint16_t msg_type, CBS *cbs, in tlsext_supportedgroups_server_process() argument
312 tlsext_supportedgroups_server_needs(SSL *s, uint16_t msg_type) in tlsext_supportedgroups_server_needs() argument
[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()
/openbsd-src/usr.sbin/ldomd/
H A Dds.h101 uint32_t msg_type; member
107 uint32_t msg_type; member
114 uint32_t msg_type; member
124 uint32_t msg_type; member
135 uint32_t msg_type; member
145 uint32_t msg_type; member
156 uint32_t msg_type; member
166 uint32_t msg_type; member
175 uint32_t msg_type; member
H A Dvar-config.c46 uint32_t msg_type; member
57 uint32_t msg_type; member
130 vx.msg_type = DS_DATA; in var_config_rx_data()
139 vx.msg_type = DS_DATA; in var_config_rx_data()
H A Dds.c428 switch(dm->msg_type) { in ds_rx_msg()
497 DPRINTF(("Unknown DS message type 0x%x\n", dm->msg_type)); in ds_rx_msg()
510 da.msg_type = DS_INIT_ACK; in ds_init_ack()
523 da.msg_type = DS_REG_ACK; in ds_reg_ack()
537 dn.msg_type = DS_REG_NACK; in ds_reg_nack()
552 du.msg_type = DS_UNREG_ACK; in ds_unreg_ack()
565 du.msg_type = DS_UNREG_NACK; in ds_unreg_nack()
/openbsd-src/usr.sbin/ldpd/
H A Daddress.c45 uint16_t msg_type; in send_address() local
57 msg_type = MSG_TYPE_ADDR; in send_address()
59 msg_type = MSG_TYPE_ADDRWITHDRAW; in send_address()
90 err |= gen_msg_hdr(buf, msg_type, size); in send_address()
100 log_msg_address(1, msg_type, nbr, af, &if_addr->addr); in send_address()
181 uint16_t msg_type; in recv_address() local
189 msg_type = ntohs(msg.type); in recv_address()
190 switch (msg_type) { in recv_address()
275 log_msg_address(0, msg_type, nbr, lde_addr.af, &lde_addr.addr); in recv_address()
398 log_msg_address(int out, uint16_t msg_type, struct nbr *nbr, int af, in log_msg_address() argument
[all …]
H A Dnotification.c53 err |= gen_status_tlv(buf, nm->status_code, nm->msg_id, nm->msg_type); in send_notification_full()
78 uint16_t msg_type) in send_notification() argument
85 nm.msg_type = msg_type; in send_notification()
92 uint16_t msg_type, uint16_t tlv_type, uint16_t tlv_len, char *tlv_data) in send_notification_rtlvs() argument
99 nm.msg_type = msg_type; in send_notification_rtlvs()
260 uint16_t msg_type) in gen_status_tlv() argument
273 st.msg_type = msg_type; in gen_status_tlv()
H A Dldpd.h222 uint16_t msg_type; member
239 uint16_t msg_type; /* network byte order */ member
H A Dldp.h238 uint16_t msg_type; member
/openbsd-src/usr.sbin/ldomctl/
H A Dmdstore.c58 uint32_t msg_type; member
67 uint32_t msg_type; member
78 uint32_t msg_type; member
91 uint32_t msg_type; member
113 uint32_t msg_type; member
130 uint32_t msg_type; member
143 uint32_t msg_type; member
185 mm.msg_type = DS_DATA; in mdstore_start()
257 mr->msg_type = DS_DATA; in mdstore_begin_v1()
281 mr->msg_type = DS_DATA; in mdstore_begin_v2()
[all …]
H A Dpri.c36 uint32_t msg_type; member
46 uint32_t msg_type; member
57 uint32_t msg_type; member
70 pm.msg_type = DS_DATA; in pri_start()
/openbsd-src/include/rpc/
H A Drpc_msg.h55 enum msg_type { enum
152 enum msg_type rm_direction;
/openbsd-src/lib/libcrypto/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()
/openbsd-src/usr.sbin/bgpd/
H A Dsession.h72 enum msg_type {
274 enum msg_type);
70 enum msg_type { global() enum
/openbsd-src/sys/kern/
H A Dsysv_msg.c521 if (msgtyp == 0 || msgtyp == msg->msg_type || in msg_lookup()
522 (msgtyp < 0 && -msgtyp <= msg->msg_type)) in msg_lookup()
577 if ((error = copyin(ubuf, &msg->msg_type, sizeof(long)))) { in msg_copyin()
582 if (msg->msg_type < 1) { in msg_copyin()
632 if ((error = copyout(&msg->msg_type, ubuf, sizeof(long)))) in msg_copyout()
/openbsd-src/usr.sbin/tcpdump/
H A Dprint-udp.c433 enum msg_type direction; in udp_print()
446 direction = (enum msg_type)ntohl(rp->rm_direction); in udp_print()
488 enum msg_type direction; in udp_print()
492 direction = (enum msg_type)ntohl(rp->rm_direction); in udp_print()
/openbsd-src/sys/dev/
H A Dbio.c220 bio_status(struct bio_status *bs, int print, int msg_type, const char *fmt, in bio_status() argument
232 bs->bs_msgs[idx].bm_type = msg_type; in bio_status()
/openbsd-src/sbin/dhcp6leased/
H A Dengine.c758 dhcp_message_type2str(hdr.msg_type), hdr.xid[0], hdr.xid[1], in parse_dhcp()
884 switch (hdr.msg_type) { in parse_dhcp()
894 __func__, dhcp_message_type2str(hdr.msg_type)); in parse_dhcp()
899 "server", __func__, dhcp_message_type2str(hdr.msg_type)); in parse_dhcp()
904 dhcp_message_type2str(hdr.msg_type)); in parse_dhcp()
925 dhcp_message_type2str(hdr.msg_type)); in parse_dhcp()
940 __func__, dhcp_message_type2str(hdr.msg_type)); in parse_dhcp()
944 __func__, dhcp_message_type2str(hdr.msg_type)); in parse_ia_pd_options()
H A Ddhcp6leased.h99 uint8_t msg_type; /* Message opcode/type */ member
/openbsd-src/sys/sys/
H A Dmsg.h60 long msg_type; member
/openbsd-src/sys/dev/pci/drm/radeon/
H A Dradeon_uvd.c470 int32_t *msg, msg_type, handle; in radeon_uvd_cs_msg() local
488 msg_type = msg[1]; in radeon_uvd_cs_msg()
497 switch (msg_type) { in radeon_uvd_cs_msg()
555 DRM_ERROR("Illegal UVD message type (%d)!\n", msg_type); in radeon_uvd_cs_msg()
/openbsd-src/sys/dev/pci/drm/amd/display/dc/link/protocols/
H A Dlink_dp_training_dpia.c148 uint8_t msg_type, in core_link_send_set_config() argument
155 payload.msg_type = msg_type; in core_link_send_set_config()
/openbsd-src/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_uvd.c813 int32_t *msg, msg_type, handle; in amdgpu_uvd_cs_msg() local
831 msg_type = msg[1]; in amdgpu_uvd_cs_msg()
840 switch (msg_type) { in amdgpu_uvd_cs_msg()
891 DRM_ERROR("Illegal UVD message type (%d)!\n", msg_type); in amdgpu_uvd_cs_msg()

123