Home
last modified time | relevance | path

Searched refs:next_protocol (Results 1 – 5 of 5) sorted by relevance

/external/tcpdump/
Dprint-vxlan-gpe.c64 uint8_t next_protocol; in vxlan_gpe_print() local
75 next_protocol = *bp; in vxlan_gpe_print()
87 switch (next_protocol) { in vxlan_gpe_print()
Dprint-nsh.c56 uint8_t next_protocol; in nsh_print() local
78 next_protocol = *bp; in nsh_print()
95 ND_PRINT((ndo, "next-protocol 0x%x, ", next_protocol)); in nsh_print()
165 switch (next_protocol) { in nsh_print()
/external/curl/lib/vtls/
Dmbedtls.c458 const char *next_protocol; in mbed_connect_step2() local
580 next_protocol = mbedtls_ssl_get_alpn_protocol(&connssl->ssl); in mbed_connect_step2()
582 if(next_protocol) { in mbed_connect_step2()
583 infof(data, "ALPN, server accepted to use %s\n", next_protocol); in mbed_connect_step2()
585 if(!strncmp(next_protocol, NGHTTP2_PROTO_VERSION_ID, in mbed_connect_step2()
587 !next_protocol[NGHTTP2_PROTO_VERSION_ID_LEN]) { in mbed_connect_step2()
592 if(!strncmp(next_protocol, ALPN_HTTP_1_1, ALPN_HTTP_1_1_LENGTH) && in mbed_connect_step2()
593 !next_protocol[ALPN_HTTP_1_1_LENGTH]) { in mbed_connect_step2()
Dpolarssl.c517 const char *next_protocol = ssl_get_alpn_protocol(&connssl->ssl); in polarssl_connect_step2() local
519 if(next_protocol != NULL) { in polarssl_connect_step2()
520 infof(data, "ALPN, server accepted to use %s\n", next_protocol); in polarssl_connect_step2()
523 if(!strncmp(next_protocol, NGHTTP2_PROTO_VERSION_ID, in polarssl_connect_step2()
529 if(!strncmp(next_protocol, ALPN_HTTP_1_1, ALPN_HTTP_1_1_LENGTH)) { in polarssl_connect_step2()
/external/boringssl/src/ssl/
Dhandshake_server.cc1635 CBS next_protocol, selected_protocol, padding; in ssl3_get_next_proto() local
1636 CBS_init(&next_protocol, ssl->init_msg, ssl->init_num); in ssl3_get_next_proto()
1637 if (!CBS_get_u8_length_prefixed(&next_protocol, &selected_protocol) || in ssl3_get_next_proto()
1638 !CBS_get_u8_length_prefixed(&next_protocol, &padding) || in ssl3_get_next_proto()
1639 CBS_len(&next_protocol) != 0) { in ssl3_get_next_proto()