Searched refs:mUdpSock (Results 1 – 1 of 1) sorted by relevance
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpClient.java | 315 private FileDescriptor mUdpSock; field in DhcpClient 583 mUdpSock = Os.socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in initUdpSocket() 584 SocketUtils.bindSocketToInterface(mUdpSock, mIfaceName); in initUdpSocket() 585 Os.setsockoptInt(mUdpSock, SOL_SOCKET, SO_REUSEADDR, 1); in initUdpSocket() 586 Os.setsockoptInt(mUdpSock, SOL_SOCKET, SO_BROADCAST, 1); in initUdpSocket() 587 Os.setsockoptInt(mUdpSock, SOL_SOCKET, SO_RCVBUF, 0); in initUdpSocket() 588 Os.bind(mUdpSock, IPV4_ADDR_ANY, DhcpPacket.DHCP_CLIENT); in initUdpSocket() 600 Os.connect(mUdpSock, to, DhcpPacket.DHCP_SERVER); in connectUdpSock() 696 Os.sendto(mUdpSock, buf, 0, to, DhcpPacket.DHCP_SERVER); in transmitPacket() 701 description, Os.getpeername(mUdpSock))); in transmitPacket() [all …]
|