Home
last modified time | relevance | path

Searched refs:sock_id (Results 1 – 2 of 2) sorted by relevance

/kernel/tests/net/test/
Dsock_diag.py307 def DumpAllInetSockets(self, protocol, bytecode, sock_id=None, ext=0, argument
312 if sock_id is None:
313 sock_id = self._EmptyInetDiagSockId()
317 diag_req = InetDiagReqV2((family, protocol, ext, states, sock_id))
374 sock_id = InetDiagSockId((sport, dport, src, dst, iface, "\x00" * 8))
375 return InetDiagReqV2((family, protocol, 0, 0xffffffff, sock_id))
427 sock_id = n._EmptyInetDiagSockId() variable
428 sock_id.dport = 443
432 sock_id=sock_id, ext=ext, states=states)
Dsock_diag_test.py376 sock_id = self.sock_diag._EmptyInetDiagSockId()
378 sock_id))
539 sock_id = self.sock_diag._EmptyInetDiagSockId()
540 sock_id.sport = self.port
542 req = sock_diag.InetDiagReqV2((AF_INET6, IPPROTO_TCP, 0, states, sock_id))