Home
last modified time | relevance | path

Searched refs:AttachFilter (Results 1 – 6 of 6) sorted by relevance

/system/connectivity/shill/
Darp_client_unittest.cc141 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()
Darp_client.cc91 if (sockets_->AttachFilter(socket_, &pf) != 0) { in CreateSocket()
/system/connectivity/shill/net/
Dmock_sockets.h36 MOCK_CONST_METHOD2(AttachFilter, int(int sockfd, struct sock_fprog* pf));
Dsockets.h48 virtual int AttachFilter(int sockfd, struct sock_fprog* pf) const;
Dsockets.cc48 int Sockets::AttachFilter(int sockfd, struct sock_fprog* pf) const { in AttachFilter() function in shill::Sockets
/system/connectivity/dhcp_client/
Ddhcpv4.cc181 if (sockets_->AttachFilter(fd, &pf) != 0) { in CreateRawSocket()