support ip fragmentation

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-07-09 00:27:27 +02:00
parent e2955971a3
commit fecdbd6b17
9 changed files with 374 additions and 98 deletions

View file

@ -8,14 +8,14 @@
struct grub_net_buff
{
/*Pointer to the start of the buffer*/
char *head;
/*Pointer to the data */
char *data;
/*Pointer to the tail */
char *tail;
/*Pointer to the end of the buffer*/
char *end;
/* Pointer to the start of the buffer. */
grub_uint8_t *head;
/* Pointer to the data. */
grub_uint8_t *data;
/* Pointer to the tail. */
grub_uint8_t *tail;
/* Pointer to the end of the buffer. */
grub_uint8_t *end;
};
grub_err_t grub_netbuff_put (struct grub_net_buff *net_buff ,grub_size_t len);