Lines Matching defs:dhcp
25 #include "sd-dhcp-client.h"
29 #include "dhcp-identifier.h"
30 #include "dhcp-internal.h"
31 #include "dhcp-protocol.h"
37 typedef int (*test_callback_recv_t)(size_t size, DHCPMessage *dhcp);
182 assert_se(discover->dhcp.xid);
183 assert_se(memcmp(discover->dhcp.chaddr, &mac_addr, ETH_ALEN) == 0);
188 callback_recv(size, &discover->dhcp);
220 static int test_discover_message_verify(size_t size, struct DHCPMessage *dhcp) {
223 res = dhcp_option_parse(dhcp, size, check_options, NULL, NULL);
227 printf(" recv DHCP Discover 0x%08x\n", be32toh(dhcp->xid));