Re: [Etherboot-developers] Surprising 57, Maximum DHCP Message Size
Brought to you by:
marty_connor,
stefanhajnoczi
|
From: CJ <cj...@cj...> - 2001-03-14 02:26:14
|
The 1500 byte maximum includes the 28 bytes of IP and UDP header and the UDP payload. Ken Yap wrote: > > |Etherboot version 4.7.21 surprisingly offers a > |maximum message size of 1572. I think that is > |72 bytes too large for ethernet, unless he'll > |accept multiple packets. > > It will be limited by the MTU of the transmitting interface anyway. No > DHCP server should send out a packet that large. But probably > MAX_BOOTP_EXTLEN should be defined as > ETH_FRAME_LEN-ETH_HLEN-sizeof(struct iphdr)-sizeof(struct > udphdr)-sizeof(struct bootp_t) > > I'll change it to that in .22. Thanks. > > _______________________________________________ > Etherboot-developers mailing list > Eth...@li... > http://lists.sourceforge.net/lists/listinfo/etherboot-developers |