search for: bootp_packet

Displaying 6 results from an estimated 6 matches for "bootp_packet".

2012 May 22
0
[klibc:master] ipconfig: Append padding if DHCP packet length < 300 octets
...nt in ISC DHCP 4.1.1-P1 also does so. Some bad DHCP servers ignore short DHCP packet which dhclient doesn't send. Signed-off-by: KUMAAN <9maaan at gmail.com> Acked-by: H. Peter Anvin <hpa at zytor.com> Signed-off-by: maximilian attems <max at stro.at> --- usr/kinit/ipconfig/bootp_packet.h | 3 +++ usr/kinit/ipconfig/dhcp_proto.c | 18 +++++++++++++++++- 2 files changed, 20 insertions(+), 1 deletions(-) diff --git a/usr/kinit/ipconfig/bootp_packet.h b/usr/kinit/ipconfig/bootp_packet.h index 1ef505e..1d5bd0d 100644 --- a/usr/kinit/ipconfig/bootp_packet.h +++ b/usr/kinit/ipco...
2010 Apr 25
2
[git pull] small fixes, sh4, getruage() README's
...bian.org/users/maks/klibc.git maks Aurelien Jarno (1): [klibc] sh4: syscalls fixes Benjamin Cama (1): [klibc] fstype: btrfs size endianness fix Thorsten Glaser (1): [klibc] add getrusage() maximilian attems (3): [klibc] resume: silence warning on resume try [klibc] bootp_packet.h minor stylistic fix [klibc] fstype: list the includes in alphabetic order git diff -M --stat --summary master...maks usr/include/sys/resource.h | 2 ++ usr/kinit/fstype/fstype.c | 18 +++++++++--------- usr/kinit/ipconfig/bootp_packet.h | 2 +- usr/kinit/resume/re...
2012 May 22
0
[klibc:master] ipconfig: Write $DOMAINSEARCH as domain-search
...with ' '. For example, $DOMAINSEARCH is either 'foo1.bar. foo2.bar.', 'foo.', or ''. Signed-off-by: KUMAAN <9maaan at gmail.com> Acked-by: H. Peter Anvin <hpa at zytor.com> Signed-off-by: maximilian attems <max at stro.at> --- usr/kinit/ipconfig/bootp_packet.h | 10 ++ usr/kinit/ipconfig/bootp_proto.c | 240 ++++++++++++++++++++++++++++++++++++- usr/kinit/ipconfig/dhcp_proto.c | 3 +- usr/kinit/ipconfig/main.c | 2 + usr/kinit/ipconfig/netdev.h | 1 + 5 files changed, 253 insertions(+), 3 deletions(-) diff --git a/usr/kini...
2010 Jul 07
0
[git pull v2] x86_32, sh4, getrusage()
...libc] CFLAGS: enable -fwrapv [klibc] Add ancillary data structures and macros to sys/socket.h Sam Ravnborg (1): [klibc] fix build on native i386 Thorsten Glaser (1): [klibc] add getrusage() maximilian attems (6): [klibc] resume: silence warning on resume try [klibc] bootp_packet.h minor stylistic fix [klibc] fstype: list the includes in alphabetic order [klibc] ipconfig: packet_send() fix uninitialized valgrind errors [klibc] valgrind: netdev_sif_addr fix unitialized valgrind error [klibc] x86_64: MMCONFIG cleanup vestige from pre x86 merge git di...
2003 Apr 29
0
[PATCH] Fix busy-looping behaviour in ipconfig
...14 @@ * ipconfig/main.c */ #include <poll.h> +#include <limits.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <time.h> #include <arpa/inet.h> +#include "ipconfig.h" #include "netdev.h" #include "bootp_packet.h" #include "bootp_proto.h" @@ -15,6 +17,7 @@ #include "packet.h" static const char *progname; +static char do_not_config; struct state { int state; @@ -57,6 +60,9 @@ static void configure_device(struct netdev *dev) { + if (do_not_config) + return; + if (...
2006 Jun 28
35
[klibc 00/31] klibc as a historyless patchset (updated and reorganized)
I have updated the klibc patchset based on feedback received. In particular, the patchset has been reorganized so as not to break git-bisect. Additionally, this updates the patch base to 2.6.17-git12 (d38b69689c349f35502b92e20dafb30c62d49d63) and klibc 1.4.8; the main difference on the klibc side is removal of obsolete code. This is also available as a git tree at: