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