blob: c6500c9adcbae9017dbb2127def8e9992460d810 [file] [log] [blame]
Dan Albert287553d2017-02-16 10:47:51 -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 ****************************************************************************/
19#ifndef _UAPILINUX_ATM_TCP_H
20#define _UAPILINUX_ATM_TCP_H
21#include <linux/atmapi.h>
22#include <linux/atm.h>
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24#include <linux/atmioc.h>
25#include <linux/types.h>
26struct atmtcp_hdr {
27 __u16 vpi;
28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29 __u16 vci;
30 __u32 length;
31};
32#define ATMTCP_HDR_MAGIC (~0)
33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34#define ATMTCP_CTRL_OPEN 1
35#define ATMTCP_CTRL_CLOSE 2
36struct atmtcp_control {
37 struct atmtcp_hdr hdr;
38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39 int type;
40 atm_kptr_t vcc;
41 struct sockaddr_atmpvc addr;
42 struct atm_qos qos;
43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44 int result;
45} __ATM_API_ALIGN;
46#define SIOCSIFATMTCP _IO('a',ATMIOC_ITF)
47#define ATMTCP_CREATE _IO('a',ATMIOC_ITF+14)
48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49#define ATMTCP_REMOVE _IO('a',ATMIOC_ITF+15)
50#endif