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.c458 esp_output_fill_trailer(tail, esp->tfclen, esp->plen, esp->proto); in esp_output_head()
490 esp_output_fill_trailer(tail, esp->tfclen, esp->plen, esp->proto); in esp_output_head()
640 esp.tfclen = 0; in esp_output()
647 esp.tfclen = padto - skb->len; in esp_output()
650 esp.clen = ALIGN(skb->len + 2 + esp.tfclen, blksize); in esp_output()
651 esp.plen = esp.clen - skb->len - esp.tfclen; in esp_output()
652 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.c487 esp_output_fill_trailer(tail, esp->tfclen, esp->plen, esp->proto); in esp6_output_head()
521 esp_output_fill_trailer(tail, esp->tfclen, esp->plen, esp->proto); in esp6_output_head()
672 esp.tfclen = 0; in esp6_output()
679 esp.tfclen = padto - skb->len; in esp6_output()
682 esp.clen = ALIGN(skb->len + 2 + esp.tfclen, blksize); in esp6_output()
683 esp.plen = esp.clen - skb->len - esp.tfclen; in esp6_output()
684 esp.tailen = esp.tfclen + esp.plen + alen; in esp6_output()