Dan Fandrich
|
f533ec8767
*: simplify Ethernet header includes
|
13 éve |
Denys Vlasenko
|
2c3b71a0d2
dhcp: typo fix: UPD_DHCP_SIZE -> UDP_DHCP_SIZE
|
14 éve |
Denys Vlasenko
|
0ef64bdb40
*: make GNU licensing statement forms more regular
|
14 éve |
Denys Vlasenko
|
b8b72f02f0
dhcp: truncate packets instead of padding them to 574 bytes. closes bug 1849
|
14 éve |
Denys Vlasenko
|
b7d19cc400
dhcp: readability cleanups and small code shrink
|
14 éve |
Denys Vlasenko
|
385b4562e3
udhcp: cosmetic cleanups; one case of s/full_read/xread/
|
14 éve |
Denys Vlasenko
|
7724c766bd
udhcp: pass pointer to whole packet to "add option" functions
|
14 éve |
Denys Vlasenko
|
37a658c4c8
udhcp: handle errors in read_staticlease
|
14 éve |
Denys Vlasenko
|
dde8bdcc5b
udhcp: merge options.h into common.h, script.c into dhcpc.c
|
14 éve |
Denys Vlasenko
|
c7dc79e71d
udhcpd: untangle incredibly messy handling of DHCPREQUEST
|
14 éve |
Denys Vlasenko
|
9038d6f8f5
remove trailing whitespace
|
15 éve |
Denys Vlasenko
|
7a76eba1f6
udhcp: fix trivial compile error
|
15 éve |
Denys Vlasenko
|
6947d2c7e1
udhcp: logging improvements, field and variable renames
|
15 éve |
Denys Vlasenko
|
31af3d5a1d
udhcp: shorten mac len from 16 to 6 in lease file
|
15 éve |
Denys Vlasenko
|
ac906fa85e
udhcp: change UDHCP_DEBUG into int, make verbosity selectable with -v
|
15 éve |
Denis Vlasenko
|
db12d1d733
Fix forgotten license comments
|
16 éve |
Denis Vlasenko
|
739e30fbc3
udhcp: add inline docs; small code shrink
|
16 éve |
Denis Vlasenko
|
c321b51dc6
udhcp: added some FIXMEs; code shrink. -49 bytes
|
16 éve |
Denis Vlasenko
|
f1980f67d3
dhcp: add FAST_FUNC as appropriate. -160 bytes.
|
16 éve |
Denis Vlasenko
|
6de8994440
udhcpc: regularize the names of receiving functions,
|
16 éve |
Denis Vlasenko
|
a523e2efad
udhcp: we were forgetting to set right op byte in tha packet
|
17 éve |
Denis Vlasenko
|
8e5b6f58a2
Makefile: change version to 1.10.0.svn
|
17 éve |
Denis Vlasenko
|
619879246d
udhcp: decided to not send "short" dhcp packets,
|
17 éve |
Denis Vlasenko
|
fff145dba3
udhcp: fix oversized packet sending (introduced by "slack for bad dhcp servers" options);
|
17 éve |
Denis Vlasenko
|
6884f665bd
dhcp: stop using magic constants; use (htonl(CONST) != a) - it's smaller
|
17 éve |
Denis Vlasenko
|
a27a11bb2c
introduce and use xdup2(int, int)
|
17 éve |
Denis Vlasenko
|
42b3dea9bf
udhcp: many small fixes:
|
17 éve |
Denis Vlasenko
|
fbd2918f5c
udhcp: MAC_BCAST_ADDR and blank_chaddr are in fact constant, move to rodata.
|
17 éve |
Denis Vlasenko
|
83e5d6f772
A bunch of defined(__GLIBC__) added. static-linking warning expanded
|
18 éve |
Denis Vlasenko
|
48237b0c88
introduce setsockopt_reuseaddr(int fd), setsockopt_broadcast(int fd),
|
18 éve |