blob: cfed0c86c73877f8ac085f040b40c0a2ad5e5254 [file] [log] [blame]
Ben Cheng655a7c02013-10-16 16:09:24 -07001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef _IP6_TUNNEL_H
20#define _IP6_TUNNEL_H
21#include <linux/types.h>
22#define IPV6_TLV_TNL_ENCAP_LIMIT 4
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24#define IPV6_DEFAULT_TNL_ENCAP_LIMIT 4
25#define IP6_TNL_F_IGN_ENCAP_LIMIT 0x1
26#define IP6_TNL_F_USE_ORIG_TCLASS 0x2
27#define IP6_TNL_F_USE_ORIG_FLOWLABEL 0x4
28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29#define IP6_TNL_F_MIP6_DEV 0x8
30#define IP6_TNL_F_RCV_DSCP_COPY 0x10
31#define IP6_TNL_F_USE_ORIG_FWMARK 0x20
32struct ip6_tnl_parm {
33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080034 char name[IFNAMSIZ];
35 int link;
36 __u8 proto;
37 __u8 encap_limit;
Ben Cheng655a7c02013-10-16 16:09:24 -070038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080039 __u8 hop_limit;
40 __be32 flowinfo;
41 __u32 flags;
42 struct in6_addr laddr;
Ben Cheng655a7c02013-10-16 16:09:24 -070043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080044 struct in6_addr raddr;
Ben Cheng655a7c02013-10-16 16:09:24 -070045};
46struct ip6_tnl_parm2 {
Tao Baod7db5942015-01-28 10:07:51 -080047 char name[IFNAMSIZ];
Ben Cheng655a7c02013-10-16 16:09:24 -070048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080049 int link;
50 __u8 proto;
51 __u8 encap_limit;
52 __u8 hop_limit;
Ben Cheng655a7c02013-10-16 16:09:24 -070053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080054 __be32 flowinfo;
55 __u32 flags;
56 struct in6_addr laddr;
57 struct in6_addr raddr;
Ben Cheng655a7c02013-10-16 16:09:24 -070058/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080059 __be16 i_flags;
60 __be16 o_flags;
61 __be32 i_key;
62 __be32 o_key;
Ben Cheng655a7c02013-10-16 16:09:24 -070063/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64};
65#endif