Searched refs:nb_top (Results 1 - 3 of 3) sorted by relevance

/osnet-11/usr/src/grub/grub2/grub-core/net/
H A Dtftp.c257 struct grub_net_buff *nb_top; local
263 nb_top = (*tftpcmp_pp)->nb;
264 tftph = (struct tftphdr *) nb_top->data;
288 err = grub_netbuff_pull (nb_top, sizeof (tftph->opcode) +
292 size = nb_top->tail - nb_top->data;
310 err = grub_netbuff_unput (nb_top, size - data->block_size);
315 if ((nb_top->tail - nb_top->data) > 0)
316 grub_net_put_packet (&file->device->net->packs, nb_top);
[all...]
H A Dtcp.c865 struct grub_net_buff **nb_top_p, *nb_top; local
873 nb_top = *nb_top_p;
874 tcph = (struct tcphdr *) nb_top->data;
877 grub_netbuff_free (nb_top);
887 nb_top = *nb_top_p;
888 tcph = (struct tcphdr *) nb_top->data;
894 err = grub_netbuff_pull (nb_top, (grub_be_to_cpu16 (tcph->flags)
898 grub_netbuff_free (nb_top);
902 sock->their_cur_seq += (nb_top->tail - nb_top
[all...]
H A Dip.c500 struct grub_net_buff **nb_top_p, *nb_top; local
515 nb_top = *nb_top_p;
517 iph = (struct iphdr *) nb_top->data;
518 err = grub_netbuff_pull (nb_top, ((iph->verhdrlen & 0xf)
522 grub_netbuff_free (nb_top);
530 + (nb_top->tail - nb_top->head));
534 grub_netbuff_free (nb_top);
537 copy = nb_top->tail - nb_top
[all...]

Completed in 25 milliseconds