D | tun.c | 83 #define tun_debug(level, tun, fmt, args...) \ argument 85 if (tun->debug) \ 86 netdev_printk(level, tun->dev, fmt, ##args); \ 94 #define tun_debug(level, tun, fmt, args...) \ argument 97 netdev_printk(level, tun->dev, fmt, ##args); \ 148 struct tun_struct __rcu *tun; member 164 struct tun_struct *tun; member 209 static inline u16 tun16_to_cpu(struct tun_struct *tun, __virtio16 val) in tun16_to_cpu() argument 211 return __virtio16_to_cpu(tun->flags & TUN_VNET_LE, val); in tun16_to_cpu() 214 static inline __virtio16 cpu_to_tun16(struct tun_struct *tun, u16 val) in cpu_to_tun16() argument [all …]
|