Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/
Dtap.c86 static inline u16 tap16_to_cpu(struct tap_queue *q, __virtio16 val) in tap16_to_cpu() function
651 tap16_to_cpu(q, vnet_hdr.csum_start) + in tap_get_user()
652 tap16_to_cpu(q, vnet_hdr.csum_offset) + 2 > in tap_get_user()
653 tap16_to_cpu(q, vnet_hdr.hdr_len)) in tap_get_user()
655 tap16_to_cpu(q, vnet_hdr.csum_start) + in tap_get_user()
656 tap16_to_cpu(q, vnet_hdr.csum_offset) + 2); in tap_get_user()
658 if (tap16_to_cpu(q, vnet_hdr.hdr_len) > len) in tap_get_user()
670 tap16_to_cpu(q, vnet_hdr.hdr_len) : GOODCOPY_LEN; in tap_get_user()
684 linear = tap16_to_cpu(q, vnet_hdr.hdr_len); in tap_get_user()