Searched refs:trailer_len (Results 1 – 11 of 11) sorted by relevance
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | htc.c | 255 u32 trailer_len = 0; in ath12k_htc_rx_completion_handler() local 293 trailer_len = le32_get_bits(hdr->ctrl_info, in ath12k_htc_rx_completion_handler() 297 if ((trailer_len < min_len) || in ath12k_htc_rx_completion_handler() 298 (trailer_len > payload_len)) { in ath12k_htc_rx_completion_handler() 300 trailer_len); in ath12k_htc_rx_completion_handler() 307 trailer -= trailer_len; in ath12k_htc_rx_completion_handler() 309 trailer_len, eid); in ath12k_htc_rx_completion_handler() 313 skb_trim(skb, skb->len - trailer_len); in ath12k_htc_rx_completion_handler() 316 if (trailer_len >= payload_len) in ath12k_htc_rx_completion_handler()
|
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | htc.c | 292 u32 message_id, trailer_len = 0; in ath11k_htc_rx_completion_handler() local 333 trailer_len = FIELD_GET(HTC_HDR_CONTROLBYTES0, hdr->ctrl_info); in ath11k_htc_rx_completion_handler() 336 if ((trailer_len < min_len) || in ath11k_htc_rx_completion_handler() 337 (trailer_len > payload_len)) { in ath11k_htc_rx_completion_handler() 339 trailer_len); in ath11k_htc_rx_completion_handler() 346 trailer -= trailer_len; in ath11k_htc_rx_completion_handler() 348 trailer_len, eid); in ath11k_htc_rx_completion_handler() 352 skb_trim(skb, skb->len - trailer_len); in ath11k_htc_rx_completion_handler() 355 if (trailer_len >= payload_len) in ath11k_htc_rx_completion_handler()
|
/freebsd/sys/opencrypto/ |
H A D | ktls_ocf.c | 62 uint64_t seqno, int *trailer_len); 439 int *trailer_len) in ktls_ocf_tls_cbc_decrypt() argument 482 *trailer_len = os->mac_len + pad + 1; in ktls_ocf_tls_cbc_decrypt() 483 if (AES_BLOCK_LEN + *trailer_len > tls_len) in ktls_ocf_tls_cbc_decrypt() 491 tls_comp_len = tls_len - (AES_BLOCK_LEN + *trailer_len); in ktls_ocf_tls_cbc_decrypt() 632 int *trailer_len) in ktls_ocf_tls12_aead_decrypt() argument 694 *trailer_len = tls->params.tls_tlen; in ktls_ocf_tls12_aead_decrypt() 862 int *trailer_len) in ktls_ocf_tls13_aead_decrypt() argument 909 *trailer_len = tag_len; in ktls_ocf_tls13_aead_decrypt() 1172 struct mbuf *m, uint64_t seqno, int *trailer_len) in ktls_ocf_decrypt() argument [all...] |
H A D | ktls.h | 57 int *trailer_len);
|
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | bmi.c | 476 u32 trailer_len = length - head_len; in ath10k_bmi_fast_download() local 488 if (trailer_len > 0) in ath10k_bmi_fast_download() 490 memcpy(trailer, buffer + head_len, trailer_len); in ath10k_bmi_fast_download() 492 memcpy(trailer, (const u8 *)buffer + head_len, trailer_len); in ath10k_bmi_fast_download() 503 if (trailer_len > 0) in ath10k_bmi_fast_download()
|
H A D | htc.c | 446 u32 trailer_len = 0; in ath10k_htc_rx_completion_handler() local 493 trailer_len = hdr->trailer_len; in ath10k_htc_rx_completion_handler() 496 if ((trailer_len < min_len) || in ath10k_htc_rx_completion_handler() 497 (trailer_len > payload_len)) { in ath10k_htc_rx_completion_handler() 499 trailer_len); in ath10k_htc_rx_completion_handler() 506 trailer -= trailer_len; in ath10k_htc_rx_completion_handler() 508 trailer_len, hdr->eid, in ath10k_htc_rx_completion_handler() 513 skb_trim(skb, skb->len - trailer_len); in ath10k_htc_rx_completion_handler() 516 if (((int)payload_len - (int)trailer_len) <= 0) in ath10k_htc_rx_completion_handler()
|
H A D | usb.c | 31 return __le16_to_cpu(htc_hdr->len) == htc_hdr->trailer_len; in is_trailer_only_msg() 317 if (payload_len < htc_hdr->trailer_len) { in ath10k_usb_rx_complete() 324 htc_hdr->trailer_len; in ath10k_usb_rx_complete() 328 htc_hdr->trailer_len, in ath10k_usb_rx_complete() 341 skb_trim(skb, skb->len - htc_hdr->trailer_len); in ath10k_usb_rx_complete()
|
H A D | htc.h | 79 u8 trailer_len; /* for rx */ member
|
H A D | sdio.c | 79 if (len == htc_hdr->trailer_len) in is_trailer_only_msg() 393 trailer = skb->data + skb->len - htc_hdr->trailer_len; in ath10k_sdio_mbox_rx_process_packet() 399 htc_hdr->trailer_len, in ath10k_sdio_mbox_rx_process_packet() 409 skb_trim(skb, skb->len - htc_hdr->trailer_len); in ath10k_sdio_mbox_rx_process_packet()
|
/freebsd/sys/dev/cxgbe/tom/ |
H A D | t4_tls.c | 797 int pdu_length, trailer_len; in do_rx_tls_cmp() local 948 trailer_len = sb->sb_tls_info->params.tls_tlen; in do_rx_tls_cmp() 950 m_last(tls_data)->m_len += trailer_len; in do_rx_tls_cmp() 953 m->m_len += trailer_len; in do_rx_tls_cmp() 954 m->m_pkthdr.len += trailer_len; in do_rx_tls_cmp()
|
/freebsd/sys/kern/ |
H A D | uipc_ktls.c | 2374 int *trailer_len, uint8_t *record_typep) in tls13_find_record_type() argument 2380 digest_start = tls_len - *trailer_len; in tls13_find_record_type() 2401 *trailer_len = tls_len - last_offset + 1; in tls13_find_record_type()
|