/* * $Id: buffer.h,v 2.2 2000/05/23 08:06:49 masaki Exp $ */ #ifndef _BUFFER_H #define _BUFFER_H #define DEFAULT_MAXBUFFERSIZE 1024 typdef struct _Buffer_Struct { int maxsize; u_char *buffer; u_char *read_ptr; /* current ptr of read in buffer */ u_char *start_ptr; /* current ptr of start of packet */ int room_in_buffer; /* bytes left in buffer */ } Buffer_Struct; #endif /* _BUFFER_H */ .