Home
last modified time | relevance | path

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

/freebsd/contrib/tcpdump/
H A Dprint-ip6.c173 u_int len, u_int covlen, uint8_t next_proto) in nextproto6_cksum() argument
210 ph.ph_nxt = next_proto; in nextproto6_cksum()
H A Dprint-ip.c137 u_int len, u_int covlen, uint8_t next_proto) in nextproto4_cksum() argument
151 ph.proto = next_proto; in nextproto4_cksum()
/freebsd/crypto/openssl/apps/
H A Ds_client.c292 static tlsextnextprotoctx next_proto; variable
1803 next_proto.status = -1; in s_client_main()
1805 next_proto.data = next_protos_parse(&next_proto.len, next_proto_neg_in); in s_client_main()
1806 if (next_proto.data == NULL) { in s_client_main()
1811 next_proto.data = NULL; in s_client_main()
2052 if (next_proto.data != NULL) in s_client_main()
2053 SSL_CTX_set_next_proto_select_cb(ctx, next_proto_cb, &next_proto); in s_client_main()
3385 OPENSSL_free(next_proto.data); in s_client_main()
3625 if (next_proto.status != -1) { in print_stuff()
3629 BIO_printf(bio, "Next protocol: (%d) ", next_proto.status); in print_stuff()
H A Ds_server.c661 tlsextnextprotoctx *next_proto = arg; in next_proto_cb() local
663 *data = next_proto->data; in next_proto_cb()
664 *len = next_proto->len; in next_proto_cb()
1153 tlsextnextprotoctx next_proto = { NULL, 0 }; in s_server_main() local
1946 next_proto.data = next_protos_parse(&next_proto.len, next_proto_neg_in); in s_server_main()
1947 if (next_proto.data == NULL) in s_server_main()
2210 if (next_proto.data) in s_server_main()
2212 &next_proto); in s_server_main()
2470 OPENSSL_free(next_proto.data); in s_server_main()
/freebsd/crypto/openssl/ssl/statem/
H A Dstatem_srvr.c4377 PACKET next_proto, padding; in tls_process_next_proto() local
4387 if (!PACKET_get_length_prefixed_1(pkt, &next_proto) in tls_process_next_proto()
4394 if (!PACKET_memdup(&next_proto, &s->ext.npn, &next_proto_len)) { in tls_process_next_proto()