From 18d18b591b354e07ba76be8f115b7119d49056a9 Mon Sep 17 00:00:00 2001 From: Cheng-Min Chiang Date: Mon, 6 Jul 2020 16:42:48 -0700 Subject: sys/linux: add descriptions for IP tunnels Add descriptions related to IPv4/v6 tunnels (include/uapi/linux/if_tunnel.h). Descriptions of netlink actions are not included in this commit. Update #533. --- sys/linux/socket_ip_tunnel_arm.const | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 sys/linux/socket_ip_tunnel_arm.const (limited to 'sys/linux/socket_ip_tunnel_arm.const') diff --git a/sys/linux/socket_ip_tunnel_arm.const b/sys/linux/socket_ip_tunnel_arm.const new file mode 100644 index 000000000..30dbb35be --- /dev/null +++ b/sys/linux/socket_ip_tunnel_arm.const @@ -0,0 +1,35 @@ +# AUTOGENERATED FILE +GRE_ACK = 32768 +GRE_CSUM = 128 +GRE_FLAGS = 30720 +GRE_KEY = 32 +GRE_REC = 7 +GRE_ROUTING = 64 +GRE_SEQ = 16 +GRE_STRICT = 8 +GRE_VERSION = 1792 +IFNAMSIZ = 16 +IP6_TNL_F_ALLOW_LOCAL_REMOTE = 64 +IP6_TNL_F_IGN_ENCAP_LIMIT = 1 +IP6_TNL_F_MIP6_DEV = 8 +IP6_TNL_F_RCV_DSCP_COPY = 16 +IP6_TNL_F_USE_ORIG_FLOWLABEL = 4 +IP6_TNL_F_USE_ORIG_FWMARK = 32 +IP6_TNL_F_USE_ORIG_TCLASS = 2 +IPPROTO_GRE = 47 +IPPROTO_IPIP = 4 +IPPROTO_IPV6 = 41 +SIOCADD6RD = 35321 +SIOCADDPRL = 35317 +SIOCADDTUNNEL = 35313 +SIOCCHG6RD = 35323 +SIOCCHGPRL = 35319 +SIOCCHGTUNNEL = 35315 +SIOCDEL6RD = 35322 +SIOCDELPRL = 35318 +SIOCDELTUNNEL = 35314 +SIOCGET6RD = 35320 +SIOCGETPRL = 35316 +SIOCGETTUNNEL = 35312 +VTI_ISVTI = 1 +__NR_ioctl = 54 -- cgit mrf-deployment