]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Add helpers to tell the type of a DHCP message
authorAsias He <asias.hejun@gmail.com>
Sun, 17 Jul 2011 08:56:52 +0000 (16:56 +0800)
committerPekka Enberg <penberg@kernel.org>
Mon, 18 Jul 2011 10:09:59 +0000 (13:09 +0300)
commit898c648b71e713f64b5912c070fb362932c1b561
tree81dc286fec00d42aaf2177dad138072f0b83f3a9
parent402e8e3f19d0fe4a82d7755faee1688004997aa7
kvm tools: Add helpers to tell the type of a DHCP message

If DHCP DISCOVER or DHCP REQUEST is found, reply with DHCP OFFER or DHCP
ACK respectively.

Signed-off-by: Asias He <asias.hejun@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/include/kvm/uip.h
tools/kvm/net/uip/dhcp.c