support ip fragmentation

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

No files matched your search

+2
View File
@@ -110,6 +110,8 @@ grub_net_send_udp_packet (const grub_net_udp_socket_t socket,
struct udphdr *udph;
grub_err_t err;
COMPILE_TIME_ASSERT (GRUB_NET_UDP_HEADER_SIZE == sizeof (*udph));
err = grub_netbuff_push (nb, sizeof (*udph));
if (err)
return err;