Searched refs:mSocket (Results 1 – 4 of 4) sorted by relevance
/device/generic/goldfish/wifi/wifi_hal/ |
D | netlink.cpp | 42 , mSocket(-1) { in Netlink() 48 closeIfOpen(&mSocket); in ~Netlink() 54 if (mSocket != -1) { in init() 65 mSocket = ::socket(AF_NETLINK, SOCK_DGRAM | SOCK_CLOEXEC, NETLINK_ROUTE); in init() 66 if (mSocket == -1) { in init() 74 status = ::bind(mSocket, in init() 100 fds[0].fd = mSocket; in eventLoop() 122 if (fd.fd == mSocket) { in eventLoop() 165 int bytesSent = ::send(mSocket, message.data(), message.size(), 0); in sendMessage()
|
D | netlink.h | 52 int mSocket; variable
|
/device/generic/goldfish/dhcp/client/ |
D | dhcpclient.cpp | 73 res = mSocket.open(PF_PACKET, SOCK_DGRAM, htons(ETH_P_IP)); in init() 78 res = mSocket.bindRaw(mInterface.getIndex()); in init() 218 fds.fd = mSocket.get(); in waitAndReceive() 478 Result res = mSocket.receiveRawUdp(PORT_BOOTP_CLIENT, msg, &isValid); in receiveDhcpMessage() 536 Result res = mSocket.sendRawUdp(INADDR_ANY, in sendMessage()
|
D | dhcpclient.h | 101 Socket mSocket; variable
|