Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/
Dtun.c345 static inline u16 tun16_to_cpu(struct tun_struct *tun, __virtio16 val) in tun16_to_cpu() function
1715tun16_to_cpu(tun, gso.csum_start) + tun16_to_cpu(tun, gso.csum_offset) + 2 > tun16_to_cpu(tun, gso… in tun_get_user()
1716 …gso.hdr_len = cpu_to_tun16(tun, tun16_to_cpu(tun, gso.csum_start) + tun16_to_cpu(tun, gso.csum_off… in tun_get_user()
1718 if (tun16_to_cpu(tun, gso.hdr_len) > len) in tun_get_user()
1726 (gso.hdr_len && tun16_to_cpu(tun, gso.hdr_len) < ETH_HLEN))) in tun_get_user()
1739 copylen = gso.hdr_len ? tun16_to_cpu(tun, gso.hdr_len) : GOODCOPY_LEN; in tun_get_user()
1763 if (tun16_to_cpu(tun, gso.hdr_len) > good_linear) in tun_get_user()
1766 linear = tun16_to_cpu(tun, gso.hdr_len); in tun_get_user()
2059 sinfo->gso_type, tun16_to_cpu(tun, gso.gso_size), in tun_put_user()
2060 tun16_to_cpu(tun, gso.hdr_len)); in tun_put_user()
[all …]