search for: dhcp_end

Displaying 7 results from an estimated 7 matches for "dhcp_end".

2009 Apr 07
2
[PATCH] ipconfig: send hostname in DHCP request
...nfig/netdev.h | 1 + 3 files changed, 43 insertions(+), 11 deletions(-) diff --git a/usr/kinit/ipconfig/dhcp_proto.c b/usr/kinit/ipconfig/dhcp_proto.c index d4f2c09..775a5ca 100644 --- a/usr/kinit/ipconfig/dhcp_proto.c +++ b/usr/kinit/ipconfig/dhcp_proto.c @@ -49,24 +49,26 @@ static uint8_t dhcp_end[] = { /* Both iovecs below have to have the same structure, since dhcp_send() pokes at the internals */ -#define DHCP_IOV_LEN 6 +#define DHCP_IOV_LEN 7 -static struct iovec dhcp_discover_iov[] = { +static struct iovec dhcp_discover_iov[DHCP_IOV_LEN] = { /* [0] = ip + udp header */ /* [...
2012 May 22
0
[klibc:master] ipconfig: Append padding if DHCP packet length < 300 octets
...CP 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 have the same structure, since dhcp_send() pokes at the internals */ -#define DHCP_IOV_LEN 7 +#define DHCP_IOV_LEN 8 static struct iovec dhcp_discover_iov[DHCP_IOV_LEN] = { /* [0] = ip + udp header */ @@ -60,6 +60,7 @@ static struct iovec dhcp_discover...
2011 Jul 18
2
ipconfig:About the length of 'options' field of DHCP packet
...independent of a failure. + */ + dev->bootp.fail_count = ~0; + return 0; } diff --git a/usr/kinit/ipconfig/dhcp_proto.c b/usr/kinit/ipconfig/dhcp_proto.c index afd2eca..91dd695 100644 --- a/usr/kinit/ipconfig/dhcp_proto.c +++ b/usr/kinit/ipconfig/dhcp_proto.c @@ -49,7 +49,7 @@ static uint8_t dhcp_end[] = { /* Both iovecs below have to have the same structure, since dhcp_send() pokes at the internals */ -#define DHCP_IOV_LEN 7 +#define DHCP_IOV_LEN 8 static struct iovec dhcp_discover_iov[DHCP_IOV_LEN] = { /* [0] = ip + udp header */ @@ -59,6 +59,7 @@ static struct iovec dhcp_discover...
2010 Mar 16
4
ipconfig: DHCP fixes
Hi, Here are two fixes for ipconfig/dhcp, the second of them being required for my dhcp3 server to accept ipconfig's requests. Thanks, Louis Louis Rilling (2): ipconfig: Fix missing dhcp_end field ipconfig: Fix null ciaddr on DHCPREQUEST during SELECTING state usr/kinit/ipconfig/dhcp_proto.c | 4 ++-- usr/kinit/ipconfig/packet.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) -- Dr Louis Rilling Kerlabs Skype: louis.rilling Batiment Germanium Phone: (+3...
2010 Mar 16
0
[git pull v3] i386, sparc buildfix + ipconfig fixes
...g up too. :) Louis Rilling debugged the ipconfig failure that I was wondering about lately and fixed it. so his fixes got added to previous pull request v2: please pull git pull git://git.debian.org/users/maks/klibc.git maks for the changes: Louis Rilling (2): [klibc] ipconfig: Fix missing dhcp_end field [klibc] ipconfig: Fix null ciaddr on DHCPREQUEST during SELECTING state maximilian attems (4): [klibc] Use x86_32 cleaned up signal.h [klibc] sparc use cleaned up, merged <linux/signal.h> [klibc] sparc, sparc64 use sys_socketcall unconditionally [klibc] ad...
2010 Mar 20
0
klibc-1.5.17 released
...ve pushed out klibc-1.5.17, mostly based on Max' patchqueue: H. Peter Anvin (3): [klibc] 1.5.16 released, next version is 1.5.17 [klibc] socketcalls: add parens around defined() [klibc] losetup: fix pointer type warnings Louis Rilling (2): [klibc] ipconfig: Fix missing dhcp_end field [klibc] ipconfig: Fix null ciaddr on DHCPREQUEST during SELECTING state maximilian attems (5): [klibc] Use x86_32 cleaned up signal.h [klibc] sparc use cleaned up, merged <linux/signal.h> [klibc] sparc, sparc64 use sys_socketcall unconditionally [klibc] ad...
2006 Jun 22
2
[patch] ipconfig add dhcp file preseeding support
...amp; exts[2] == 83 && exts[3] == 99) { diff --git a/usr/kinit/ipconfig/dhcp_proto.c b/usr/kinit/ipconfig/dhcp_proto.c index 9a30660..e86bbb2 100644 --- a/usr/kinit/ipconfig/dhcp_proto.c +++ b/usr/kinit/ipconfig/dhcp_proto.c @@ -46,6 +46,7 @@ #define REQ_IP_OFF 15 }; static uint8_t dhcp_end[] = { + 60, 3, 100, 45, 105, /* Vendor class "d-i" */ 255, }; diff --git a/usr/kinit/ipconfig/main.c b/usr/kinit/ipconfig/main.c index c9d3b0e..a54329f 100644 --- a/usr/kinit/ipconfig/main.c +++ b/usr/kinit/ipconfig/main.c @@ -71,6 +71,7 @@ static void print_device_config(struct n...