Home
last modified time | relevance | path

Searched refs:RandShort (Results 1 – 14 of 14) 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/doc/scapy/
Dusage.rst386 >>> sr(IP(dst="192.168.1.1")/TCP(sport=RandShort(),dport=[440,441,442,443],flags="S"))
460 >>> ans, unans = sr(IP(dst=target, ttl=(4,25),id=RandShort())/TCP(flags=0x2))
932 >>> a, b = sr(IP(dst="www.target.com")/TCP(sport=[RandShort()]*1000))
1294 …>>> ans, unans = traceroute("4.2.2.1",l4=UDP(sport=RandShort())/DNS(qd=DNSQR(qname="thesprawl.org"…
Dadvanced_usage.rst609 self.my_tid = self.sport or RandShort()._fix()
/external/scapy/doc/notebooks/
DScapy in 15 minutes.ipynb84 …=RandShort()), IP(dst=\"8.8.8.8\", ttl=(1, 8), options=IPOption_Traceroute())/ICMP(seq=RandShort()…
1133 …" rep /= Dot11(addr1=req.addr2, addr2=self.mac, addr3=self.mac, ID=RandShort(), SC=RandShort())…
/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…