Lines Matching refs:dstaddr
56 def UDP(version, srcaddr, dstaddr, sport=0): argument
62 ip(src=srcaddr, dst=dstaddr) /
65 def UDPWithOptions(version, srcaddr, dstaddr, sport=0): argument
67 packet = (scapy.IP(src=srcaddr, dst=dstaddr, ttl=39, tos=0x83) /
71 packet = (scapy.IPv6(src=srcaddr, dst=dstaddr,
77 def SYN(dport, version, srcaddr, dstaddr, sport=0, seq=TCP_SEQ): argument
82 ip(src=srcaddr, dst=dstaddr) /
87 def RST(version, srcaddr, dstaddr, packet): argument
92 ip(src=srcaddr, dst=dstaddr) /
97 def SYNACK(version, srcaddr, dstaddr, packet): argument
101 ip(src=srcaddr, dst=dstaddr) /
106 def ACK(version, srcaddr, dstaddr, packet, payload=""): argument
114 ip(src=srcaddr, dst=dstaddr) /
120 def FIN(version, srcaddr, dstaddr, packet): argument
126 ip(src=srcaddr, dst=dstaddr) /
131 def GRE(version, srcaddr, dstaddr, proto, packet): argument
133 ip = scapy.IP(src=srcaddr, dst=dstaddr, proto=net_test.IPPROTO_GRE)
135 ip = scapy.IPv6(src=srcaddr, dst=dstaddr, nh=net_test.IPPROTO_GRE)
139 def ICMPPortUnreachable(version, srcaddr, dstaddr, packet): argument
144 scapy.IP(src=srcaddr, dst=dstaddr, proto=1, tos=0xc0) /
148 scapy.IPv6(src=srcaddr, dst=dstaddr) /
151 def ICMPPacketTooBig(version, srcaddr, dstaddr, packet): argument
154 scapy.IP(src=srcaddr, dst=dstaddr, proto=1) /
160 scapy.IPv6(src=srcaddr, dst=dstaddr) /
163 def ICMPEcho(version, srcaddr, dstaddr): argument
166 packet = (ip(src=srcaddr, dst=dstaddr) /
171 def ICMPReply(version, srcaddr, dstaddr, packet): argument
176 packet = (ip(src=srcaddr, dst=dstaddr) /
192 def NA(srcaddr, dstaddr, srcmac): argument
193 packet = (scapy.IPv6(src=srcaddr, dst=dstaddr) /