1 /*
2  * This file is auto-generated. Modifications will be lost.
3  *
4  * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5  * for more information.
6  */
7 #ifndef _UAPILINUX_ATM_TCP_H
8 #define _UAPILINUX_ATM_TCP_H
9 #include <linux/atmapi.h>
10 #include <linux/atm.h>
11 #include <linux/atmioc.h>
12 #include <linux/types.h>
13 struct atmtcp_hdr {
14   __u16 vpi;
15   __u16 vci;
16   __u32 length;
17 };
18 #define ATMTCP_HDR_MAGIC (~0)
19 #define ATMTCP_CTRL_OPEN 1
20 #define ATMTCP_CTRL_CLOSE 2
21 struct atmtcp_control {
22   struct atmtcp_hdr hdr;
23   int type;
24   atm_kptr_t vcc;
25   struct sockaddr_atmpvc addr;
26   struct atm_qos qos;
27   int result;
28 } __ATM_API_ALIGN;
29 #define SIOCSIFATMTCP _IO('a', ATMIOC_ITF)
30 #define ATMTCP_CREATE _IO('a', ATMIOC_ITF + 14)
31 #define ATMTCP_REMOVE _IO('a', ATMIOC_ITF + 15)
32 #endif
33