Home
last modified time | relevance | path

Searched refs:RandShort (Results 1 – 11 of 11) sorted by relevance

/external/scapy/scapy/contrib/
Dskinny.py427 LEIntField('port', RandShort()),
447 LEIntField('port', RandShort()),
464 LEIntField('port', RandShort()),
Dgtp_v2.py100 ThreeBytesField("seq", RandShort()),
724 ShortField("PortNumber", RandShort())]
Deigrp.py286 return RandShort()
/external/scapy/scapy/modules/
Dp0f.py24 from scapy.volatile import RandInt, RandByte, RandChoice, RandNum, RandShort, RandString
499 pkt.payload.window = RandShort()
528 elif qq == 'U': pkt.payload.urgptr = RandShort()
/external/scapy/scapy/layers/
Dsnmp.py249 …r = sr1(IP(dst=dst)/UDP(sport=RandShort())/SNMP(community=community, PDU=SNMPnext(varbindlist=[SNM…
Dtftp.py139 self.my_tid = self.sport or RandShort()._fix()
234 self.my_tid = self.sport or RandShort()._fix()
Dinet.py1463 def traceroute(target, dport=80, minttl=1, maxttl=30, sport=RandShort(), l4 = None, filter=None, ti…
1475 …a,b = sr(IP(dst=target, id=RandShort(), ttl=(minttl,maxttl))/TCP(seq=RandInt(),sport=sport, dport=…
1480 a,b = sr(IP(dst=target, id=RandShort(), ttl=(minttl,maxttl))/l4,
1668 …pkt = IP(dst=target, id=RandShort(), options=b"\x00"*40, flags=1)/UDP(sport=sport, dport=sport)/lo…
Dinet6.py61 from scapy.volatile import RandInt, RandIP6, RandShort
3203 def traceroute6(target, dport=80, minttl=1, maxttl=30, sport=RandShort(),
/external/scapy/scapy/
Dvolatile.py166 class RandShort(RandNum): class
Dfields.py101 return {"B":RandByte,"H":RandShort,"I":RandInt, "Q":RandLong}[fmtt]()
/external/scapy/test/
Dregression.uts5897 pkt = IP(raw(IP(src="10.0.0.1", dst="8.8.8.8")/UDP(sport=RandShort(), dport=53)/DNS(qd=DNSQR(qname=…
5903 pkt = IP(raw(IP(src="10.0.0.1", dst="8.8.8.8")/TCP(sport=RandShort(), dport=53, flags="P")/DNS(qd=D…