Home
last modified time | relevance | path

Searched refs:ALPN_H2_LENGTH (Results 1 – 7 of 7) sorted by relevance

/third_party/curl/lib/vtls/
Drustls.c302 { (const uint8_t *)ALPN_H2, ALPN_H2_LENGTH }, in cr_init_backend()
363 if(len == ALPN_H2_LENGTH && 0 == memcmp(ALPN_H2, protocol, len)) { in cr_set_negotiated_alpn()
Dgtls.c629 protocols[cur].size = ALPN_H2_LENGTH; in gtls_connect_step1()
631 infof(data, "ALPN, offering %.*s", ALPN_H2_LENGTH, ALPN_H2); in gtls_connect_step1()
1255 if(proto.size == ALPN_H2_LENGTH && in gtls_connect_step3()
1257 ALPN_H2_LENGTH)) { in gtls_connect_step3()
Dnss.c873 if(buflen == ALPN_H2_LENGTH && in HandshakeCallback()
874 !memcmp(ALPN_H2, buf, ALPN_H2_LENGTH)) { in HandshakeCallback()
2128 protocols[cur++] = ALPN_H2_LENGTH; in nss_setup_connect()
2129 memcpy(&protocols[cur], ALPN_H2, ALPN_H2_LENGTH); in nss_setup_connect()
2130 cur += ALPN_H2_LENGTH; in nss_setup_connect()
Dschannel.c893 alpn_buffer[cur++] = ALPN_H2_LENGTH; in schannel_connect_step1()
894 memcpy(&alpn_buffer[cur], ALPN_H2, ALPN_H2_LENGTH); in schannel_connect_step1()
895 cur += ALPN_H2_LENGTH; in schannel_connect_step1()
1417 if(alpn_result.ProtocolIdSize == ALPN_H2_LENGTH && in schannel_connect_step3()
1418 !memcmp(ALPN_H2, alpn_result.ProtocolId, ALPN_H2_LENGTH)) { in schannel_connect_step3()
Dwolfssl.c688 protocol_len == ALPN_H2_LENGTH && in wolfssl_connect_step2()
689 !memcmp(protocol, ALPN_H2, ALPN_H2_LENGTH)) in wolfssl_connect_step2()
Dvtls.h138 #define ALPN_H2_LENGTH 2 macro
Dopenssl.c2271 !select_next_protocol(out, outlen, in, inlen, ALPN_H2, ALPN_H2_LENGTH)) { in select_next_proto_cb()
2792 protocols[cur++] = ALPN_H2_LENGTH; in ossl_connect_step1()
2794 memcpy(&protocols[cur], ALPN_H2, ALPN_H2_LENGTH); in ossl_connect_step1()
2795 cur += ALPN_H2_LENGTH; in ossl_connect_step1()
3425 if(len == ALPN_H2_LENGTH && in ossl_connect_step2()