Searched refs:IF_NAME_SIZE (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/foundation/communication/dsoftbus/core/connection/common/src/ |
H A D | softbus_tcp_socket.c | 230 …erface(option->socketOption.addr, domain, fd, (char *)(option->socketOption.ifName), IF_NAME_SIZE); in OpenTcpServerSocket() 319 BindToInterface(myIp, domain, fd, (char *)(option->socketOption.ifName), IF_NAME_SIZE); in OpenTcpClientSocket()
|
H A D | softbus_socket.c | 415 char ifname[IF_NAME_SIZE] = { 0 }; in Ipv6AddrInToAddr() 416 int32_t rc = SoftBusIndexToIfName(addrIn6->sin6ScopeId, ifname, IF_NAME_SIZE); in Ipv6AddrInToAddr()
|
/ohos5.0/foundation/communication/dsoftbus/tests/adapter/unittest/ |
H A D | softbus_socket_test.cpp | 2206 char ifname[IF_NAME_SIZE] = { 0 }; 2208 int32_t ret = SoftBusIndexToIfName(invalidIndex, ifname, IF_NAME_SIZE); 2220 char ifname[IF_NAME_SIZE] = { 0 }; 2222 int32_t ret = SoftBusIndexToIfName(invalidIndex, ifname, IF_NAME_SIZE); 2234 char ifname[IF_NAME_SIZE] = { 0 }; 2235 int32_t ret = SoftBusIndexToIfName(WLAN_INDEX, ifname, IF_NAME_SIZE);
|
/ohos5.0/foundation/communication/dsoftbus/adapter/common/include/ |
H A D | softbus_adapter_socket.h | 32 #define IF_NAME_SIZE (16) macro
|
/ohos5.0/foundation/communication/dsoftbus/adapter/common/kernel/posix/ |
H A D | softbus_adapter_socket.c | 494 if (index < 0 || ifname == NULL || nameLen < IF_NAME_SIZE) { in SoftBusIndexToIfName()
|