Home
last modified time | relevance | path

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

/linux/include/net/
H A Desp.h15 static inline void esp_output_fill_trailer(u8 *tail, int tfclen, int plen, __u8 proto) in esp_output_fill_trailer() argument
18 if (tfclen) { in esp_output_fill_trailer()
19 memset(tail, 0, tfclen); in esp_output_fill_trailer()
20 tail += tfclen; in esp_output_fill_trailer()
34 int tfclen; member
/linux/net/ipv4/
H A Desp4_offload.c299 esp.tfclen = 0; in esp_xmit()
303 esp.clen = ALIGN(skb->len + 2 + esp.tfclen, blksize); in esp_xmit()
304 esp.plen = esp.clen - skb->len - esp.tfclen; in esp_xmit()
305 esp.tailen = esp.tfclen + esp.plen + alen; in esp_xmit()
H A Desp4.c455 esp_output_fill_trailer(tail, esp->tfclen, esp->plen, esp->proto); in esp_output_head()
487 esp_output_fill_trailer(tail, esp->tfclen, esp->plen, esp->proto); in esp_output_head()
635 esp.tfclen = 0; in esp_output()
642 esp.tfclen = padto - skb->len; in esp_output()
645 esp.clen = ALIGN(skb->len + 2 + esp.tfclen, blksize); in esp_output()
646 esp.plen = esp.clen - skb->len - esp.tfclen; in esp_output()
647 esp.tailen = esp.tfclen + esp.plen + alen; in esp_output()
/linux/net/ipv6/
H A Desp6_offload.c334 esp.tfclen = 0; in esp6_xmit()
338 esp.clen = ALIGN(skb->len + 2 + esp.tfclen, blksize); in esp6_xmit()
339 esp.plen = esp.clen - skb->len - esp.tfclen; in esp6_xmit()
340 esp.tailen = esp.tfclen + esp.plen + alen; in esp6_xmit()
H A Desp6.c484 esp_output_fill_trailer(tail, esp->tfclen, esp->plen, esp->proto); in esp6_output_head()
518 esp_output_fill_trailer(tail, esp->tfclen, esp->plen, esp->proto); in esp6_output_head()
667 esp.tfclen = 0; in esp6_output()
674 esp.tfclen = padto - skb->len; in esp6_output()
677 esp.clen = ALIGN(skb->len + 2 + esp.tfclen, blksize); in esp6_output()
678 esp.plen = esp.clen - skb->len - esp.tfclen; in esp6_output()
679 esp.tailen = esp.tfclen + esp.plen + alen; in esp6_output()