Home
last modified time | relevance | path

Searched refs:state (Results 1 – 7 of 7) sorted by relevance

/kernel/tests/net/test/
Dneighbour_test.py127 def ChangeRouterNudState(self, version, state): argument
130 self.iproute.UpdateNeighbour(version, router, macaddr, self.ifindex, state)
131 self.ExpectNeighbourNotification(router, state)
132 self.assertNeighbourState(state, router)
146 def assertNeighbourState(self, state, addr): argument
147 self.assertEqual(state, self.GetNdEntry(addr)[0].state)
152 def ExpectNeighbourNotification(self, addr, state, attrs=None): argument
156 self.assertEqual(state, msg.state)
Dpf_key.py278 state = _GetConstantName(sa.state, "SADB_SASTATE_")
284 sa.spi, sa.replay, state, auth, encrypt, sa.flags))
Dsock_diag_test.py547 self.assertEqual(tcp_test.TCP_SYN_RECV, child.state)
625 def CheckTcpReset(self, state, statename): argument
628 self.IncomingConnection(version, state, self.netid)
630 if state != tcp_test.TCP_LISTEN:
653 self.assertEqual(tcp_test.TCP_FIN_WAIT1, diag_msg.state)
663 self.assertEqual(tcp_test.TCP_FIN_WAIT1, diag_msg.state)
676 self.assertTrue(any(diag_msg.state == tcp_test.TCP_FIN_WAIT2
698 state = getattr(tcp_test, statename)
700 self.IncomingConnection(version, state, self.netid)
707 is_established = (state == tcp_test.TCP_NOT_YET_ACCEPTED)
[all …]
Dforwarding_test.py127 state = None
Dnet_test.py470 (_, src, dst, state, mem,
472 out.append([src, dst, state, mem, uid, refcnt, extra])
Dsock_diag.py410 return InetDiagReqV2((d.family, protocol, 0, 1 << d.state, d.id))
Dping6_test.py313 def CheckSockStatFile(self, name, srcaddr, srcport, dstaddr, dstport, state, argument
317 "%02X" % state,