Searched refs:Pack (Results 1 – 14 of 14) sorted by relevance
/kernel/tests/net/test/ |
D | bpf.py | 214 return ret.Pack() 221 return ret.Pack() 228 return ret.Pack() 235 return ret.Pack() 242 return ret.Pack() 249 return ret.Pack() 254 return ret.Pack() 261 return ret.Pack() 267 return ret.Pack() 275 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 | 252 msg = sa.Pack() + nlattrs 263 encryption.Pack() + encryption_key) 265 auth_trunc.Pack() + auth_trunc_key) 267 nlattrs += self._NlAttr(XFRMA_ENCAP, encap.Pack()) 276 self._SendNlRequest(XFRM_MSG_DELSA, usersa_id.Pack(), flags)
|
D | sock_diag.py | 154 addr = csocket.SockaddrIn(addr.Pack()) 156 addr = csocket.SockaddrIn6(addr.Pack()) 232 arg = InetDiagHostcond((family, prefixlen, port)).Pack() + addr 238 arg = InetDiagMarkcond((mark, mask)).Pack() 256 instruction = InetDiagBcOp((op, yes, no)).Pack() + args[i] 400 self._SendNlRequest(SOCK_DIAG_BY_FAMILY, req.Pack(), netlink.NLM_F_REQUEST) 409 self._SendNlRequest(SOCK_DESTROY, req.Pack(),
|
D | xfrm_test.py | 140 data = info.Pack() + tmpl.Pack() 235 data = info.Pack() + usertmpl.Pack() 288 data = info.Pack() + usertmpl.Pack()
|
D | netlink.py | 74 return NLAttr((nla_len, nla_type)).Pack() + data + padding 178 nlmsg = NLMsgHdr((length, command, flags, self.seq, self.pid)).Pack() 238 msg = "" if msg is None else msg.Pack() 243 request = nlmsghdr.Pack() + msg + attrs
|
D | cstruct.py | 185 return value.Pack() 189 def Pack(self): member in Struct.CStruct 213 buf = ctypes.create_string_buffer(self.Pack())
|
D | iproute.py | 330 RTPROT_STATIC, RT_SCOPE_UNIVERSE, rule_type, 0)).Pack() 344 RTPROT_STATIC, RT_SCOPE_UNIVERSE, RTN_UNICAST, 0)).Pack() 370 FibRuleUidRange((start, end)).Pack()) 428 ifaddrmsg = IfAddrMsg((family, prefixlen, flags, scope, ifindex)).Pack() 459 RTPROT_STATIC, scope, RTN_UNICAST, 0)).Pack() 513 ndmsg = NdMsg((family, dev, state, 0, RTN_UNICAST)).Pack()
|
D | anycast_test.py | 74 s.setsockopt(IPPROTO_IPV6, option, ipv6mreq.Pack())
|
D | csocket.py | 149 msg_control += CMsgHdr((msg_len, msg_level, msg_type)).Pack() 253 msg_control, msg_controllen, flags)).Pack()
|
D | cstruct_test.py | 93 self.assertEquals(expected, d.Pack())
|
D | multinetwork_base.py | 72 return csocket.In6Pktinfo((addr, ifindex)).Pack() 74 return csocket.InPktinfo((ifindex, addr, "\x00" * 4)).Pack()
|
D | sock_diag_test.py | 235 self.assertEquals(diag_msg.Pack(), sockets[0][0].Pack()) 295 self.sock_diag.DumpAllInetSockets, IPPROTO_TCP, bytecode.Pack())
|
D | ping6_test.py | 423 ipv4sockaddr.Pack() +
|