Searched refs:giaddr (Results 1 – 4 of 4) sorted by relevance
/Zephyr-Core-3.7.0/subsys/net/lib/dhcpv4/ |
D | dhcpv4_server.c | 440 memcpy(reply_msg->giaddr, msg->giaddr, sizeof(reply_msg->giaddr)); in dhcpv4_encode_header() 519 struct in_addr giaddr; /* Relay agent address */ in dhcpv4_send() local 523 memcpy(&giaddr, msg->giaddr, sizeof(giaddr)); in dhcpv4_send() 527 if (!net_ipv4_is_addr_unspecified(&giaddr)) { in dhcpv4_send() 533 dst_addr.sin_addr = giaddr; in dhcpv4_send() 990 struct in_addr giaddr; in dhcpv4_handle_discover() local 992 memcpy(&giaddr, msg->giaddr, sizeof(giaddr)); in dhcpv4_handle_discover() 993 if (!net_ipv4_is_addr_unspecified(&giaddr)) { in dhcpv4_handle_discover() 1076 struct in_addr requested_ip, server_id, ciaddr, giaddr; in dhcpv4_handle_request() local 1080 memcpy(&giaddr, msg->giaddr, sizeof(giaddr)); in dhcpv4_handle_request() [all …]
|
D | dhcpv4_internal.h | 35 uint8_t giaddr[4]; /* Relat agent IP address */ member
|
D | dhcpv4.c | 1507 msg->giaddr[0], msg->giaddr[1], msg->giaddr[2], msg->giaddr[3]); in net_dhcpv4_input()
|
/Zephyr-Core-3.7.0/tests/net/dhcpv4/server/src/ |
D | main.c | 182 memset(msg.giaddr, 0, sizeof(msg.giaddr)); in client_prepare_test_msg() 550 zassert_equal(sys_get_be32(msg->giaddr), 0, "Incorrect %s value", "giaddr"); in verify_offer() 731 zassert_equal(sys_get_be32(msg->giaddr), 0, "Incorrect %s value", "giaddr"); in verify_ack()
|