Searched refs:SockaddrIn6 (Results 1 – 3 of 3) sorted by relevance
35 SockaddrIn6 = cstruct.Struct("sockaddr_in6", "=HHI16sI", variable120 return SockaddrIn6((family, socket.ntohs(port), socket.ntohl(flowinfo),192 source, pad = cstruct.Read(source, SockaddrIn6)287 elif alen == len(SockaddrIn6) and SockaddrIn6(addr).family == socket.AF_INET6:288 return SockaddrIn6(addr)
155 addr = csocket.SockaddrIn6(addr.Pack())
438 ipv4sockaddr = csocket.SockaddrIn6(440 "\x00" * (len(csocket.SockaddrIn6) - len(csocket.SockaddrIn)))