Lines Matching refs:ncsi_sock
127 ncsi_sm.set_sockio(&ncsi_sock); in SetUp()
130 ncsi_sock.nic_mock.set_mac(nic_mac); in SetUp()
131 ncsi_sock.nic_mock.set_hostless(true); in SetUp()
132 ncsi_sock.read_timeout = 10; in SetUp()
138 for (uint8_t i = 0; i < ncsi_sock.nic_mock.get_channel_count(); ++i) in ExpectFiltersNotConfigured()
140 EXPECT_FALSE(ncsi_sock.nic_mock.is_filter_configured(i)); in ExpectFiltersNotConfigured()
147 for (uint8_t i = 0; i < ncsi_sock.nic_mock.get_channel_count(); ++i) in ExpectFiltersConfigured()
149 EXPECT_TRUE(ncsi_sock.nic_mock.is_filter_configured(i)); in ExpectFiltersConfigured()
151 ncsi_sock.nic_mock.get_filter(i); in ExpectFiltersConfigured()
165 NICConnection ncsi_sock; member in TestNcsi
182 EXPECT_EQ(ncsi_sock.n_read_errs, 0); in TEST_F()
183 EXPECT_EQ(ncsi_sock.n_handles, ncsi_sock.n_writes); in TEST_F()
195 EXPECT_EQ(ncsi_sock.n_read_errs, 0); in TEST_F()
196 EXPECT_EQ(ncsi_sock.n_handles, ncsi_sock.n_writes); in TEST_F()
204 EXPECT_EQ(ncsi_sock.n_read_errs, 0); in TEST_F()
205 EXPECT_EQ(ncsi_sock.n_handles, ncsi_sock.n_writes); in TEST_F()
224 const auto& cmd_log = ncsi_sock.nic_mock.get_command_log(); in TEST_F()
243 EXPECT_EQ(ncsi_sock.n_read_errs, 0); in TEST_F()
244 EXPECT_EQ(ncsi_sock.n_handles, ncsi_sock.n_writes); in TEST_F()
249 ncsi_sock.nic_mock.set_hostless(false); in TEST_F()
251 EXPECT_EQ(ncsi_sock.n_read_errs, 0); in TEST_F()
252 EXPECT_EQ(ncsi_sock.n_handles, ncsi_sock.n_writes); in TEST_F()