Main Page | Data Structures | Directories | File List | Data Fields | Globals

compat.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define NBBY   8
#define roundup(x, y)   ((((x)+((y)-1))/(y))*(y))
#define howmany(x, y)   (((x)+((y)-1))/(y))
#define setbit(a, i)   ((a)[(i)/NBBY] |= 1<<((i)%NBBY))
#define clrbit(a, i)   ((a)[(i)/NBBY] &= ~(1<<((i)%NBBY)))
#define isset(a, i)   ((a)[(i)/NBBY] & (1<<((i)%NBBY)))
#define isclr(a, i)   (((a)[(i)/NBBY] & (1<<((i)%NBBY))) == 0)
#define __packed   __attribute__((__packed__))
#define __printflike(_a, _b)   __attribute__ ((__format__ (__printf__, _a, _b)))
#define ALIGNED_POINTER(p, t)   1
#define KASSERT(_condition, _x)


Define Documentation

#define __packed   __attribute__((__packed__))
 

Definition at line 55 of file compat.h.

#define __printflike _a,
_b  )    __attribute__ ((__format__ (__printf__, _a, _b)))
 

Definition at line 56 of file compat.h.

#define ALIGNED_POINTER p,
 )    1
 

Definition at line 67 of file compat.h.

#define clrbit a,
 )    ((a)[(i)/NBBY] &= ~(1<<((i)%NBBY)))
 

Definition at line 51 of file compat.h.

#define howmany x,
 )    (((x)+((y)-1))/(y))
 

Definition at line 47 of file compat.h.

#define isclr a,
 )    (((a)[(i)/NBBY] & (1<<((i)%NBBY))) == 0)
 

Definition at line 53 of file compat.h.

#define isset a,
 )    ((a)[(i)/NBBY] & (1<<((i)%NBBY)))
 

Definition at line 52 of file compat.h.

#define KASSERT _condition,
_x  ) 
 

Definition at line 70 of file compat.h.

#define NBBY   8
 

Definition at line 44 of file compat.h.

#define roundup x,
 )    ((((x)+((y)-1))/(y))*(y))
 

Definition at line 46 of file compat.h.

#define setbit a,
 )    ((a)[(i)/NBBY] |= 1<<((i)%NBBY))
 

Definition at line 50 of file compat.h.


Generated on Mon Nov 21 16:02:40 2005 for openwifi by  doxygen 1.4.1