Home
last modified time | relevance | path

Searched refs:ifNameMaxLen (Results 1 - 2 of 2) sorted by relevance

/foundation/communication/dsoftbus/core/connection/common/src/
H A Dsoftbus_socket.c493 static int32_t GetIfNameByIp(const char *myIp, int32_t domain, char *ifName, int32_t ifNameMaxLen) in GetIfNameByIp() argument
521 (void)memset_s(ifName, ifNameMaxLen, 0, ifNameMaxLen); in GetIfNameByIp()
523 if (memcpy_s(ifName, ifNameMaxLen - 1, ifa->ifa_name, strlen(ifa->ifa_name)) != EOK) { in GetIfNameByIp()
538 void BindToInterface(const char *myIp, int32_t domain, int fd, char *ifName, int32_t ifNameMaxLen) in BindToInterface() argument
543 int32_t ret = GetIfNameByIp(myIp, domain, ifName, ifNameMaxLen); in BindToInterface()
/foundation/communication/dsoftbus/core/connection/interface/
H A Dsoftbus_socket.h93 void BindToInterface(const char *myIp, int32_t domain, int fd, char *ifName, int32_t ifNameMaxLen);

Completed in 2 milliseconds