search for: bootp_min_len

Displaying 3 results from an estimated 3 matches for "bootp_min_len".

2012 May 22
0
[klibc:master] ipconfig: Append padding if DHCP packet length < 300 octets
...index 1ef505e..1d5bd0d 100644 --- a/usr/kinit/ipconfig/bootp_packet.h +++ b/usr/kinit/ipconfig/bootp_packet.h @@ -38,4 +38,7 @@ struct bootp_hdr { /* larger size for backward compatibility of ipconfig */ #define BOOTP_EXTS_SIZE 1500 +/* minimum length of BOOTP/DHCP packet on sending */ +#define BOOTP_MIN_LEN 300 + #endif /* BOOTP_PACKET_H */ diff --git a/usr/kinit/ipconfig/dhcp_proto.c b/usr/kinit/ipconfig/dhcp_proto.c index 0c907e9..ebf79cc 100644 --- a/usr/kinit/ipconfig/dhcp_proto.c +++ b/usr/kinit/ipconfig/dhcp_proto.c @@ -50,7 +50,7 @@ static uint8_t dhcp_end[] = { /* Both iovecs below have to...
2011 Jul 18
2
ipconfig:About the length of 'options' field of DHCP packet
Hi, I had the problem that 'ipconfig' as DHCP client in Debian-squeeze could not get DHCP Offer reply from the built-in DHCP server of the cheap route that I have. The name of the router is 'MegaBitGear TE4571E' which I got at contract of ADSL Internet access service in 2009. The router is not too old and can reply to other DHCP clients like ISC-dhclient, WindowsXP and Vista.
2007 Apr 10
1
[PATCH] Add support for DHCP-Options
hi, I've written a start of an c32-module to do basic substition: add subst.c32 this is a start of a generic substition module --- commit 9a1f41a7e6599fe6a162197cd9ddc6610185e780 tree cfb799a0be9844926afe44e21b2eb96630666c44 parent 89478bdbfa7167bc1b627a478d042c99e46f06b7 author Maurice Massar <massar at unix-ag.uni-kl.de> Tue, 10 Apr 2007 20:13:39 +0200 committer Maurice Massar