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 **************************************************************************** 11 ****************************************************************************/ 12#ifndef __HDLC_IOCTL_H__ 13#define __HDLC_IOCTL_H__ 14 15typedef struct { 16 unsigned int clock_rate; 17 unsigned int clock_type; 18 unsigned short loopback; 19} sync_serial_settings; 20 21typedef struct { 22 unsigned int clock_rate; 23 unsigned int clock_type; 24 unsigned short loopback; 25 unsigned int slot_map; 26} te1_settings; 27 28typedef struct { 29 unsigned short encoding; 30 unsigned short parity; 31} raw_hdlc_proto; 32 33typedef struct { 34 unsigned int t391; 35 unsigned int t392; 36 unsigned int n391; 37 unsigned int n392; 38 unsigned int n393; 39 unsigned short lmi; 40 unsigned short dce; 41} fr_proto; 42 43typedef struct { 44 unsigned int dlci; 45} fr_proto_pvc; 46 47typedef struct { 48 unsigned int dlci; 49 char master[IFNAMSIZ]; 50}fr_proto_pvc_info; 51 52typedef struct { 53 unsigned int interval; 54 unsigned int timeout; 55} cisco_proto; 56 57#endif 58