Home
last modified time | relevance | path

Searched refs:SockaddrStorage (Results 1 – 2 of 2) sorted by relevance

/kernel/tests/net/test/
Dcsocket.py37 SockaddrStorage = cstruct.Struct("sockaddr_storage", "=H126s", "family data") variable
289 elif alen == len(SockaddrStorage): # Can this ever happen?
290 return SockaddrStorage(addr)
295 def Recvmsg(s, buflen, controllen, flags, addrlen=len(SockaddrStorage)):
340 addr = ctypes.create_string_buffer(len(SockaddrStorage))
Dsock_diag.py151 addr, nla_data = cstruct.Read(nla_data, csocket.SockaddrStorage)