[SLOF] [PATCH v2 0/7] Netboot / DHCP improvements
Alexey Kardashevskiy
aik at ozlabs.ru
Wed Dec 23 13:11:24 AEDT 2015
On 12/22/2015 09:08 PM, Thomas Huth wrote:
> This patch series enhances the netboot and DHCP code in net-snk.
> The first patch improves the printed text a little bit.
> The next patches introduce transaction ID handling in the DHCPv4
> and DHCPv6 code. For this, I had to fix the rand() function in
> SLOF's libc first and implement srand() to be able to seed it.
> And the last patch fixes a problem with sent DHCPv6 packets - they
> contained trailing garbage bytes.
>
> v2:
> - Reworked the texts in the first patch so that IPv4 and IPv6
> printing is more similar now
> - Fixed whitespace issue in the last patch
>
> Thomas Huth (7):
> net-snk: Improve printed text when booting via network
> libc: Fix the rand() function to return non-zero values
> libc: Add srand() call
> net-snk: Seed the pseudo-random number generator
> net-snk: Make use of DHCPv6 transaction IDs
> net-snk: Use transaction IDs in DHCPv4, too
> net-snk: Get rid of junk at the end of sent DHCPv6 packets
>
> clients/net-snk/app/netapps/netboot.c | 41 +++++++++++++++++++++++++----------
> clients/net-snk/app/netlib/bootp.c | 5 +++--
> clients/net-snk/app/netlib/dhcp.c | 17 +++++++++++++--
> clients/net-snk/app/netlib/dhcp.h | 1 +
> clients/net-snk/app/netlib/dhcpv6.c | 25 ++++++++++-----------
> clients/net-snk/app/netlib/dhcpv6.h | 5 ++++-
> lib/libc/include/stdlib.h | 1 +
> lib/libc/stdlib/rand.c | 9 ++++++--
> 8 files changed, 73 insertions(+), 31 deletions(-)
>
Thanks, applied.
--
Alexey
More information about the SLOF
mailing list