github.com/vishvananda/netlink@v1.3.0/nl/ip6tnl_linux.go (about) 1 package nl 2 3 // id's of route attribute from https://elixir.bootlin.com/linux/v5.17.3/source/include/uapi/linux/lwtunnel.h#L38 4 // the value's size are specified in https://elixir.bootlin.com/linux/v5.17.3/source/net/ipv4/ip_tunnel_core.c#L928 5 6 const ( 7 LWTUNNEL_IP6_UNSPEC = iota 8 LWTUNNEL_IP6_ID 9 LWTUNNEL_IP6_DST 10 LWTUNNEL_IP6_SRC 11 LWTUNNEL_IP6_HOPLIMIT 12 LWTUNNEL_IP6_TC 13 LWTUNNEL_IP6_FLAGS 14 LWTUNNEL_IP6_PAD // not implemented 15 LWTUNNEL_IP6_OPTS // not implemented 16 __LWTUNNEL_IP6_MAX 17 ) 18 19 20 21