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_SONET_H
     20 #define _UAPILINUX_SONET_H
     21 #define __SONET_ITEMS   __HANDLE_ITEM(section_bip);     __HANDLE_ITEM(line_bip);     __HANDLE_ITEM(path_bip);     __HANDLE_ITEM(line_febe);     __HANDLE_ITEM(path_febe);     __HANDLE_ITEM(corr_hcs);     __HANDLE_ITEM(uncorr_hcs);     __HANDLE_ITEM(tx_cells);     __HANDLE_ITEM(rx_cells);
     22 struct sonet_stats {
     23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     24 #define __HANDLE_ITEM(i) int i
     25  __SONET_ITEMS
     26 #undef __HANDLE_ITEM
     27 } __attribute__ ((packed));
     28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     29 #define SONET_GETSTAT _IOR('a',ATMIOC_PHYTYP,struct sonet_stats)
     30 #define SONET_GETSTATZ _IOR('a',ATMIOC_PHYTYP+1,struct sonet_stats)
     31 #define SONET_SETDIAG _IOWR('a',ATMIOC_PHYTYP+2,int)
     32 #define SONET_CLRDIAG _IOWR('a',ATMIOC_PHYTYP+3,int)
     33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     34 #define SONET_GETDIAG _IOR('a',ATMIOC_PHYTYP+4,int)
     35 #define SONET_SETFRAMING _IOW('a',ATMIOC_PHYTYP+5,int)
     36 #define SONET_GETFRAMING _IOR('a',ATMIOC_PHYTYP+6,int)
     37 #define SONET_GETFRSENSE _IOR('a',ATMIOC_PHYTYP+7,   unsigned char[SONET_FRSENSE_SIZE])
     38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     39 #define SONET_INS_SBIP 1
     40 #define SONET_INS_LBIP 2
     41 #define SONET_INS_PBIP 4
     42 #define SONET_INS_FRAME 8
     43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     44 #define SONET_INS_LOS 16
     45 #define SONET_INS_LAIS 32
     46 #define SONET_INS_PAIS 64
     47 #define SONET_INS_HCS 128
     48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     49 #define SONET_FRAME_SONET 0
     50 #define SONET_FRAME_SDH 1
     51 #define SONET_FRSENSE_SIZE 6
     52 #endif
     53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     54