Home
last modified time | relevance | path

Searched refs:payload (Results 1 – 8 of 8) sorted by relevance

/kernel/tests/net/test/
Dpackets.py110 def ACK(version, srcaddr, dstaddr, packet, payload=""): argument
114 ack_delta = was_syn_or_fin + len(original.payload)
115 desc = "TCP data" if payload else "TCP ACK"
116 flags = TCP_ACK | TCP_PSH if payload else TCP_ACK
122 payload)
128 ack_delta = was_syn_or_fin + len(original.payload)
Dtun_twister.py211 ip_layer = packet.payload
213 packet.payload = twisted_ip_layer
Dtcp_repair_test.py107 def sendData(self, netid, version, sock, payload): argument
108 sock.send(payload)
113 self.last_received, payload)
116 def receiveData(self, netid, version, payload): argument
121 self.last_sent, payload)
Dxfrm_test.py60 esp_hdr, _ = cstruct.Read(str(udp_hdr.payload), xfrm.EspHdr)
295 payload = str(packet.payload)[8:]
297 payload = spi_seq + payload[len(spi_seq):]
304 scapy.UDP(sport=4500, dport=encap_port) / payload)
530 self.assertEqual("output hello", str(output_pkt[scapy.UDP].payload))
593 self.assertEqual("output hello", str(output_pkt[scapy.UDP].payload))
Dtcp_fastopen_test.py118 t.payload = scapy.Raw(net_test.UDP_PAYLOAD)
Dtcp_test.py120 payload=net_test.UDP_PAYLOAD)
Dmultinetwork_base.py522 def SendOnNetid(self, version, s, dstaddr, dstport, netid, payload, cmsgs): argument
529 csocket.Sendmsg(s, (dstaddr, dstport), payload, cmsgs, csocket.MSG_CONFIRM)
560 packets.append(ether.payload)
Dping6_test.py208 self.IPv6Packet(ether.payload)
210 self.IPv4Packet(ether.payload)