/third_party/lwip/src/core/ |
D | inet_chksum.c | 260 inet_cksum_pseudo_base(struct pbuf *p, u8_t proto, u16_t proto_len, u32_t acc) in inet_cksum_pseudo_base() argument 286 acc += (u32_t)lwip_htons(proto_len); in inet_cksum_pseudo_base() 310 inet_chksum_pseudo(struct pbuf *p, u8_t proto, u16_t proto_len, in inet_chksum_pseudo() argument 326 return inet_cksum_pseudo_base(p, proto, proto_len, acc); in inet_chksum_pseudo() 343 ip6_chksum_pseudo(struct pbuf *p, u8_t proto, u16_t proto_len, in ip6_chksum_pseudo() argument 362 return inet_cksum_pseudo_base(p, proto, proto_len, acc); in ip6_chksum_pseudo() 379 ip_chksum_pseudo(struct pbuf *p, u8_t proto, u16_t proto_len, in ip_chksum_pseudo() argument 384 return ip6_chksum_pseudo(p, proto, proto_len, ip_2_ip6(src), ip_2_ip6(dest)); in ip_chksum_pseudo() 392 return inet_chksum_pseudo(p, proto, proto_len, ip_2_ip4(src), ip_2_ip4(dest)); in ip_chksum_pseudo() 399 inet_cksum_pseudo_partial_base(struct pbuf *p, u8_t proto, u16_t proto_len, in inet_cksum_pseudo_partial_base() argument [all …]
|
/third_party/lwip/src/include/lwip/ |
D | inet_chksum.h | 81 u16_t inet_chksum_pseudo(struct pbuf *p, u8_t proto, u16_t proto_len, 84 u16_t proto_len, u16_t chksum_len, const ip4_addr_t *src, const ip4_addr_t *dest); 88 u16_t ip6_chksum_pseudo(struct pbuf *p, u8_t proto, u16_t proto_len, 90 u16_t ip6_chksum_pseudo_partial(struct pbuf *p, u8_t proto, u16_t proto_len, 95 u16_t ip_chksum_pseudo(struct pbuf *p, u8_t proto, u16_t proto_len, 97 u16_t ip_chksum_pseudo_partial(struct pbuf *p, u8_t proto, u16_t proto_len,
|
/third_party/openssl/test/helpers/ |
D | handshake.c | 1414 unsigned int proto_len = 0; in do_handshake_internal() local 1648 SSL_get0_next_proto_negotiated(client.ssl, &proto, &proto_len); in do_handshake_internal() 1649 ret->client_npn_negotiated = dup_str(proto, proto_len); in do_handshake_internal() 1651 SSL_get0_next_proto_negotiated(server.ssl, &proto, &proto_len); in do_handshake_internal() 1652 ret->server_npn_negotiated = dup_str(proto, proto_len); in do_handshake_internal() 1655 SSL_get0_alpn_selected(client.ssl, &proto, &proto_len); in do_handshake_internal() 1656 ret->client_alpn_negotiated = dup_str(proto, proto_len); in do_handshake_internal() 1658 SSL_get0_alpn_selected(server.ssl, &proto, &proto_len); in do_handshake_internal() 1659 ret->server_alpn_negotiated = dup_str(proto, proto_len); in do_handshake_internal()
|
/third_party/ffmpeg/libavformat/ |
D | avio.c | 255 size_t proto_len = strspn(filename, URL_SCHEME_CHARS); in url_find_protocol() local 258 if (filename[proto_len] != ':' && in url_find_protocol() 259 (strncmp(filename, "subfile,", 8) || !strchr(filename + proto_len + 1, ':')) || in url_find_protocol() 264 FFMIN(proto_len + 1, sizeof(proto_str))); in url_find_protocol()
|
/third_party/lwip/ |
D | 0068-enable-UDP-CKSUM-in-lwip.patch | 22 static inline u16_t ip_chksum_pseudo_offload(u8_t proto, u16_t proto_len,
|
D | 0070-add-CHECKSUM_UDP-when-not-support-OFFLOAD_UDP_CHECKS.patch | 126 static inline u16_t ip_chksum_pseudo_offload(u8_t proto, u16_t proto_len, 128 @@ -109,7 +113,7 @@ static inline u16_t ip_chksum_pseudo_offload(u8_t proto, u16_t proto_len,
|
D | 0080-enable-ipv6.patch | 233 static inline u16_t ip_chksum_pseudo_offload(u8_t proto, u16_t proto_len, 252 psd_hdr.len = lwip_htons(proto_len);
|
D | 0023-refactor-event-and-checksum-offload-support.patch | 508 +static inline u16_t ip_chksum_pseudo_offload(u8_t proto, u16_t proto_len, 522 + psd_hdr.len = lwip_htons(proto_len);
|
D | 0060-lwip-add-udp-multicast.patch | 206 static inline u16_t ip_chksum_pseudo_offload(u8_t proto, u16_t proto_len,
|
D | 0053-cleancode-improve-lwipopts.h-readability.patch | 1309 @@ -103,5 +103,5 @@ static inline u16_t ip_chksum_pseudo_offload(u8_t proto, u16_t proto_len,
|
/third_party/nghttp2/src/ |
D | shrpx_tls.cc | 690 auto proto_len = *p; in alpn_select_proto_cb() local 692 if (proto_id + proto_len <= end && in alpn_select_proto_cb() 693 util::streq(target_proto_id, StringRef{proto_id, proto_len})) { in alpn_select_proto_cb() 696 *outlen = proto_len; in alpn_select_proto_cb() 701 p += 1 + proto_len; in alpn_select_proto_cb() 724 auto proto_len = *p; in quic_alpn_select_proto_cb() local 726 if (alpn.size() == proto_len && in quic_alpn_select_proto_cb() 729 *outlen = proto_len; in quic_alpn_select_proto_cb() 734 p += 1 + proto_len; in quic_alpn_select_proto_cb()
|
/third_party/curl/lib/vtls/ |
D | vtls.c | 2120 size_t proto_len) in Curl_alpn_set_negotiated() argument 2132 if(proto && proto_len) { in Curl_alpn_set_negotiated() 2133 if(proto_len == ALPN_HTTP_1_1_LENGTH && in Curl_alpn_set_negotiated() 2138 else if(proto_len == ALPN_H2_LENGTH && in Curl_alpn_set_negotiated() 2145 else if(proto_len == ALPN_H3_LENGTH && in Curl_alpn_set_negotiated() 2153 failf(data, "unsupported ALPN protocol: '%.*s'", (int)proto_len, proto); in Curl_alpn_set_negotiated() 2159 infof(data, VTLS_INFOF_ALPN_ACCEPTED_LEN_1STR, (int)proto_len, proto); in Curl_alpn_set_negotiated()
|
D | vtls_int.h | 65 size_t proto_len);
|
/third_party/node/deps/openssl/openssl/apps/ |
D | s_client.c | 3281 unsigned int proto_len; in print_stuff() local 3282 SSL_get0_next_proto_negotiated(s, &proto, &proto_len); in print_stuff() 3284 BIO_write(bio, proto, proto_len); in print_stuff() 3290 unsigned int proto_len; in print_stuff() local 3291 SSL_get0_alpn_selected(s, &proto, &proto_len); in print_stuff() 3292 if (proto_len > 0) { in print_stuff() 3294 BIO_write(bio, proto, proto_len); in print_stuff()
|
/third_party/openssl/apps/ |
D | s_client.c | 3281 unsigned int proto_len; in print_stuff() local 3282 SSL_get0_next_proto_negotiated(s, &proto, &proto_len); in print_stuff() 3284 BIO_write(bio, proto, proto_len); in print_stuff() 3290 unsigned int proto_len; in print_stuff() local 3291 SSL_get0_alpn_selected(s, &proto, &proto_len); in print_stuff() 3292 if (proto_len > 0) { in print_stuff() 3294 BIO_write(bio, proto, proto_len); in print_stuff()
|
/third_party/python/Modules/_ctypes/ |
D | _ctypes.c | 2073 Py_ssize_t proto_len; in PyCSimpleType_new() local 2095 proto_str = PyUnicode_AsUTF8AndSize(proto, &proto_len); in PyCSimpleType_new() 2103 if (proto_len != 1) { in PyCSimpleType_new()
|