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 _LINUX_ATMSVC_H 20 #define _LINUX_ATMSVC_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 #define ATMSIGD_CTRL _IO('a',ATMIOC_SPECIAL) 26 enum atmsvc_msg_type { as_catch_null, as_bind, as_connect, as_accept, as_reject, 27 as_listen, as_okay, as_error, as_indicate, as_close, 28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29 as_itf_notify, as_modify, as_identify, as_terminate, 30 as_addparty, as_dropparty }; 31 struct atmsvc_msg { 32 enum atmsvc_msg_type type; 33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34 atm_kptr_t vcc; 35 atm_kptr_t listen_vcc; 36 int reply; 37 struct sockaddr_atmpvc pvc; 38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39 struct sockaddr_atmsvc local; 40 struct atm_qos qos; 41 struct atm_sap sap; 42 unsigned int session; 43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44 struct sockaddr_atmsvc svc; 45 } __ATM_API_ALIGN; 46 #define SELECT_TOP_PCR(tp) ((tp).pcr ? (tp).pcr : (tp).max_pcr && (tp).max_pcr != ATM_MAX_PCR ? (tp).max_pcr : (tp).min_pcr ? (tp).min_pcr : ATM_MAX_PCR) 47 #endif 48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49