home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 200-299 / ff225.lzh / AmigaTCP / src / mbuf.h < prev    next >
C/C++ Source or Header  |  1989-06-24  |  443b  |  13 lines

  1. /* Basic message buffer structure */
  2. struct mbuf {
  3.     struct mbuf *next;    /* Links mbufs belonging to single packets */
  4.     struct mbuf *anext;    /* Links packets on queues */
  5.     char *data;        /* Active working pointers */
  6.     int16 cnt;
  7. };
  8. #define    NULLBUF    (struct mbuf *)NULL
  9. void enqueue(),hexdump(),asciidump();
  10. struct mbuf *alloc_mbuf(),*free_mbuf(),*dequeue(),*copy_p(),*free_p(),*qdata();
  11. int16 pullup(),append(),dup_p(),len_mbuf(),dqdata(),len_q();
  12.  
  13.