Home
last modified time | relevance | path

Searched refs:ip (Results 1 – 5 of 5) sorted by relevance

/kernel/tests/net/test/
Dpackets.py58 ip = _GetIpLayer(version)
63 ip(src=srcaddr, dst=dstaddr) /
79 ip = _GetIpLayer(version)
85 ip(src=srcaddr, dst=dstaddr) /
91 ip = _GetIpLayer(version)
95 ip(src=srcaddr, dst=dstaddr) /
102 ip = _GetIpLayer(version)
105 ip(src=srcaddr, dst=dstaddr) /
111 ip = _GetIpLayer(version)
118 ip(src=srcaddr, dst=dstaddr) /
[all …]
Dnet_test.sh138 ip link set lo up
139 ip link set lo mtu 16436
140 ip link set eth0 up
Dping6_test.sh4 ip link set eth0 up
Dping6_test.py127 def IPv4Packet(self, ip): argument
128 icmp = ip.getlayer(scapy.ICMP)
131 if (ip.proto != IPPROTO_ICMP or
137 if not self.ChecksumValid(ip):
140 if ip.ttl < self.MIN_TTL:
141 self.SendTimeExceeded(4, ip)
145 self.SwapAddresses(ip)
146 self.SendPacket(ip)
Drun_net_test.sh212 if ! ip link list $tap > /dev/null; then
215 sudo ip link set $tap up