Lines Matching refs:sport
57 def UDP(version, srcaddr, dstaddr, sport=0): argument
60 if sport == 0:
61 sport = _RandomPort()
64 scapy.UDP(sport=sport, dport=53) / UDP_PAYLOAD)
66 def UDPWithOptions(version, srcaddr, dstaddr, sport=0, lifetime=39): argument
69 scapy.UDP(sport=sport, dport=53) /
74 scapy.UDP(sport=sport, dport=53) /
78 def SYN(dport, version, srcaddr, dstaddr, sport=0, seq=-1): argument
80 if sport == 0:
81 sport = _RandomPort()
86 scapy.TCP(sport=sport, dport=dport,
96 scapy.TCP(sport=original.dport, dport=original.sport,
106 scapy.TCP(sport=original.dport, dport=original.sport,
119 scapy.TCP(sport=original.dport, dport=original.sport,
131 scapy.TCP(sport=original.dport, dport=original.sport,