Searched refs:trailer_len (Results 1 – 13 of 13) sorted by relevance
| /linux-4.4.14/drivers/usb/serial/ |
| D | safe_serial.c | 232 int trailer_len; in safe_prepare_write_buffer() local 236 trailer_len = safe ? 2 : 0; in safe_prepare_write_buffer() 238 count = kfifo_out_locked(&port->write_fifo, buf, size - trailer_len, in safe_prepare_write_buffer() 246 memset(buf + count, '0', pkt_len - count - trailer_len); in safe_prepare_write_buffer() 248 pkt_len = count + trailer_len; in safe_prepare_write_buffer()
|
| /linux-4.4.14/drivers/net/wireless/ath/ath10k/ |
| D | htc.c | 302 u32 trailer_len = 0; in ath10k_htc_rx_completion_handler() local 345 trailer_len = hdr->trailer_len; in ath10k_htc_rx_completion_handler() 348 if ((trailer_len < min_len) || in ath10k_htc_rx_completion_handler() 349 (trailer_len > payload_len)) { in ath10k_htc_rx_completion_handler() 351 trailer_len); in ath10k_htc_rx_completion_handler() 358 trailer -= trailer_len; in ath10k_htc_rx_completion_handler() 360 trailer_len, hdr->eid); in ath10k_htc_rx_completion_handler() 364 skb_trim(skb, skb->len - trailer_len); in ath10k_htc_rx_completion_handler() 367 if (((int)payload_len - (int)trailer_len) <= 0) in ath10k_htc_rx_completion_handler()
|
| D | bmi.c | 286 u32 trailer_len = length - head_len; in ath10k_bmi_fast_download() local 298 if (trailer_len > 0) in ath10k_bmi_fast_download() 299 memcpy(trailer, buffer + head_len, trailer_len); in ath10k_bmi_fast_download() 305 if (trailer_len > 0) in ath10k_bmi_fast_download()
|
| D | htc.h | 69 u8 trailer_len; /* for rx */ member
|
| /linux-4.4.14/net/ipv6/netfilter/ |
| D | nf_reject_ipv6.c | 172 + sizeof(struct tcphdr) + dst->trailer_len, in nf_send_reset6()
|
| /linux-4.4.14/net/core/ |
| D | dst.c | 184 dst->trailer_len = 0; in dst_init()
|
| /linux-4.4.14/include/net/ |
| D | dst.h | 80 unsigned short trailer_len; /* space to reserve at tail */ member
|
| D | xfrm.h | 160 int trailer_len; member
|
| /linux-4.4.14/net/xfrm/ |
| D | xfrm_policy.c | 1668 int trailer_len = 0; in xfrm_bundle_create() local 1739 trailer_len += xfrm[i]->props.trailer_len; in xfrm_bundle_create() 1761 dst_prev->trailer_len = trailer_len; in xfrm_bundle_create() 1763 trailer_len -= xdst->u.dst.xfrm->props.trailer_len; in xfrm_bundle_create()
|
| /linux-4.4.14/net/ipv6/ |
| D | ip6_output.c | 1400 datalen = maxfraglen - fragheaderlen - rt->dst.trailer_len; in __ip6_append_data() 1414 datalen += rt->dst.trailer_len; in __ip6_append_data() 1417 alloclen += rt->dst.trailer_len; in __ip6_append_data()
|
| D | esp6.c | 658 x->props.trailer_len = align + 1 + crypto_aead_authsize(aead); in esp6_init_state()
|
| /linux-4.4.14/net/ipv4/ |
| D | esp4.c | 717 x->props.trailer_len = align + 1 + crypto_aead_authsize(aead); in esp_init_state()
|
| D | ip_output.c | 986 alloclen += rt->dst.trailer_len; in __ip_append_data()
|