Home | History | Annotate | Download | only in linux
      1 /****************************************************************************
      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 #include <linux/atmioc.h>
     24 #include <linux/types.h>
     25 struct atmtcp_hdr {
     26   __u16 vpi;
     27   __u16 vci;
     28   __u32 length;
     29 };
     30 #define ATMTCP_HDR_MAGIC (~0)
     31 #define ATMTCP_CTRL_OPEN 1
     32 #define ATMTCP_CTRL_CLOSE 2
     33 struct atmtcp_control {
     34   struct atmtcp_hdr hdr;
     35   int type;
     36   atm_kptr_t vcc;
     37   struct sockaddr_atmpvc addr;
     38   struct atm_qos qos;
     39   int result;
     40 } __ATM_API_ALIGN;
     41 #define SIOCSIFATMTCP _IO('a', ATMIOC_ITF)
     42 #define ATMTCP_CREATE _IO('a', ATMIOC_ITF + 14)
     43 #define ATMTCP_REMOVE _IO('a', ATMIOC_ITF + 15)
     44 #endif
     45