Lines Matching refs:gw
25 ip4_addr_t gw; member
312 printf("gateway = %s \r\n", ip4addr_ntoa(ð_ip_info.gw)); in post_ip_addr()
327 !ip4_addr_cmp(ip_2_ip4(&pstnetif->gw), ð_ip_info.gw)) { in tcpip_dhcpc_cb()
330 ip4_addr_set(ð_ip_info.gw, ip_2_ip4(&pstnetif->gw)); in tcpip_dhcpc_cb()
337 memcpy(gw_addr, ð_ip_info.gw.addr, sizeof(ip_addr)); in tcpip_dhcpc_cb()
384 ip4_addr_t ipaddr, netmask, gw; in tcpip_init_done() local
387 memset(&gw, 0, sizeof(gw)); in tcpip_init_done()
388 netif_add(ð_lwip_netif, &ipaddr, &netmask, &gw, NULL, ethernetif_init, tcpip_input); in tcpip_init_done()
468 ip4_addr_t gw = {0}; in ch395_lwip_inter_proc() local
532 memcpy(&gw.addr, gst_lwipch395info.ip_info.gateway, 4); in ch395_lwip_inter_proc()
534 netif_set_addr(ð_lwip_netif, &ipaddr, &netmask, &gw); in ch395_lwip_inter_proc()