Lines Matching defs:tun16_to_cpu
365 static inline u16 tun16_to_cpu(struct tun_struct *tun, __virtio16 val)
1793 tun16_to_cpu(tun, gso.csum_start) + tun16_to_cpu(tun, gso.csum_offset) + 2 > tun16_to_cpu(tun, gso.hdr_len))
1794 gso.hdr_len = cpu_to_tun16(tun, tun16_to_cpu(tun, gso.csum_start) + tun16_to_cpu(tun, gso.csum_offset) + 2);
1796 if (tun16_to_cpu(tun, gso.hdr_len) > len)
1804 (gso.hdr_len && tun16_to_cpu(tun, gso.hdr_len) < ETH_HLEN)))
1817 copylen = gso.hdr_len ? tun16_to_cpu(tun, gso.hdr_len) : GOODCOPY_LEN;
1841 if (tun16_to_cpu(tun, gso.hdr_len) > good_linear)
1844 linear = tun16_to_cpu(tun, gso.hdr_len);
2146 sinfo->gso_type, tun16_to_cpu(tun, gso.gso_size),
2147 tun16_to_cpu(tun, gso.hdr_len));
2151 min((int)tun16_to_cpu(tun, gso.hdr_len), 64), true);