Searched refs:payload (Results 1 – 8 of 8) sorted by relevance
/kernel/tests/net/test/ |
D | packets.py | 110 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)
|
D | tun_twister.py | 211 ip_layer = packet.payload 213 packet.payload = twisted_ip_layer
|
D | tcp_repair_test.py | 107 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)
|
D | xfrm_test.py | 60 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))
|
D | tcp_fastopen_test.py | 118 t.payload = scapy.Raw(net_test.UDP_PAYLOAD)
|
D | tcp_test.py | 120 payload=net_test.UDP_PAYLOAD)
|
D | multinetwork_base.py | 522 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)
|
D | ping6_test.py | 208 self.IPv6Packet(ether.payload) 210 self.IPv4Packet(ether.payload)
|