Home
last modified time | relevance | path

Searched refs:giaddr (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-3.7.0/subsys/net/lib/dhcpv4/
Ddhcpv4_server.c440 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 …]
Ddhcpv4_internal.h35 uint8_t giaddr[4]; /* Relat agent IP address */ member
Ddhcpv4.c1507 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/
Dmain.c182 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()