/third_party/libwebsockets/lib/jose/jwe/enc/ |
H A D | aescbc.c | 32 int n, hlen = (int)lws_genhmac_size(jwe->jose.enc_alg->hmac_type); in lws_jwe_encrypt_cbc_hs() local 42 if (jwe->jws.map.len[LJWE_ATAG] != (unsigned int)hlen / 2) { in lws_jwe_encrypt_cbc_hs() 44 hlen / 2, jwe->jws.map.len[LJWE_ATAG]); in lws_jwe_encrypt_cbc_hs() 81 el.buf = cek + (hlen / 2); in lws_jwe_encrypt_cbc_hs() 82 el.len = (uint32_t)(hlen / 2); in lws_jwe_encrypt_cbc_hs() 120 cek, (unsigned int)hlen / 2)) in lws_jwe_encrypt_cbc_hs() 156 memcpy((void *)jwe->jws.map.buf[LJWE_ATAG], digest, (unsigned int)hlen / 2); in lws_jwe_encrypt_cbc_hs() 165 int n, hlen = (int)lws_genhmac_size(jwe->jose.enc_alg->hmac_type); in lws_jwe_auth_and_decrypt_cbc_hs() local 174 if (jwe->jws.map.len[LJWE_ATAG] != (unsigned int)hlen / 2) { in lws_jwe_auth_and_decrypt_cbc_hs() 176 hlen / in lws_jwe_auth_and_decrypt_cbc_hs() [all...] |
/third_party/lwip/src/netif/ppp/ |
H A D | vj.c | 166 u16_t hlen; in vj_compress_tcp() local 196 hlen = ilen + TCPH_HDRLEN(th); in vj_compress_tcp() 197 hlen <<= 2; in vj_compress_tcp() 198 if (np->len < hlen) { in vj_compress_tcp() 199 PPPDEBUG(LOG_INFO, ("vj_compress_tcp: header len %d spans buffers\n", hlen)); in vj_compress_tcp() 349 lwip_ntohs(IPH_LEN(&cs->cs_ip)) == hlen) { in vj_compress_tcp() 364 if (deltaS == deltaA && deltaS == lwip_ntohs(IPH_LEN(&cs->cs_ip)) - hlen) { in vj_compress_tcp() 372 if (deltaS == lwip_ntohs(IPH_LEN(&cs->cs_ip)) - hlen) { in vj_compress_tcp() 395 MEMCPY(&cs->cs_ip, ip, hlen); in vj_compress_tcp() 402 * So, (cp - new_seq) + 4 bytes of header are needed. hlen i in vj_compress_tcp() 461 u32_t hlen; vj_uncompress_uncomp() local 505 u32_t vjlen, hlen, changes; vj_uncompress_tcp() local [all...] |
/kernel/linux/linux-5.10/drivers/macintosh/ |
H A D | windfarm_pid.c | 37 int i, hlen = st->param.history_len; in wf_pid_run() local 44 for (i = 0; i < hlen; i++) { in wf_pid_run() 51 st->index = (st->index + 1) % hlen; in wf_pid_run() 57 for (i = 0, integ = 0; i < hlen; i++) in wf_pid_run() 58 integ += st->errors[(st->index + hlen - i) % hlen]; in wf_pid_run() 63 st->errors[(st->index + hlen - 1) % hlen]; in wf_pid_run() 92 int i, hlen = st->param.history_len; in wf_cpu_pid_run() local 99 for (i = 0; i < hlen; in wf_cpu_pid_run() [all...] |
/kernel/linux/linux-6.6/drivers/macintosh/ |
H A D | windfarm_pid.c | 37 int i, hlen = st->param.history_len; in wf_pid_run() local 44 for (i = 0; i < hlen; i++) { in wf_pid_run() 51 st->index = (st->index + 1) % hlen; in wf_pid_run() 57 for (i = 0, integ = 0; i < hlen; i++) in wf_pid_run() 58 integ += st->errors[(st->index + hlen - i) % hlen]; in wf_pid_run() 63 st->errors[(st->index + hlen - 1) % hlen]; in wf_pid_run() 92 int i, hlen = st->param.history_len; in wf_cpu_pid_run() local 99 for (i = 0; i < hlen; in wf_cpu_pid_run() [all...] |
/third_party/curl/lib/ |
H A D | headers.c | 187 static CURLcode namevalue(char *header, size_t hlen, unsigned int type, in namevalue() argument 190 char *end = header + hlen - 1; /* point to the last byte */ in namevalue() 191 DEBUGASSERT(hlen); in namevalue() 283 size_t hlen; /* length of the incoming header */ in Curl_headers_push() local 298 hlen = end - header; in Curl_headers_push() 303 return unfold_value(data, header, hlen); in Curl_headers_push() 307 while(hlen && ISBLANK(*header)) { in Curl_headers_push() 309 hlen--; in Curl_headers_push() 311 if(!hlen) in Curl_headers_push() 316 hs = calloc(1, sizeof(*hs) + hlen); in Curl_headers_push() [all...] |
H A D | hsts.c | 120 size_t hlen; in hsts_create() local 124 hlen = strlen(hostname); in hsts_create() 125 if(hlen && (hostname[hlen - 1] == '.')) in hsts_create() 127 --hlen; in hsts_create() 128 if(hlen) { in hsts_create() 134 duphost = Curl_memdup0(hostname, hlen); in hsts_create() 260 size_t hlen = strlen(hostname); in Curl_hsts() local 264 if((hlen > MAX_HSTS_HOSTLEN) || !hlen) in Curl_hsts() [all...] |
H A D | altsvc.c | 101 size_t hlen; in altsvc_createid() local 105 hlen = strlen(srchost); in altsvc_createid() 107 DEBUGASSERT(hlen); in altsvc_createid() 109 if(!hlen || !dlen) { in altsvc_createid() 114 if((hlen > 2) && srchost[0] == '[') { in altsvc_createid() 117 hlen -= 2; in altsvc_createid() 119 else if(srchost[hlen - 1] == '.') in altsvc_createid() 121 hlen--; in altsvc_createid() 128 as->src.host = Curl_memdup0(srchost, hlen); in altsvc_createid() 435 size_t hlen in hostcompare() local [all...] |
/kernel/linux/linux-6.6/net/core/ |
H A D | flow_dissector.c | 114 * @hlen: packet header length, if @data is NULL use skb_headlen(skb) 120 const void *data, int hlen) in __skb_flow_get_ports() 126 hlen = skb_headlen(skb); in __skb_flow_get_ports() 133 sizeof(_ports), data, hlen, &_ports); in __skb_flow_get_ports() 163 * @hlen: packet header length 167 const void *data, int thoff, int hlen) in skb_flow_get_icmp_tci() 171 ih = __skb_header_pointer(skb, thoff, sizeof(_ih), data, hlen, &_ih); in skb_flow_get_icmp_tci() 194 int thoff, int hlen) in __skb_flow_dissect_icmp() 205 skb_flow_get_icmp_tci(skb, key_icmp, data, thoff, hlen); in __skb_flow_dissect_icmp() 211 int nhoff, int hlen) in __skb_flow_dissect_ah() 119 __skb_flow_get_ports(const struct sk_buff *skb, int thoff, u8 ip_proto, const void *data, int hlen) __skb_flow_get_ports() argument 165 skb_flow_get_icmp_tci(const struct sk_buff *skb, struct flow_dissector_key_icmp *key_icmp, const void *data, int thoff, int hlen) skb_flow_get_icmp_tci() argument 191 __skb_flow_dissect_icmp(const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, const void *data, int thoff, int hlen) __skb_flow_dissect_icmp() argument 208 __skb_flow_dissect_ah(const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, const void *data, int nhoff, int hlen) __skb_flow_dissect_ah() argument 230 __skb_flow_dissect_esp(const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, const void *data, int nhoff, int hlen) __skb_flow_dissect_esp() argument 252 __skb_flow_dissect_l2tpv3(const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, const void *data, int nhoff, int hlen) __skb_flow_dissect_l2tpv3() argument 491 __skb_flow_dissect_mpls(const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, const void *data, int nhoff, int hlen, int lse_index, bool *entropy_label) __skb_flow_dissect_mpls() argument 549 __skb_flow_dissect_arp(const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, const void *data, int nhoff, int hlen) __skb_flow_dissect_arp() argument 605 __skb_flow_dissect_cfm(const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, const void *data, int nhoff, int hlen) __skb_flow_dissect_cfm() argument 770 __skb_flow_dissect_batadv(const struct sk_buff *skb, struct flow_dissector_key_control *key_control, const void *data, __be16 *p_proto, int *p_nhoff, int hlen, unsigned int flags) __skb_flow_dissect_batadv() argument 802 __skb_flow_dissect_tcp(const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, const void *data, int thoff, int hlen) __skb_flow_dissect_tcp() argument 827 __skb_flow_dissect_ports(const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, const void *data, int nhoff, u8 ip_proto, int hlen) __skb_flow_dissect_ports() argument 971 bpf_flow_dissect(struct bpf_prog *prog, struct bpf_flow_dissector *ctx, __be16 proto, int nhoff, int hlen, unsigned int flags) bpf_flow_dissect() argument 1024 __skb_flow_dissect(const struct net *net, const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, const void *data, __be16 proto, int nhoff, int hlen, unsigned int flags) __skb_flow_dissect() argument 1871 __skb_get_poff(const struct sk_buff *skb, const void *data, const struct flow_keys_basic *keys, int hlen) __skb_get_poff() argument [all...] |
/third_party/mbedtls/library/ |
H A D | rsa.c | 1622 unsigned int hlen; in mgf_mask() local 1640 hlen = mbedtls_md_get_size(md_info); in mgf_mask() 1649 use_len = hlen; in mgf_mask() 1650 if (dlen < hlen) { in mgf_mask() 1687 * \param hlen length of the input hash 1693 static int hash_mprime(const unsigned char *hash, size_t hlen, in hash_mprime() argument 1717 if ((ret = mbedtls_md_update(&md_ctx, hash, hlen)) != 0) { in hash_mprime() 1771 unsigned int hlen; in mbedtls_rsa_rsaes_oaep_encrypt() local 1777 hlen = mbedtls_md_get_size_from_type((mbedtls_md_type_t) ctx->hash_id); in mbedtls_rsa_rsaes_oaep_encrypt() 1778 if (hlen in mbedtls_rsa_rsaes_oaep_encrypt() 1930 unsigned int hlen; mbedtls_rsa_rsaes_oaep_decrypt() local 2123 size_t slen, min_slen, hlen, offset = 0; rsa_rsassa_pss_sign_no_mode_check() local 2543 unsigned int hlen; mbedtls_rsa_rsassa_pss_verify_ext() local [all...] |
H A D | pkcs12.c | 271 int use_password, size_t hlen, size_t v) in calculate_hashes() 314 if ((ret = mbedtls_md(md_info, hash_output, hlen, hash_output)) in calculate_hashes() 342 size_t hlen, use_len, v, i; in mbedtls_pkcs12_derivation() local 360 hlen = mbedtls_md_get_size_from_type(md_type); in mbedtls_pkcs12_derivation() 362 if (hlen <= 32) { in mbedtls_pkcs12_derivation() 381 pwd_block, hash_output, use_salt, use_password, hlen, in mbedtls_pkcs12_derivation() 386 use_len = (datalen > hlen) ? hlen : datalen; in mbedtls_pkcs12_derivation() 396 pkcs12_fill_buffer(hash_block, v, hash_output, hlen); in mbedtls_pkcs12_derivation() 268 calculate_hashes(mbedtls_md_type_t md_type, int iterations, unsigned char *diversifier, unsigned char *salt_block, unsigned char *pwd_block, unsigned char *hash_output, int use_salt, int use_password, size_t hlen, size_t v) calculate_hashes() argument
|
/third_party/lwip/src/core/ipv4/ |
H A D | icmp.c | 88 u16_t hlen; in icmp_input() local 95 hlen = IPH_HL_BYTES(iphdr_in); in icmp_input() 96 if (hlen < IP_HLEN) { in icmp_input() 97 LWIP_DEBUGF(ICMP_DEBUG, ("icmp_input: short IP header (%"S16_F" bytes) received\n", hlen)); in icmp_input() 157 if (pbuf_add_header(p, hlen + PBUF_LINK_HLEN + PBUF_LINK_ENCAPSULATION_HLEN)) { in icmp_input() 162 u16_t alloc_len = (u16_t)(p->tot_len + hlen); in icmp_input() 173 if (r->len < hlen + sizeof(struct icmp_echo_hdr)) { in icmp_input() 179 MEMCPY(r->payload, iphdr_in, hlen); in icmp_input() 181 if (pbuf_remove_header(r, hlen)) { in icmp_input() 198 if (pbuf_remove_header(p, hlen in icmp_input() [all...] |
/kernel/linux/linux-5.10/drivers/bluetooth/ |
H A D | h4_recv.h | 13 u8 hlen; /* Header length */ member 22 .hlen = HCI_ACL_HDR_SIZE, \ 29 .hlen = HCI_SCO_HDR_SIZE, \ 36 .hlen = HCI_EVENT_HDR_SIZE, \ 66 hci_skb_expect(skb) = (&pkts[i])->hlen; in h4_recv_buf() 98 if (skb->len == (&pkts[i])->hlen) { in h4_recv_buf()
|
H A D | hci_uart.h | 118 u8 hlen; /* Header length */ member 127 .hlen = HCI_ACL_HDR_SIZE, \ 134 .hlen = HCI_SCO_HDR_SIZE, \ 141 .hlen = HCI_EVENT_HDR_SIZE, \ 148 .hlen = HCI_ISO_HDR_SIZE, \
|
/kernel/linux/linux-6.6/drivers/bluetooth/ |
H A D | h4_recv.h | 13 u8 hlen; /* Header length */ member 22 .hlen = HCI_ACL_HDR_SIZE, \ 29 .hlen = HCI_SCO_HDR_SIZE, \ 36 .hlen = HCI_EVENT_HDR_SIZE, \ 66 hci_skb_expect(skb) = (&pkts[i])->hlen; in h4_recv_buf() 98 if (skb->len == (&pkts[i])->hlen) { in h4_recv_buf()
|
H A D | hci_uart.h | 129 u8 hlen; /* Header length */ member 138 .hlen = HCI_ACL_HDR_SIZE, \ 145 .hlen = HCI_SCO_HDR_SIZE, \ 152 .hlen = HCI_EVENT_HDR_SIZE, \ 159 .hlen = HCI_ISO_HDR_SIZE, \
|
/kernel/linux/linux-5.10/net/core/ |
H A D | flow_dissector.c | 110 * @hlen: packet header length, if @data is NULL use skb_headlen(skb) 116 void *data, int hlen) in __skb_flow_get_ports() 122 hlen = skb_headlen(skb); in __skb_flow_get_ports() 129 sizeof(_ports), data, hlen, &_ports); in __skb_flow_get_ports() 159 * @hlen: packet header length 163 void *data, int thoff, int hlen) in skb_flow_get_icmp_tci() 167 ih = __skb_header_pointer(skb, thoff, sizeof(_ih), data, hlen, &_ih); in skb_flow_get_icmp_tci() 190 void *data, int thoff, int hlen) in __skb_flow_dissect_icmp() 201 skb_flow_get_icmp_tci(skb, key_icmp, data, thoff, hlen); in __skb_flow_dissect_icmp() 406 void *target_container, void *data, int nhoff, int hlen, in __skb_flow_dissect_mpls() 115 __skb_flow_get_ports(const struct sk_buff *skb, int thoff, u8 ip_proto, void *data, int hlen) __skb_flow_get_ports() argument 161 skb_flow_get_icmp_tci(const struct sk_buff *skb, struct flow_dissector_key_icmp *key_icmp, void *data, int thoff, int hlen) skb_flow_get_icmp_tci() argument 187 __skb_flow_dissect_icmp(const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, void *data, int thoff, int hlen) __skb_flow_dissect_icmp() argument 404 __skb_flow_dissect_mpls(const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, void *data, int nhoff, int hlen, int lse_index, bool *entropy_label) __skb_flow_dissect_mpls() argument 462 __skb_flow_dissect_arp(const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, void *data, int nhoff, int hlen) __skb_flow_dissect_arp() argument 658 __skb_flow_dissect_batadv(const struct sk_buff *skb, struct flow_dissector_key_control *key_control, void *data, __be16 *p_proto, int *p_nhoff, int hlen, unsigned int flags) __skb_flow_dissect_batadv() argument 690 __skb_flow_dissect_tcp(const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, void *data, int thoff, int hlen) __skb_flow_dissect_tcp() argument 714 __skb_flow_dissect_ports(const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, void *data, int nhoff, u8 ip_proto, int hlen) __skb_flow_dissect_ports() argument 856 bpf_flow_dissect(struct bpf_prog *prog, struct bpf_flow_dissector *ctx, __be16 proto, int nhoff, int hlen, unsigned int flags) bpf_flow_dissect() argument 904 __skb_flow_dissect(const struct net *net, const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, void *data, __be16 proto, int nhoff, int hlen, unsigned int flags) __skb_flow_dissect() argument 1629 __skb_get_poff(const struct sk_buff *skb, void *data, const struct flow_keys_basic *keys, int hlen) __skb_get_poff() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/ |
H A D | tlsv1_client_write.c | 580 size_t rlen, hlen, clen; in tls_write_client_certificate_verify() local 622 hlen = SHA256_MAC_LEN; in tls_write_client_certificate_verify() 624 crypto_hash_finish(conn->verify.sha256_cert, hpos, &hlen) < in tls_write_client_certificate_verify() 647 os_memmove(hash + 19, hash, hlen); in tls_write_client_certificate_verify() 648 hlen += 19; in tls_write_client_certificate_verify() 654 hlen = MD5_MAC_LEN; in tls_write_client_certificate_verify() 656 crypto_hash_finish(conn->verify.md5_cert, hpos, &hlen) < 0) { in tls_write_client_certificate_verify() 667 hlen = SHA1_MAC_LEN; in tls_write_client_certificate_verify() 669 crypto_hash_finish(conn->verify.sha1_cert, hpos, &hlen) < 0) { in tls_write_client_certificate_verify() 677 hlen in tls_write_client_certificate_verify() 785 size_t rlen, hlen; tls_write_client_finished() local [all...] |
H A D | tlsv1_common.c | 344 size_t hlen; in tlsv12_key_x_server_params_hash() local 351 hlen = SHA256_MAC_LEN; in tlsv12_key_x_server_params_hash() 355 hlen = 48; in tlsv12_key_x_server_params_hash() 359 hlen = 64; in tlsv12_key_x_server_params_hash() 370 if (crypto_hash_finish(ctx, hash, &hlen) < 0) in tlsv12_key_x_server_params_hash() 373 return hlen; in tlsv12_key_x_server_params_hash() 384 size_t hlen; in tls_key_x_server_params_hash() local 395 hlen = MD5_MAC_LEN; in tls_key_x_server_params_hash() 396 if (crypto_hash_finish(ctx, hash, &hlen) < 0) in tls_key_x_server_params_hash() 398 hpos += hlen; in tls_key_x_server_params_hash() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/ |
H A D | tlsv1_client_write.c | 568 size_t rlen, hlen, clen; in tls_write_client_certificate_verify() local 610 hlen = SHA256_MAC_LEN; in tls_write_client_certificate_verify() 612 crypto_hash_finish(conn->verify.sha256_cert, hpos, &hlen) < in tls_write_client_certificate_verify() 635 os_memmove(hash + 19, hash, hlen); in tls_write_client_certificate_verify() 636 hlen += 19; in tls_write_client_certificate_verify() 642 hlen = MD5_MAC_LEN; in tls_write_client_certificate_verify() 644 crypto_hash_finish(conn->verify.md5_cert, hpos, &hlen) < 0) { in tls_write_client_certificate_verify() 655 hlen = SHA1_MAC_LEN; in tls_write_client_certificate_verify() 657 crypto_hash_finish(conn->verify.sha1_cert, hpos, &hlen) < 0) { in tls_write_client_certificate_verify() 665 hlen in tls_write_client_certificate_verify() 773 size_t rlen, hlen; tls_write_client_finished() local [all...] |
H A D | tlsv1_common.c | 344 size_t hlen; in tlsv12_key_x_server_params_hash() local 351 hlen = SHA256_MAC_LEN; in tlsv12_key_x_server_params_hash() 355 hlen = 48; in tlsv12_key_x_server_params_hash() 359 hlen = 64; in tlsv12_key_x_server_params_hash() 370 if (crypto_hash_finish(ctx, hash, &hlen) < 0) in tlsv12_key_x_server_params_hash() 373 return hlen; in tlsv12_key_x_server_params_hash() 384 size_t hlen; in tls_key_x_server_params_hash() local 395 hlen = MD5_MAC_LEN; in tls_key_x_server_params_hash() 396 if (crypto_hash_finish(ctx, hash, &hlen) < 0) in tls_key_x_server_params_hash() 398 hpos += hlen; in tls_key_x_server_params_hash() [all...] |
/third_party/musl/porting/liteos_a/user/src/misc/ |
H A D | syslog.c | 97 int hlen; in _vsyslog() local 110 priority, timebuf, &hlen, log_ident, "["+!pid, pid, "]"+!pid); in _vsyslog() 123 dprintf(fd, "%.*s", l-hlen, buf+hlen); in _vsyslog() 127 if (log_opt & LOG_PERROR) dprintf(2, "%.*s", l-hlen, buf+hlen); in _vsyslog()
|
/third_party/musl/src/misc/ |
H A D | syslog.c | 98 int hlen; in _vsyslog() local 111 priority, timebuf, &hlen, log_ident, "["+!pid, pid, "]"+!pid); in _vsyslog() 124 dprintf(fd, "%.*s", l-hlen, buf+hlen); in _vsyslog() 128 if (log_opt & LOG_PERROR) dprintf(2, "%.*s", l-hlen, buf+hlen); in _vsyslog()
|
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | gre_offload.c | 122 unsigned int hlen, grehlen; in gre_gro_receive() local 134 hlen = off + sizeof(*greh); in gre_gro_receive() 136 if (skb_gro_header_hard(skb, hlen)) { in gre_gro_receive() 137 greh = skb_gro_header_slow(skb, hlen, off); in gre_gro_receive() 174 hlen = off + grehlen; in gre_gro_receive() 175 if (skb_gro_header_hard(skb, hlen)) { in gre_gro_receive() 176 greh = skb_gro_header_slow(skb, hlen, off); in gre_gro_receive()
|
/third_party/lwip/src/core/ipv6/ |
H A D | ip6.c | 566 u16_t hlen, hlen_tot; /* the current header length */ local 764 hlen = hlen_tot = IP6_HLEN; 787 hlen = (u16_t)(8 * (1 + hbh_hdr->_hlen)); 789 if ((p->len < 8) || (hlen > p->len)) { 791 ("IPv6 options header (hlen %"U16_F") does not fit in first pbuf (len %"U16_F"), IPv6 packet dropped.\n", 792 hlen, p->len)); 800 hlen_tot = (u16_t)(hlen_tot + hlen); 804 while (opt_offset < hlen) 861 pbuf_remove_header(p, hlen); 877 hlen 1485 const u8_t hlen = (sizeof(struct ip6_opt_hdr) * 2) + IP6_ROUTER_ALERT_DLEN; global() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/google/gve/ |
H A D | gve_tx.c | 294 int hlen; in gve_skb_fifo_bytes_required() local 296 hlen = skb_is_gso(skb) ? skb_checksum_start_offset(skb) + in gve_skb_fifo_bytes_required() 300 hlen); in gve_skb_fifo_bytes_required() 302 align_hdr_pad = L1_CACHE_ALIGN(hlen) - hlen; in gve_skb_fifo_bytes_required() 360 u16 hlen, u64 addr) in gve_tx_fill_pkt_desc() 378 pkt_desc->pkt.seg_len = cpu_to_be16(hlen); in gve_tx_fill_pkt_desc() 414 int pad_bytes, hlen, hdr_nfrags, payload_nfrags, l4_hdr_offset; in gve_tx_add_skb() local 433 hlen = is_gso ? l4_hdr_offset + tcp_hdrlen(skb) : in gve_tx_add_skb() 440 pad_bytes = gve_tx_fifo_pad_alloc_one_frag(&tx->tx_fifo, hlen); in gve_tx_add_skb() 357 gve_tx_fill_pkt_desc(union gve_tx_desc *pkt_desc, struct sk_buff *skb, bool is_gso, int l4_hdr_offset, u32 desc_cnt, u16 hlen, u64 addr) gve_tx_fill_pkt_desc() argument [all...] |