Home | History | Annotate | Download | only in net_test

Lines Matching refs:ICMP

79     layers = ["IP", "ICMP", scapy.ICMPv6EchoRequest]
99 scapy.ICMP(type=11, code=0) /
109 icmp = ip.getlayer(scapy.ICMP)
113 icmp.type != ICMP_ECHO or
114 icmp.code != 0):
125 icmp.type = ICMP_ECHOREPLY
233 # Check address, ICMP type, and ICMP code.
318 # Checks that an ICMP error containing a ping packet that matches the ID
327 scapy.ICMP(type=3, code=0) /
329 scapy.ICMP(type=8, id=port, seq=1))
635 numrows = len(self.ReadProcNetSocket("icmp"))
640 self.assertEquals(numrows + 1, len(self.ReadProcNetSocket("icmp")))
645 numrows = len(self.ReadProcNetSocket("icmp"))
650 self.assertEquals(numrows, len(self.ReadProcNetSocket("icmp")))
657 self.CheckSockStatFile("icmp", "127.0.0.1", 0xace, "127.0.0.1", 0xbeef, 1)