The Netsukuku Project  0.0.9
An Alternative routing method
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
buffer.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define setzero(_p, _sz)   memset((_p), 0, (_sz))
 
#define memput(__dst, __src, __sz)
 
#define memget(__dst, __src, __sz)
 
#define bufput(_src, _sz)   (memput(buf, (_src), (_sz)))
 
#define bufget(_dst, _sz)   (memget((_dst), buf, (_sz)))
 

Functions

int is_bufzero (const void *a, int sz)
 

Macro Definition Documentation

#define bufget (   _dst,
  _sz 
)    (memget((_dst), buf, (_sz)))
#define bufput (   _src,
  _sz 
)    (memput(buf, (_src), (_sz)))
#define memget (   __dst,
  __src,
  __sz 
)
Value:
({ \
void *_bufret=memcpy((__dst), (__src), (__sz)); \
(__src)+=(__sz); \
_bufret; \
})
#define memput (   __dst,
  __src,
  __sz 
)
Value:
({ \
void *_bufret=memcpy((__dst), (__src), (__sz)); \
(__dst)+=(__sz); \
_bufret; \
})
#define setzero (   _p,
  _sz 
)    memset((_p), 0, (_sz))

Function Documentation

int is_bufzero ( const void *  a,
int  sz 
)

Here is the caller graph for this function: