Searched refs:req (Results 1 – 3 of 3) sorted by relevance
/kernel/tests/net/test/ |
D | sock_diag_test.py | 244 req = self.sock_diag.DiagReqFromSocket(sock) 245 req.id.cookie = cookie 249 req.id.sport, req.id.dport = req.id.dport, req.id.sport 250 req.id.src, req.id.dst = req.id.dst, req.id.src 251 info = self.sock_diag.GetSockInfo(req) 377 req = sock_diag.InetDiagReqV2((AF_INET6, IPPROTO_TCP, 0, 0xffffffff, 379 self.sock_diag._Dump(code, req, sock_diag.InetDiagMsg, "") 416 req = self.sock_diag.DiagReqFromSocket(s) 418 req.id.cookie = s.getsockopt(net_test.SOL_SOCKET, net_test.SO_COOKIE, 8) 420 req.id.cookie = "\xff" * 16 # INET_DIAG_NOCOOKIE[2] [all …]
|
D | sock_diag.py | 384 req = self.DiagReqFromSocket(s) 390 results = self.Dump(req, "") 392 raise ValueError("Dump of %s returned no sockets" % req) 396 raise ValueError("Dump of %s did not contain inode %d" % (req, inode)) 402 def GetSockInfo(self, req): argument 404 self._SendNlRequest(SOCK_DIAG_BY_FAMILY, req.Pack(), netlink.NLM_F_REQUEST) 412 def CloseSocket(self, req): argument 413 self._SendNlRequest(SOCK_DESTROY, req.Pack(), 419 req = self.DiagReqFromDiagMsg(diag_msg, protocol) 420 return self.CloseSocket(req)
|
D | xfrm.py | 442 def SendXfrmNlRequest(self, msg_type, req, nlattrs=None, argument 454 msg = req.Pack()
|