Searched refs:AttachFilter (Results 1 – 6 of 6) sorted by relevance
/system/connectivity/shill/ |
D | arp_client_unittest.cc | 141 EXPECT_CALL(*sockets_, AttachFilter(fd, _)).WillOnce(Return(0)); in StartClientWithFD() 173 EXPECT_CALL(*sockets_, AttachFilter(kSocketFD, _)).WillOnce(Return(-1)); in TEST_F() 184 EXPECT_CALL(*sockets_, AttachFilter(kSocketFD, _)).WillOnce(Return(0)); in TEST_F() 196 EXPECT_CALL(*sockets_, AttachFilter(kSocketFD, _)).WillOnce(Return(0)); in TEST_F()
|
D | arp_client.cc | 91 if (sockets_->AttachFilter(socket_, &pf) != 0) { in CreateSocket()
|
/system/connectivity/shill/net/ |
D | mock_sockets.h | 36 MOCK_CONST_METHOD2(AttachFilter, int(int sockfd, struct sock_fprog* pf));
|
D | sockets.h | 48 virtual int AttachFilter(int sockfd, struct sock_fprog* pf) const;
|
D | sockets.cc | 48 int Sockets::AttachFilter(int sockfd, struct sock_fprog* pf) const { in AttachFilter() function in shill::Sockets
|
/system/connectivity/dhcp_client/ |
D | dhcpv4.cc | 181 if (sockets_->AttachFilter(fd, &pf) != 0) { in CreateRawSocket()
|