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.
This commit is contained in:
parent
20ac296c28
commit
522de743e8
6 changed files with 16 additions and 5 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
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>
|
2002-04-30 Yoshinori K. Okuji <okuji@enbug.org>
|
||||||
|
|
||||||
From Jean-Jacques Michel <jjmichel@linbox.com>:
|
From Jean-Jacques Michel <jjmichel@linbox.com>:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.23.
|
.\" 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
|
.SH NAME
|
||||||
grub-install \- install GRUB on your drive
|
grub-install \- install GRUB on your drive
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.23.
|
.\" 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
|
.SH NAME
|
||||||
grub-md5-crypt \- Encrypt a password in MD5 format
|
grub-md5-crypt \- Encrypt a password in MD5 format
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.23.
|
.\" 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
|
.SH NAME
|
||||||
grub \- the grub shell
|
grub \- the grub shell
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.23.
|
.\" 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
|
.SH NAME
|
||||||
mbchk \- check the format of a Multiboot kernel
|
mbchk \- check the format of a Multiboot kernel
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
|
|
@ -98,7 +98,12 @@ Author: Martin Renters
|
||||||
/*#define ETH_MIN_PACKET 64*/
|
/*#define ETH_MIN_PACKET 64*/
|
||||||
#define ETH_FRAME_LEN 1514 /* Maximum packet */
|
#define ETH_FRAME_LEN 1514 /* Maximum packet */
|
||||||
/*#define ETH_MAX_PACKET 1518*/
|
/*#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_CLIENT 0
|
||||||
#define ARP_SERVER 1
|
#define ARP_SERVER 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue