+2002-05-08 Yoshinori K. Okuji <okuji@enbug.org>
+
+ * netboot/etherboot.h (ETH_MAX_MTU): Because some DHCP/BOOTP
+ servers don't treat the maximum length the same as Etherboot,
+ subtract the size of an IP header and that of an UDP header.
+
2002-04-30 Yoshinori K. Okuji <okuji@enbug.org>
From Jean-Jacques Michel <jjmichel@linbox.com>:
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.23.
-.TH GRUB-INSTALL "8" "April 2002" "grub-install (GNU GRUB 0.92)" FSF
+.TH GRUB-INSTALL "8" "May 2002" "grub-install (GNU GRUB 0.92)" FSF
.SH NAME
grub-install \- install GRUB on your drive
.SH SYNOPSIS
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.23.
-.TH GRUB-MD5-CRYPT "8" "April 2002" "grub-md5-crypt (GNU GRUB )" FSF
+.TH GRUB-MD5-CRYPT "8" "May 2002" "grub-md5-crypt (GNU GRUB )" FSF
.SH NAME
grub-md5-crypt \- Encrypt a password in MD5 format
.SH SYNOPSIS
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.23.
-.TH GRUB "8" "April 2002" "grub (GNU GRUB 0.92)" FSF
+.TH GRUB "8" "May 2002" "grub (GNU GRUB 0.92)" FSF
.SH NAME
grub \- the grub shell
.SH SYNOPSIS
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.23.
-.TH MBCHK "1" "April 2002" "mbchk (GNU GRUB 0.92)" FSF
+.TH MBCHK "1" "May 2002" "mbchk (GNU GRUB 0.92)" FSF
.SH NAME
mbchk \- check the format of a Multiboot kernel
.SH SYNOPSIS
/*#define ETH_MIN_PACKET 64*/
#define ETH_FRAME_LEN 1514 /* Maximum packet */
/*#define ETH_MAX_PACKET 1518*/
-#define ETH_MAX_MTU (ETH_FRAME_LEN - ETH_HLEN)
+/* Because some DHCP/BOOTP servers don't treat the maximum length the same
+ as Etherboot, subtract the size of an IP header and that of an UDP
+ header. */
+#define ETH_MAX_MTU (ETH_FRAME_LEN - ETH_HLEN \
+ - sizeof (struct iphdr) \
+ - sizeof (struct udphdr))
#define ARP_CLIENT 0
#define ARP_SERVER 1