Home
last modified time | relevance | path

Searched refs:IF_NAME_SIZE (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/core/connection/common/src/
H A Dsoftbus_tcp_socket.c230 …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 Dsoftbus_socket.c415 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 Dsoftbus_socket_test.cpp2206 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 Dsoftbus_adapter_socket.h32 #define IF_NAME_SIZE (16) macro
/ohos5.0/foundation/communication/dsoftbus/adapter/common/kernel/posix/
H A Dsoftbus_adapter_socket.c494 if (index < 0 || ifname == NULL || nameLen < IF_NAME_SIZE) { in SoftBusIndexToIfName()