Home
last modified time | relevance | path

Searched refs:ncsi_sock (Results 1 – 3 of 3) sorted by relevance

/openbmc/google-misc/subprojects/ncsid/test/
H A Dncsi_test.cpp127 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
[all …]
H A Dsock_test.cpp35 ncsi::SockIO ncsi_sock(sock_fake_fd); in TEST() local
37 ncsi_sock.bind_to_iface(iface_mock); in TEST()
/openbmc/google-misc/subprojects/ncsid/src/
H A Dncsid.cpp34 ncsi::SockIO ncsi_sock; in main() local
35 ncsi_sock.init(); in main()
36 ncsi_sock.bind_to_iface(eth); in main()
37 ncsi_sock.filter_vlans(); in main()
40 ncsi_fsm.set_sockio(&ncsi_sock); in main()