blob: 6665675ad68ba2e3635abece396e294a328cadfa [file] [log] [blame]
Nick Kralevicha67e4de2013-01-14 11:28:26 -08001/****************************************************************************
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 ****************************************************************************/
Ben Cheng655a7c02013-10-16 16:09:24 -070019#ifndef _UAPILINUX_ATM_TCP_H
20#define _UAPILINUX_ATM_TCP_H
21#include <linux/atmapi.h>
22#include <linux/atm.h>
Nick Kralevicha67e4de2013-01-14 11:28:26 -080023/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -070024#include <linux/atmioc.h>
25#include <linux/types.h>
26struct atmtcp_hdr {
Tao Baod7db5942015-01-28 10:07:51 -080027 __u16 vpi;
Nick Kralevicha67e4de2013-01-14 11:28:26 -080028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080029 __u16 vci;
30 __u32 length;
Ben Cheng655a7c02013-10-16 16:09:24 -070031};
32#define ATMTCP_HDR_MAGIC (~0)
Nick Kralevicha67e4de2013-01-14 11:28:26 -080033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -070034#define ATMTCP_CTRL_OPEN 1
35#define ATMTCP_CTRL_CLOSE 2
36struct atmtcp_control {
Tao Baod7db5942015-01-28 10:07:51 -080037 struct atmtcp_hdr hdr;
Nick Kralevicha67e4de2013-01-14 11:28:26 -080038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080039 int type;
40 atm_kptr_t vcc;
41 struct sockaddr_atmpvc addr;
42 struct atm_qos qos;
Nick Kralevicha67e4de2013-01-14 11:28:26 -080043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080044 int result;
Ben Cheng655a7c02013-10-16 16:09:24 -070045} __ATM_API_ALIGN;
Tao Baod7db5942015-01-28 10:07:51 -080046#define SIOCSIFATMTCP _IO('a', ATMIOC_ITF)
47#define ATMTCP_CREATE _IO('a', ATMIOC_ITF + 14)
Nick Kralevicha67e4de2013-01-14 11:28:26 -080048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080049#define ATMTCP_REMOVE _IO('a', ATMIOC_ITF + 15)
Nick Kralevicha67e4de2013-01-14 11:28:26 -080050#endif