This patch series is part of an effort to bring Infiniband network booting to OpenPower firmware. It adds support in udhcpc for longer hardware addresses, non-MAC hardware types, and sending DHCP requests on Infiniband interfaces.
This series does not support PKEYs/subnets due to the additional complexity of gathering and storing the necessary broadcast address. It also does not automatically add the industry-standard client identifier; this should be added as an option when executing udhcpc. This series has not been fully tested yet; only the v4 DHCP client has been lightly tested to verify new functionality. Due to the hardware available at the time of writing and testing, this series is intended to be applied to the 1_29_stable branch. Forward porting is likely straightforward but has not been attempted. Daniel M. Weeks (7): udhcpc: Add IB broadcast addr udhcpc: Generic hardware address support udhcpc: Use getifaddrs for udhcp_read_interface udhcpc: Store hardware address length and type udhcpc: Support sending DHCP requests on IB udhcpc: Init DHCP headers with the correct htype udhcpc: Support gathering Infiniband HW address networking/udhcp/common.c | 8 ++++ networking/udhcp/common.h | 7 +-- networking/udhcp/dhcpc.c | 21 +++++++-- networking/udhcp/dhcpc.h | 4 +- networking/udhcp/dhcpd.c | 6 ++- networking/udhcp/dhcprelay.c | 4 +- networking/udhcp/packet.c | 29 +++++++----- networking/udhcp/socket.c | 90 +++++++++++++++++++++--------------- 8 files changed, 106 insertions(+), 63 deletions(-) -- Daniel M. Weeks -- Daniel M. Weeks Lead HPC Developer Center for Computational Innovations Rensselaer Polytechnic Institute Troy, NY 12180 518-276-4458 _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
