Searched refs:RandShort (Results 1 – 14 of 14) sorted by relevance
/external/scapy/scapy/contrib/ |
D | skinny.py | 427 LEIntField('port', RandShort()), 447 LEIntField('port', RandShort()), 464 LEIntField('port', RandShort()),
|
D | gtp_v2.py | 100 ThreeBytesField("seq", RandShort()), 724 ShortField("PortNumber", RandShort())]
|
D | eigrp.py | 286 return RandShort()
|
/external/scapy/scapy/modules/ |
D | p0f.py | 24 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/ |
D | snmp.py | 249 …r = sr1(IP(dst=dst)/UDP(sport=RandShort())/SNMP(community=community, PDU=SNMPnext(varbindlist=[SNM…
|
D | tftp.py | 139 self.my_tid = self.sport or RandShort()._fix() 234 self.my_tid = self.sport or RandShort()._fix()
|
D | inet.py | 1463 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…
|
D | inet6.py | 61 from scapy.volatile import RandInt, RandIP6, RandShort 3203 def traceroute6(target, dport=80, minttl=1, maxttl=30, sport=RandShort(),
|
/external/scapy/scapy/ |
D | volatile.py | 166 class RandShort(RandNum): class
|
D | fields.py | 101 return {"B":RandByte,"H":RandShort,"I":RandInt, "Q":RandLong}[fmtt]()
|
/external/scapy/doc/scapy/ |
D | usage.rst | 386 >>> 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"…
|
D | advanced_usage.rst | 609 self.my_tid = self.sport or RandShort()._fix()
|
/external/scapy/doc/notebooks/ |
D | Scapy in 15 minutes.ipynb | 84 …=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/ |
D | regression.uts | 5897 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…
|