Lines Matching refs:IPV6_PING
272 self.assertRaisesErrno(errno.EDESTADDRREQ, s.send, net_test.IPV6_PING)
284 s.send(net_test.IPV6_PING)
285 self.assertValidPingResponse(s, net_test.IPV6_PING)
295 written = s.sendto(net_test.IPV6_PING, (net_test.IPV6_ADDR, 55))
296 self.assertEquals(len(net_test.IPV6_PING), written)
297 self.assertValidPingResponse(s, net_test.IPV6_PING)
311 written = s.sendto(net_test.IPV6_PING, ("::1", 55))
312 self.assertEquals(len(net_test.IPV6_PING), written)
386 s6, ipv4sockaddr, net_test.IPV6_PING, None, 0)
461 s.sendto(net_test.IPV6_PING, (net_test.IPV6_ADDR, 9132))
540 s.sendto(net_test.IPV6_PING, (net_test.IPV6_ADDR, 55))
545 s.sendto(net_test.IPV6_PING, (net_test.IPV6_ADDR, 55))
552 s.sendto, net_test.IPV6_PING, ("fe80::1", 55))
555 s.sendto(net_test.IPV6_PING, ("fe80::1", 55, 0, self.ifindex))
560 s.sendto(net_test.IPV6_PING, (net_test.IPV6_ADDR, 55))
561 self.assertValidPingResponse(s, net_test.IPV6_PING)
562 s.sendto(net_test.IPV6_PING, ("2001:4860:4860::8844", 55))
563 self.assertValidPingResponse(s, net_test.IPV6_PING)
564 self.assertRaisesErrno(errno.EINVAL, s.sendto, net_test.IPV6_PING,
573 s.sendto(net_test.IPV6_PING, (net_test.IPV6_ADDR, 93, 0xdead, 0))
574 self.assertValidPingResponse(s, net_test.IPV6_PING) # Checks flow label==0.
581 self.assertRaisesErrno(errno.EINVAL, s.sendto, net_test.IPV6_PING,
589 s.sendto(net_test.IPV6_PING, (net_test.IPV6_ADDR, 93, 0xdead, 0))
607 s.sendto(net_test.IPV6_PING, (net_test.IPV6_ADDR, 55))
617 s.sendto(net_test.IPV6_PING, ("ff02::1", 55, 0, self.ifindex))
618 self.assertValidPingResponse(s, net_test.IPV6_PING)
619 self.assertValidPingResponse(s, net_test.IPV6_PING)
630 data = net_test.IPV6_PING + "\x01" + 19994 * "\x00" + "aaaaa"
674 s.sendto(net_test.IPV6_PING, (net_test.IPV6_ADDR, 12345))
687 s.send(net_test.IPV6_PING)
691 self.assertValidPingResponse(s, net_test.IPV6_PING)