Lines Matching refs:server_id
178 struct in_addr *server_id) in dhcpv4_find_server_id_option() argument
193 memcpy(server_id, opt, sizeof(struct in_addr)); in dhcpv4_find_server_id_option()
339 struct in_addr *server_id) in dhcpv4_encode_server_id_option() argument
347 memcpy(&buf[2], server_id->s4_addr, sizeof(struct in_addr)); in dhcpv4_encode_server_id_option()
1107 struct in_addr requested_ip, server_id, ciaddr, giaddr; in dhcpv4_handle_request() local
1126 ret = dhcpv4_find_server_id_option(options, optlen, &server_id); in dhcpv4_handle_request()
1129 if (!net_ipv4_addr_cmp(&ctx->server_addr, &server_id)) { in dhcpv4_handle_request()
1282 struct in_addr requested_ip, server_id; in dhcpv4_handle_decline() local
1285 ret = dhcpv4_find_server_id_option(options, optlen, &server_id); in dhcpv4_handle_decline()
1291 if (!net_ipv4_addr_cmp(&ctx->server_addr, &server_id)) { in dhcpv4_handle_decline()
1335 struct in_addr ciaddr, server_id; in dhcpv4_handle_release() local
1338 ret = dhcpv4_find_server_id_option(options, optlen, &server_id); in dhcpv4_handle_release()
1344 if (!net_ipv4_addr_cmp(&ctx->server_addr, &server_id)) { in dhcpv4_handle_release()