Home
last modified time | relevance | path

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

/packages/modules/adb/
Dsysdeps_win32.cpp849 static void to_WSAMSG(const struct adb_msghdr* msg, WSAMSG* wmsg) { in to_WSAMSG() argument
852 memset(wmsg, 0, sizeof(decltype(*wmsg))); in to_WSAMSG()
853 wmsg->name = (struct sockaddr*)msg->msg_name; in to_WSAMSG()
855 switch (wmsg->name->sa_family) { in to_WSAMSG()
857 auto* sin = reinterpret_cast<struct sockaddr_in*>(wmsg->name); in to_WSAMSG()
862 auto* sin = reinterpret_cast<struct sockaddr_in6*>(wmsg->name); in to_WSAMSG()
870 wmsg->namelen = msg->msg_namelen; in to_WSAMSG()
871 wmsg->lpBuffers = msgbuf; in to_WSAMSG()
872 wmsg->dwBufferCount = msg->msg_iovlen; in to_WSAMSG()
873 wmsg->Control.len = msg->msg_controllen; in to_WSAMSG()
[all …]