Searched refs:gw_addr (Results 1 – 2 of 2) sorted by relevance
/external/syslinux/core/lwip/src/core/ipv4/ |
D | autoip.c | 266 ip_addr_t sn_mask, gw_addr; in autoip_bind() local 275 IP4_ADDR(&gw_addr, 0, 0, 0, 0); in autoip_bind() 279 netif_set_gw(netif, &gw_addr); in autoip_bind()
|
/external/syslinux/core/lwip/src/core/ |
D | dhcp.c | 927 ip_addr_t sn_mask, gw_addr; in dhcp_bind() local 976 ip_addr_copy(gw_addr, dhcp->offered_gw_addr); in dhcp_bind() 978 if (ip_addr_isany(&gw_addr)) { in dhcp_bind() 980 ip_addr_get_network(&gw_addr, &dhcp->offered_ip_addr, &sn_mask); in dhcp_bind() 982 ip4_addr_set_u32(&gw_addr, ip4_addr_get_u32(&gw_addr) | PP_HTONL(0x00000001UL)); in dhcp_bind() 999 ip4_addr_get_u32(&gw_addr))); in dhcp_bind() 1000 netif_set_gw(netif, &gw_addr); in dhcp_bind()
|