Home
last modified time | relevance | path

Searched refs:server_ip_addr (Results 1 – 3 of 3) sorted by relevance

/third_party/lwip/src/core/ipv4/
Ddhcp.c348 …ip_addr_set_ip4_u32(&dhcp->server_ip_addr, lwip_htonl(dhcp_get_option_value(dhcp, DHCP_OPTION_IDX_… in dhcp_handle_offer()
350 ip4_addr_get_u32(ip_2_ip4(&dhcp->server_ip_addr)))); in dhcp_handle_offer()
400 …(options_out_len, msg_out->options, lwip_ntohl(ip4_addr_get_u32(ip_2_ip4(&dhcp->server_ip_addr)))); in dhcp_select()
1248 … result = udp_sendto_if(dhcp_pcb, p_out, &dhcp->server_ip_addr, LWIP_IANA_PORT_DHCP_SERVER, netif);
1387 ip_addr_t server_ip_addr; local
1400 ip_addr_copy(server_ip_addr, dhcp->server_ip_addr);
1403 ip_addr_set_zero_ip4(&dhcp->server_ip_addr);
1423 …n_long(options_out_len, msg_out->options, lwip_ntohl(ip4_addr_get_u32(ip_2_ip4(&server_ip_addr))));
1428 udp_sendto_if(dhcp_pcb, p_out, &server_ip_addr, LWIP_IANA_PORT_DHCP_SERVER, netif);
/third_party/lwip/src/include/lwip/
Ddhcp.h124 …ip_addr_t server_ip_addr; /* dhcp server address that offered this lease (ip_addr_t because passed… member
/third_party/NuttX/fs/nfs/
Dnfs_adapter.c712 char *server_ip_addr = NULL; in nfs_mount() local
738 server_ip_addr = (char *)malloc(pos + 1); in nfs_mount()
739 if (server_ip_addr == NULL) in nfs_mount()
746 ret = strncpy_s(server_ip_addr, pos + 1, server_ip_and_path, pos); in nfs_mount()
752 *(server_ip_addr + pos) = '\0'; in nfs_mount()
766 ret = inet_pton(AF_INET, server_ip_addr, &nfs_srv_addr->sin_addr.s_addr); in nfs_mount()
782 PRINTK("Mount nfs on %s:%s, uid:%d, gid:%d\n", server_ip_addr, server_nfs_path, uid, gid); in nfs_mount()
786 free(server_ip_addr); in nfs_mount()