Home
last modified time | relevance | path

Searched refs:SockaddrIn (Results 1 – 4 of 4) sorted by relevance

/kernel/tests/net/test/
Dcsocket.py34 SockaddrIn = cstruct.Struct("sockaddr_in", "=HH4sxxxxxxxx", "family port addr") variable
126 return SockaddrIn((family, socket.ntohs(port), addr))
285 elif alen == len(SockaddrIn) and SockaddrIn(addr).family == socket.AF_INET:
286 return SockaddrIn(addr)
Dtcp_nuke_addr_test.py53 sockaddr = csocket.SockaddrIn((AF_INET, 0, addr)).Pack()
Dsock_diag.py153 addr = csocket.SockaddrIn(addr.Pack())
Dping6_test.py440 "\x00" * (len(csocket.SockaddrIn6) - len(csocket.SockaddrIn)))