]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[dhcp] Allow use of custom reallocation functions for DHCP option blocks
authorMichael Brown <mcb30@ipxe.org>
Mon, 10 Jan 2011 23:58:11 +0000 (23:58 +0000)
committerMichael Brown <mcb30@ipxe.org>
Tue, 11 Jan 2011 21:24:40 +0000 (21:24 +0000)
commit17b6a3c506d94b8dc8bdae89828bac20ef56b1ef
tree68e953fe63ac12df77198e1c80de0ba8d45da881
parent310d46c1edcefeb918125de0ee2e123c2940a70b
[dhcp] Allow use of custom reallocation functions for DHCP option blocks

Allow functions other than realloc() to be used to reallocate DHCP
option block data, and specify the reallocation function at the time
of calling dhcpopt_init().

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/core/nvo.c
src/include/ipxe/dhcpopts.h
src/net/dhcpopts.c
src/net/dhcppkt.c