Lines Matching refs:IP
26 * It will terminate when 5 IP packets from 1.2.3.4 have been sniffed
30 "lfilter": lambda p: IP in p and p[IP].src == "1.2.3.4"}
35 * It will terminate when 5 IP packets from 1.2.3.4 have been forwarded
38 "lfilter": lambda p: IP in p and p[IP].src == "1.2.3.4"})
41 = Send five IP packets from 1.2.3.4 to the tap0 **interface**
43 sendp([Ether(dst=ETHER_BROADCAST) / IP(src="1.2.3.4") / ICMP()], iface="tap0",
51 * It will terminate when 5 IP packets from 2.3.4.5 have been sniffed
55 "lfilter": lambda p: IP in p and p[IP].src == "2.3.4.5"}
60 * It will "NAT" packets from 1.2.3.4 to 2.3.4.5 and will terminate when 5 IP packets have been forw…
62 if IP in pkt and pkt[IP].src == "1.2.3.4":
63 pkt[IP].src = "2.3.4.5"
64 del pkt[IP].chksum
71 "lfilter": lambda p: IP in p and p[IP].src == "1.2.3.4"})
74 = Send five IP packets from 1.2.3.4 to the tap0 **interface**
76 sendp([Ether(dst=ETHER_BROADCAST) / IP(src="1.2.3.4") / ICMP()], iface="tap0",
108 * It will terminate when 5 IP packets from 1.2.3.4 have been sniffed
112 "lfilter": lambda p: IP in p and p[IP].src == "1.2.3.4"}
117 * It will terminate when 5 IP packets from 1.2.3.4 have been forwarded.
121 "lfilter": lambda p: IP in p and p[IP].src == "1.2.3.4"})
124 = Send five IP packets from 1.2.3.4 to the tun0 **interface**
127 send(IP(src="1.2.3.4", dst="1.2.3.4") / ICMP(), count=5)
135 * It will terminate when 5 IP packets from 2.3.4.5 have been sniffed
139 "lfilter": lambda p: IP in p and p[IP].src == "2.3.4.5"}
144 * It will "NAT" packets from 1.2.3.4 to 2.3.4.5 and will terminate when 5 IP packets have been forw…
146 if IP in pkt and pkt[IP].src == "1.2.3.4":
147 pkt[IP].src = "2.3.4.5"
148 del pkt[IP].chksum
155 "lfilter": lambda p: IP in p and p[IP].src == "1.2.3.4"})
158 = Send five IP packets from 1.2.3.4 to the tun0 **interface**
161 send(IP(src="1.2.3.4", dst="1.2.3.4") / ICMP(), count=5)