Searched refs:TUN_VNET_TNL_SIZE (Results 1 – 2 of 2) sorted by relevance
9 #define TUN_VNET_TNL_SIZE sizeof(struct virtio_net_hdr_v1_hash_tunnel) macro 117 return TUN_VNET_TNL_SIZE; in tun_vnet_parse_size() 192 if (vnet_hdr_sz >= TUN_VNET_TNL_SIZE) in tun_vnet_hdr_guest_features()
108 #define TUN_VNET_TNL_SIZE sizeof(struct virtio_net_hdr_v1_hash_tunnel) macro110 (TUN_VNET_TNL_SIZE + ETH_HLEN + UDP_TUNNEL_GENEVE_6IN6_HDRLEN + \427 if (validate_hdrlen(&cur, &len, TUN_VNET_TNL_SIZE)) in parse_udp_tunnel_vnet_packet()739 self->fd = tun_open(self->ifname, flags, TUN_VNET_TNL_SIZE, features, in FIXTURE_SETUP()927 memcpy(vnet_hdr, buf, TUN_VNET_TNL_SIZE); in receive_gso_packet_from_tun()