Home
last modified time | relevance | path

Searched refs:myaddr (Results 1 – 10 of 10) sorted by relevance

/kernel/tests/net/test/
Dforwarding_test.py66 myaddr = self.MyAddress(version, netid)
71 self.iproute.DelAddress(myaddr, 64, self.ifindices[netid])
73 desc, udp_pkt = packets.UDPWithOptions(version, myaddr, remoteaddr, 53)
75 desc_fwded, udp_fwd = packets.UDPWithOptions(version, myaddr, remoteaddr,
104 myaddr = self.MyAddress(version, netid)
106 desc, syn = packets.SYN(listenport, version, remoteaddr, myaddr)
107 synack_desc, synack = packets.SYNACK(version, myaddr, remoteaddr, syn)
111 establishing_ack = packets.ACK(version, remoteaddr, myaddr, reply)[1]
117 desc, fin = packets.FIN(version, myaddr, remoteaddr, establishing_ack)
120 desc, finack = packets.FIN(version, remoteaddr, myaddr, fin)
[all …]
Dtcp_test.py69 _, ack = packets.ACK(self.version, self.myaddr, self.remoteaddr,
71 desc, rst = packets.RST(self.version, self.remoteaddr, self.myaddr,
76 return packets.RST(self.version, self.myaddr, self.remoteaddr,
80 return packets.FIN(self.version, self.myaddr, self.remoteaddr,
91 myaddr = self.myaddr = self.MyAddress(version, netid)
100 desc, syn = packets.SYN(self.port, version, remoteaddr, myaddr)
101 synack_desc, synack = packets.SYNACK(version, myaddr, remoteaddr, syn)
107 establishing_ack = packets.ACK(version, remoteaddr, myaddr, reply)[1]
119 desc, data = packets.ACK(version, myaddr, remoteaddr, establishing_ack,
124 desc, fin = packets.FIN(version, remoteaddr, myaddr, data)
[all …]
Dtcp_fastopen_test.py80 myaddr = self.MyAddress(version, netid)
83 desc, syn = packets.SYN(53, version, myaddr, remoteaddr, port, seq=None)
91 desc, synack = packets.SYNACK(version, remoteaddr, myaddr, syn)
96 desc, ack = packets.ACK(version, myaddr, remoteaddr, synack)
101 desc, rst = packets.RST(version, myaddr, remoteaddr, synack)
115 desc, syn = packets.SYN(53, version, myaddr, remoteaddr, port, seq=None)
Dtcp_repair_test.py81 myaddr = self.MyAddress(version, netid)
85 desc, expect_syn = packets.SYN(TEST_PORT, version, myaddr, remoteaddr, port, seq=None)
88 synack_desc, synack = packets.SYNACK(version, remoteaddr, myaddr, syn)
92 desc, ack = packets.ACK(version, myaddr, remoteaddr, synack)
102 myaddr = self.MyAddress(version, netid)
103 desc, fin = packets.FIN(version, remoteaddr, myaddr, self.last_sent)
111 myaddr = self.MyAddress(version, netid)
112 desc, send = packets.ACK(version, myaddr, remoteaddr,
118 myaddr = self.MyAddress(version, netid)
120 desc, received = packets.ACK(version, remoteaddr, myaddr,
[all …]
Dxfrm_test.py213 myaddr = self.MyAddress(4, netid)
221 encap_sock.bind((myaddr, 0))
230 return netid, myaddr, remoteaddr, encap_sock, encap_port, s
233 def _SetupUdpEncapSaPair(self, myaddr, remoteaddr, in_spi, out_spi, argument
241 self.CreateNewSa(myaddr, remoteaddr, out_spi, out_reqid, encaptmpl,
246 self.CreateNewSa(remoteaddr, myaddr, in_spi, in_reqid, encaptmpl,
263 def _VerifyUdpEncapSocket(self, netid, remoteaddr, myaddr, encap_port, sock, argument
303 incoming = (scapy.IP(src=remoteaddr, dst=myaddr) /
327 scapy.IP(src=remoteaddr, dst=myaddr) / scapy.UDP(
332 netid, myaddr, remoteaddr, encap_sock, encap_port, s = \
[all …]
Dmultinetwork_test.py60 myaddr = self.MyAddress(version, netid)
68 desc, expected = packets.ICMPEcho(version, myaddr, dstaddr)
79 myaddr = self.MyAddress(version, netid)
82 desc, expected = packets.SYN(53, version, myaddr, dstaddr,
96 myaddr = self.MyAddress(version, netid)
100 desc, expected = packets.UDP(version, myaddr, dstaddr, sport=None)
125 myaddr = self.MyAddress(version, netid)
129 desc, expected = packets.GRE(version, myaddr, dstaddr, ethertype, inner)
357 for netid, iif, ip_if, myaddr, remoteaddr in self.Combinations(version):
359 desc, packet = gen_packet(version, remoteaddr, myaddr)
[all …]
Dqtaguid_test.py131 desc, finack = packets.ACK(finversion, self.remoteaddr, self.myaddr, fin)
138 desc, rst = packets.RST(version, self.myaddr, self.remoteaddr, self.last_packet)
Dmultinetwork_base.py724 myaddr = self.MyAddress(version, dest_ip_netid)
731 combinations.append((netid, iif, ip_if, myaddr, remoteaddr))
Dsock_diag_test.py579 myaddr = self.MyAddress(version, netid)
582 desc, expected = packets.SYN(53, version, myaddr, dstaddr,
667 desc, finack = packets.ACK(finversion, self.remoteaddr, self.myaddr, fin)
Dxfrm_tunnel_test.py780 myaddr = self.MyAddress(tunnel.version, tunnel.underlying_netid)
781 _, toobig = packets.ICMPPacketTooBig(tunnel.version, intermediate, myaddr,