Home
last modified time | relevance | path

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

/linux/drivers/net/
H A Dtun_vnet.h9 #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()
/linux/tools/testing/selftests/net/
H A Dtun.c108 #define TUN_VNET_TNL_SIZE sizeof(struct virtio_net_hdr_v1_hash_tunnel) macro
110 (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()