Block

Block

概要

実装

  136: struct Block
  137: {
  138:         Block* next;
  139:         Block* list;
  140:         uchar* rp;                     /* first unconsumed byte */
  141:         uchar* wp;                     /* first empty byte */
  142:         uchar* lim;                    /* 1 past the end of the buffer */
  143:         uchar* base;                   /* start of the buffer */
  144:         void   (*free)(Block*);
  145:         ushort flag;
  146:         ushort checksum;               /* IP checksum of complete packet (minus media header) */
  147: };