[interface] Provide intf_reinit() to reinitialise nullified interfaces
authorMichael Brown <mcb30@ipxe.org>
Wed, 16 Nov 2016 22:22:13 +0000 (22:22 +0000)
committerMichael Brown <mcb30@ipxe.org>
Wed, 16 Nov 2016 22:22:13 +0000 (22:22 +0000)
commitdaa8ed9274d91a157dc049f00792f62c98b0a11a
tree7ce6edec2f46a6fcab3c0a1edc9c989e2b6c3885
parentb991c67c1d91574ef22336cc3a5944d1e63230c9
[interface] Provide intf_reinit() to reinitialise nullified interfaces

Provide an abstraction intf_reinit() to restore the descriptor of a
previously nullified interface.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/core/interface.c
src/include/ipxe/interface.h
src/net/tcp/httpcore.c