Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/net/
H A Dtun.c105 #define UDP_TUNNEL_MAX(type, is_tap) \ argument
106 (ETH_MAX_MTU - UDP_TUNNEL_HDRLEN(type) - ((is_tap) ? ETH_HLEN : 0))
420 bool is_tap) in parse_udp_tunnel_vnet_packet() argument
430 if (is_tap) { in parse_udp_tunnel_vnet_packet()
557 bool is_tap, no_gso; in FIXTURE_VARIANT() local
567 .is_tap = true, \
575 .is_tap = true, \
583 .is_tap = true, \
592 .is_tap = true, \
601 .is_tap = true, \
[all …]
H A Dtuntap_helpers.h355 static inline int build_virtio_net_hdr_v1_hash_tunnel(uint8_t *buf, bool is_tap, in build_virtio_net_hdr_v1_hash_tunnel() argument
364 eth_hlen = is_tap ? ETH_HLEN : 0; in build_virtio_net_hdr_v1_hash_tunnel()