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.c109 #define TUN_VNET_TNL_SIZE sizeof(struct virtio_net_hdr_v1_hash_tunnel)
111 (TUN_VNET_TNL_SIZE + ETH_HLEN + UDP_TUNNEL_GENEVE_6IN6_HDRLEN + \
428 if (validate_hdrlen(&cur, &len, TUN_VNET_TNL_SIZE)) in parse_udp_tunnel_vnet_packet()
875 self->fd = tun_open(self->ifname, flags, TUN_VNET_TNL_SIZE, features, in send_gso_packet_into_tunnel()
1063 memcpy(vnet_hdr, buf, TUN_VNET_TNL_SIZE);
108 #define TUN_VNET_TNL_SIZE global() macro