Home
last modified time | relevance | path

Searched refs:netmask (Results 1 – 6 of 6) sorted by relevance

/drivers/peripheral/usb/test/moduletest/common/scripts/
Dusb_set_net_ip.sh17 sudo ifconfig enp0s6u2 10.0.0.10 netmask 255.255.255.0
/drivers/hdf_core/framework/model/network/ethernet/src/
Dhdf_eth_core.c56 IpV4Addr netmask; in SetEthNetworkAddr() local
60 netmask.addr = 0x00ffffffUL; /* 255, 255, 255, 0 */ in SetEthNetworkAddr()
63 if (NetIfSetAddr(netDev, &ip, &netmask, &gw) != HDF_SUCCESS) { in SetEthNetworkAddr()
/drivers/hdf_core/framework/test/unittest/model/network/wifi/unittest/netdevice/
Dnet_device_test.c113 IpV4Addr netmask = { 0x00ffffffUL }; // 255, 255, 255, 0 in WiFiNetDviceTestSetAddr() local
115 return NetIfSetAddr(g_netDevice, &ip, &netmask, &gw); in WiFiNetDviceTestSetAddr()
/drivers/hdf_core/adapter/khdf/liteos_m/network/src/
Dnet_device_adapter.c261 ip4_addr_t netmask; in LiteNetDevAdd() local
264 IP4_ADDR(&netmask, 0, 0, 0, 0); in LiteNetDevAdd()
271 if ((ret = netifapi_netif_add(lwipNf, &ipaddr, &netmask, &gw, (void *)liteNdPri, in LiteNetDevAdd()
/drivers/hdf_core/adapter/khdf/liteos/network/src/
Dnet_device_adapter.c298 ip4_addr_t netmask; in LiteNetDevAdd() local
301 IP4_ADDR(&netmask, 0, 0, 0, 0); in LiteNetDevAdd()
308 if ((ret = netifapi_netif_add(lwipNf, &ipaddr, &netmask, &gw)) != ERR_OK) { in LiteNetDevAdd()
/drivers/hdf_core/framework/model/network/wifi/core/module/
Dwifi_base.c699 IpV4Addr netmask; in SetNetworkAddr() local
703 netmask.addr = 0x00000000UL; in SetNetworkAddr()
707 netmask.addr = 0x00ffffffUL; in SetNetworkAddr()
712 NetIfSetAddr(netdev, &ip, &netmask, &gw); in SetNetworkAddr()
720 IpV4Addr netmask = {0x00000000UL}; in UnsetNetworkAddr() local
723 NetIfSetAddr(netdev, &ip, &netmask, &gw); in UnsetNetworkAddr()