Home
last modified time | relevance | path

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

/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_util/interface/
H A Dnstackx_dev.h44 #ifndef ETH_DEV_NAME_PRE
45 #define ETH_DEV_NAME_PRE "eth" macro
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/liteos/
H A Dsys_dev.c95 uint32_t ethNameLen = (uint32_t)strlen(ETH_DEV_NAME_PRE); in GetConnectionTypeByDev()
204 uint32_t ethNameLen = (uint32_t)strlen(ETH_DEV_NAME_PRE); in BindToDevice()
232 if (memcmp(buf[i].ifr_name, ETH_DEV_NAME_PRE, ethNameLen) == 0) { in BindToDevice()
304 targetDevLen = (uint32_t)strlen(ETH_DEV_NAME_PRE); in IsValidInterface()
305 …if (strlen(interfaceName) >= targetDevLen && memcmp(interfaceName, ETH_DEV_NAME_PRE, targetDevLen)… in IsValidInterface()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/unix/
H A Dsys_dev.c95 uint32_t ethNameLen = (uint32_t)strlen(ETH_DEV_NAME_PRE); in GetConnectionTypeByDev()
206 uint32_t ethNameLen = (uint32_t)strlen(ETH_DEV_NAME_PRE); in BindToDevice()
238 if (memcmp(buf[i].ifr_name, ETH_DEV_NAME_PRE, ethNameLen) == 0) { in BindToDevice()
311 targetDevLen = (uint32_t)strlen(ETH_DEV_NAME_PRE); in IsValidInterface()
312 …if (strlen(interfaceName) >= targetDevLen && memcmp(interfaceName, ETH_DEV_NAME_PRE, targetDevLen)… in IsValidInterface()