Home
last modified time | relevance | path

Searched refs:gw (Results 1 - 9 of 9) sorted by relevance

/device/soc/rockchip/rk2206/adapter/hals/communication/wifi_lite/wifiservice/source/
H A Dwifi_device.c381 int GetLocalWifiGw(int *const gw) in GetLocalWifiGw() argument
389 *gw = ip_addr_get_ip4_u32(&netif->gw); in GetLocalWifiGw()
396 ip4_addr_t gw; in SetLocalWifiGw() local
414 IP4_ADDR(&gw, 0, 0, 0, 0); in SetLocalWifiGw()
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/
H A Dnetif.h431 ip_addr_t gw; /**< Indicates the gateway. */ member
672 const ip4_addr_t *netmask, const ip4_addr_t *gw);
679 const ip4_addr_t *gw);
683 netif_get_addr(struct netif *netif, ip4_addr_t *ipaddr, ip4_addr_t *netmask, ip4_addr_t *gw);
707 void netif_set_gw(struct netif *netif, const ip4_addr_t *gw);
714 #define netif_ip4_gw(netif) ((const ip4_addr_t*)ip_2_ip4(&((netif)->gw)))
720 #define netif_ip_gw4(netif) ((const ip_addr_t*)&((netif)->gw))
H A Dnetifapi.h93 NETIFAPI_IPADDR_DEF(ip4_addr_t, gw);
109 ip4_addr_t *gw; member
276 * @param[in] gw Indicates the default gateway IP_add for the new netif.
294 * For IPv4 stack, if NULL is passed to ipaddr/netmask/gw then 0.0.0.0 will be set as the corresponding address on
304 , const ip4_addr_t *ipaddr, const ip4_addr_t *netmask, const ip4_addr_t *gw
391 * @param[in] gw Indicates the new default gateway IP address.
400 * - If NULL is passed to ipaddr/netmask/gw, then 0.0.0.0 will be set as the corresponding address on the netif
405 const ip4_addr_t *gw);
423 * @param[in] gw Indicates the default gateway IP address.
433 * - netmask and/or gw ca
[all...]
/device/soc/rockchip/rk2206/sdk_liteos/platform/network/
H A Dconfig_network.c395 struct in_addr ipaddr, gw, netmask; in SetWifiModeOn() local
406 if (WIFI_SUCCESS == GetLocalWifiGw(&gw.s_addr)) { in SetWifiModeOn()
407 LZ_HARDWARE_LOGD(LOG_TAG, "network GW (%s)", inet_ntoa(gw)); in SetWifiModeOn()
415 if (WIFI_SUCCESS == GetLocalWifiGw(&gw.s_addr)) { in SetWifiModeOn()
416 LZ_HARDWARE_LOGD(LOG_TAG, "network GW (%s)", inet_ntoa(gw)); in SetWifiModeOn()
/device/soc/hisilicon/hi3861v100/hi3861_adapter/hals/communication/wifi_lite/wifiservice/source/
H A Dwifi_hotspot.c70 ip4_addr_t gw; in SetHotspotIpConfig() local
74 IP4_ADDR(&gw, GW_AP_ADDR0, GW_AP_ADDR1, GW_AP_ADDR2, GW_AP_ADDR3); in SetHotspotIpConfig()
76 netifapi_netif_set_addr(netif, &ipAddr, &netMask, &gw); in SetHotspotIpConfig()
H A Dwifi_device.c154 static void StaSetLocaladdr(const struct netif *netif, int gw, int ipaddr, int netmask) in StaSetLocaladdr() argument
165 ip4_addr_set_u32(&st_gw, gw); in StaSetLocaladdr()
/device/qemu/riscv32_virt/liteos_m/board/driver/
H A Dvirtnet.c571 ip4_addr_t ip, mask, gw; in VirtnetInit() local
582 gw.addr = ipaddr_addr(VIRTMMIO_NETIF_DFT_GW); in VirtnetInit()
583 if (netif_add(netif, &ip, &mask, &gw, netif->state, in VirtnetInit()
/device/qemu/drivers/virtio/
H A Dvirtnet.c451 IpV4Addr ip, mask, gw; in VirtNetDeviceInitDone() local
470 gw.addr = inet_addr(VIRTMMIO_NETIF_DFT_GW); in VirtNetDeviceInitDone()
471 return NetIfSetAddr(netDev, &ip, &mask, &gw); in VirtNetDeviceInitDone()
/device/qemu/arm_mps2_an386/liteos_m/board/driver/net/
H A Dlan9118_eth_drv.c1227 ip4_addr_t gw; in Lan9118NetInit() local
1233 gw.addr = ipaddr_addr(LAN9118_NETIF_TEST_GW); in Lan9118NetInit()
1235 NetifInitRet = netif_add(&g_NetIf, &ip, &mask, &gw, g_NetIf.state, EthernetifInit, tcpip_input); in Lan9118NetInit()

Completed in 11 milliseconds