D | packets.py | 57 def UDP(version, srcaddr, dstaddr, sport=0): argument 63 ip(src=srcaddr, dst=dstaddr) / 66 def UDPWithOptions(version, srcaddr, dstaddr, sport=0, lifetime=39): argument 68 packet = (scapy.IP(src=srcaddr, dst=dstaddr, ttl=lifetime, tos=0x83) / 72 packet = (scapy.IPv6(src=srcaddr, dst=dstaddr, 78 def SYN(dport, version, srcaddr, dstaddr, sport=0, seq=-1): argument 85 ip(src=srcaddr, dst=dstaddr) / 90 def RST(version, srcaddr, dstaddr, packet): argument 95 ip(src=srcaddr, dst=dstaddr) / 101 def SYNACK(version, srcaddr, dstaddr, packet): argument [all …]
|