Home
last modified time | relevance | path

Searched refs:ifaceAddr (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/communication/dhcp/services/dhcp_client/include/
H A Ddhcp_socket.h26 int BindRawSocket(const int rawFd, const int ifaceIndex, const uint8_t *ifaceAddr);
/ohos5.0/foundation/communication/dhcp/services/dhcp_client/src/
H A Ddhcp_socket.cpp118 int BindRawSocket(const int rawFd, const int ifaceIndex, const uint8_t *ifaceAddr) in BindRawSocket() argument
134 if (ifaceAddr != NULL) { in BindRawSocket()
136 if (memcpy_s(rawAddr.sll_addr, sizeof(rawAddr.sll_addr), ifaceAddr, MAC_ADDR_LEN) != EOK) { in BindRawSocket()