[tools] fix segfault when using the maxlen argument (#4359)
[openwrt.git] / package / broadcom-57xx / src / bits.h
1 /******************************************************************************/
2 /* */
3 /* Broadcom BCM5700 Linux Network Driver, Copyright (c) 2000 - 2004 Broadcom */
4 /* Corporation. */
5 /* All rights reserved. */
6 /* */
7 /* This program is free software; you can redistribute it and/or modify */
8 /* it under the terms of the GNU General Public License as published by */
9 /* the Free Software Foundation, located in the file LICENSE. */
10 /* */
11 /* History: */
12 /* 02/25/00 Hav Khauv Initial version. */
13 /******************************************************************************/
14
15 #ifndef BITS_H
16 #define BITS_H
17
18
19
20 /******************************************************************************/
21 /* Bit Mask definitions */
22 /******************************************************************************/
23
24 #define BIT_NONE 0x00
25 #define BIT_0 0x01
26 #define BIT_1 0x02
27 #define BIT_2 0x04
28 #define BIT_3 0x08
29 #define BIT_4 0x10
30 #define BIT_5 0x20
31 #define BIT_6 0x40
32 #define BIT_7 0x80
33 #define BIT_8 0x0100
34 #define BIT_9 0x0200
35 #define BIT_10 0x0400
36 #define BIT_11 0x0800
37 #define BIT_12 0x1000
38 #define BIT_13 0x2000
39 #define BIT_14 0x4000
40 #define BIT_15 0x8000
41 #define BIT_16 0x010000
42 #define BIT_17 0x020000
43 #define BIT_18 0x040000
44 #define BIT_19 0x080000
45 #define BIT_20 0x100000
46 #define BIT_21 0x200000
47 #define BIT_22 0x400000
48 #define BIT_23 0x800000
49 #define BIT_24 0x01000000
50 #define BIT_25 0x02000000
51 #define BIT_26 0x04000000
52 #define BIT_27 0x08000000
53 #define BIT_28 0x10000000
54 #define BIT_29 0x20000000
55 #define BIT_30 0x40000000
56 #define BIT_31 0x80000000
57
58
59
60 #endif /* BITS_H */
61
This page took 0.047555 seconds and 5 git commands to generate.