Searched refs:mUdpSock (Results 1 – 1 of 1) sorted by relevance
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpClient.java | 331 private FileDescriptor mUdpSock; field in DhcpClient 616 mUdpSock = Os.socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in initUdpSocket() 617 SocketUtils.bindSocketToInterface(mUdpSock, mIfaceName); in initUdpSocket() 618 Os.setsockoptInt(mUdpSock, SOL_SOCKET, SO_REUSEADDR, 1); in initUdpSocket() 619 Os.setsockoptInt(mUdpSock, SOL_SOCKET, SO_BROADCAST, 1); in initUdpSocket() 620 Os.setsockoptInt(mUdpSock, SOL_SOCKET, SO_RCVBUF, 0); in initUdpSocket() 621 Os.bind(mUdpSock, IPV4_ADDR_ANY, DhcpPacket.DHCP_CLIENT); in initUdpSocket() 633 Os.connect(mUdpSock, to, DhcpPacket.DHCP_SERVER); in connectUdpSock() 734 Os.sendto(mUdpSock, buf, 0, to, DhcpPacket.DHCP_SERVER); in transmitPacket() 739 description, Os.getpeername(mUdpSock))); in transmitPacket() [all …]
|