Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ipoctal.h
Go to the documentation of this file.
1 
14 #ifndef _IPOCTAL_H
15 #define _IPOCTAL_H_
16 
17 #define NR_CHANNELS 8
18 #define IPOCTAL_MAX_BOARDS 16
19 #define MAX_DEVICES (NR_CHANNELS * IPOCTAL_MAX_BOARDS)
20 #define RELEVANT_IFLAG(iflag) ((iflag) & (IGNBRK|BRKINT|IGNPAR|PARMRK|INPCK))
21 
32 struct ipoctal_stats {
33  unsigned long tx;
34  unsigned long rx;
35  unsigned long overrun_err;
36  unsigned long parity_err;
37  unsigned long framing_err;
38  unsigned long rcv_break;
39 };
40 
41 #endif /* _IPOCTAL_H_ */