http://git.etherboot.org
/
people
/
xl0
/
gpxe.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
d35e02c2e9c053c00a82ab3973d182e281ca2c47
[people/xl0/gpxe.git]
/
src
/
tests
/
dhcptest.c
1
#include <string.h>
2
#include <gpxe/dhcp.h>
3
4
int test_dhcp ( struct net_device *netdev ) {
5
struct dhcp_session dhcp;
6
7
memset ( &dhcp, 0, sizeof ( dhcp ) );
8
dhcp.netdev = netdev;
9
return async_wait ( start_dhcp ( &dhcp ) );
10
}