Searched refs:Pack (Results 1 – 14 of 14) sorted by relevance
/kernel/tests/net/test/ |
D | bpf.py | 296 return ret.Pack() 303 return ret.Pack() 310 return ret.Pack() 317 return ret.Pack() 324 return ret.Pack() 331 return ret.Pack() 336 return ret.Pack() 343 return ret.Pack() 349 return ret.Pack() 357 return insn1.Pack() + insn2.Pack() [all …]
|
D | tcp_nuke_addr_test.py | 50 ifreq = In6Ifreq((addr, 128, LOOPBACK_IFINDEX)).Pack() 53 sockaddr = csocket.SockaddrIn((AF_INET, 0, addr)).Pack() 54 ifreq = Ifreq((LOOPBACK_DEV, sockaddr)).Pack()
|
D | xfrm.py | 462 msg = req.Pack() 489 attr_msg = attr_msg.Pack() 522 nlattrs += self._NlAttr(XFRMA_ALG_CRYPT, enc.Pack() + key) 526 nlattrs += self._NlAttr(XFRMA_ALG_AUTH_TRUNC, auth.Pack() + key) 530 nlattrs += self._NlAttr(XFRMA_ALG_AEAD, aead_alg.Pack() + key) 534 nlattrs += self._NlAttr(XFRMA_MARK, mark.Pack()) 536 nlattrs += self._NlAttr(XFRMA_ENCAP, encap.Pack()) 567 msg = sa.Pack() + nlattrs 612 msg = spi.Pack() 643 self._SendNlRequest(XFRM_MSG_FLUSHSA, usersa_flush.Pack(), flags)
|
D | cstruct_test.py | 93 self.assertEqual(expected, d.Pack()) 122 self.assertEqual("\x00" * len(TestStruct), t.Pack()) 133 self.assertEqual(expected, t1.Pack()) 138 self.assertEqual(expected, t1.Pack())
|
D | sock_diag.py | 153 addr = csocket.SockaddrIn(addr.Pack()) 155 addr = csocket.SockaddrIn6(addr.Pack()) 231 arg = InetDiagHostcond((family, prefixlen, port)).Pack() + addr 237 arg = InetDiagMarkcond((mark, mask)).Pack() 255 instruction = InetDiagBcOp((op, yes, no)).Pack() + args[i] 404 self._SendNlRequest(SOCK_DIAG_BY_FAMILY, req.Pack(), netlink.NLM_F_REQUEST) 413 self._SendNlRequest(SOCK_DESTROY, req.Pack(),
|
D | pf_key.py | 216 self.sock.send(msg.Pack() + extensions) 223 extdata = extstruct.Pack() 225 extensions += ext.Pack() + extdata + attrs 234 packed = addr.Pack()
|
D | cstruct.py | 240 return value.Pack() 244 def Pack(self): member in Struct.CStruct 268 buf = ctypes.create_string_buffer(self.Pack())
|
D | genetlink.py | 62 self._SendNlRequest(family, genlmsghdr.Pack() + data, flags)
|
D | anycast_test.py | 74 s.setsockopt(IPPROTO_IPV6, option, ipv6mreq.Pack())
|
D | csocket.py | 165 msg_control += CMsgHdr((msg_len, msg_level, msg_type)).Pack() 270 msg_control, msg_controllen, flags)).Pack()
|
D | multinetwork_base.py | 73 return csocket.In6Pktinfo((addr, ifindex)).Pack() 75 return csocket.InPktinfo((ifindex, addr, "\x00" * 4)).Pack()
|
D | sock_diag_test.py | 312 self.assertEqual(diag_msg.Pack(), sockets[0][0].Pack()) 372 self.sock_diag.DumpAllInetSockets, IPPROTO_TCP, bytecode.Pack())
|
D | xfrm_test.py | 296 spi_seq = xfrm.EspHdr((in_spi, seq_num)).Pack()
|
D | ping6_test.py | 439 ipv4sockaddr.Pack() +
|