]> git.proxmox.com Git - mirror_iproute2.git/commit
uapi/iptunnel: make TUNNEL_FLAGS available
authorStephen Hemminger <sthemmin@microsoft.com>
Thu, 20 Dec 2018 17:19:33 +0000 (09:19 -0800)
committerStephen Hemminger <sthemmin@microsoft.com>
Thu, 20 Dec 2018 17:19:33 +0000 (09:19 -0800)
commitc579ec14a753a90f7f624ef0ee22053397d27c8f
treedb09e38c41394f0b7f6ea2e831896a2f318fcc63
parent2db63d290b6df93e48eb6f0674813e7e47753dce
uapi/iptunnel: make TUNNEL_FLAGS available

ip l add dev tun type gretap external
ip r a 10.0.0.1 encap ip dst 192.168.152.171 id 1000 dev gretap

For gretap Key example when the command set the id but don't set the
TUNNEL_KEY flags. There is no key field in the send packet

In the lwtunnel situation, some TUNNEL_FLAGS should can be set by
userspace

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
include/uapi/linux/if_tunnel.h