Searched refs:InetDiagReqV2 (Results 1 - 2 of 2) sorted by last modified time

/system/extras/tests/net_test/
H A Dsock_diag.py71 InetDiagReqV2 = cstruct.Struct( variable
72 "InetDiagReqV2", "=BBBxIS", "family protocol ext states id",
134 parsed = self._ParseNLMsg(data, InetDiagReqV2)
241 diag_req = InetDiagReqV2((family, protocol, ext, states, sock_id))
278 """Creates an InetDiagReqV2 that matches the specified socket."""
299 return InetDiagReqV2((family, protocol, 0, 0xffffffff, sock_id))
319 return InetDiagReqV2((d.family, protocol, 0, 1 << d.state, d.id))
H A Dsock_diag_test.py258 req = sock_diag.InetDiagReqV2((AF_INET6, IPPROTO_TCP, 0, 0xffffffff,
366 req = sock_diag.InetDiagReqV2((AF_INET6, IPPROTO_TCP, 0, states, sock_id))

Completed in 23 milliseconds