Searched refs:sa (Results 1 – 7 of 7) sorted by relevance
/device/google/cuttlefish/common/libs/device_config/ |
D | host_device_config.cpp | 63 struct sockaddr_in* sa; in ParseInterfaceAttributes() local 67 sa = reinterpret_cast<sockaddr_in*>(ifa->ifa_addr); in ParseInterfaceAttributes() 68 addr_str = inet_ntoa(sa->sin_addr); in ParseInterfaceAttributes() 70 auto gateway_s_addr = ntohl(sa->sin_addr.s_addr); in ParseInterfaceAttributes() 73 sa = reinterpret_cast<sockaddr_in*>(ifa->ifa_broadaddr); in ParseInterfaceAttributes() 74 addr_str = inet_ntoa(sa->sin_addr); in ParseInterfaceAttributes() 76 auto broadcast_s_addr = ntohl(sa->sin_addr.s_addr); in ParseInterfaceAttributes() 89 sa = reinterpret_cast<sockaddr_in*>(ifa->ifa_netmask); in ParseInterfaceAttributes() 90 this->ril_prefixlen = number_of_ones(sa->sin_addr.s_addr); in ParseInterfaceAttributes() 91 auto netmask_s_addr = ntohl(sa->sin_addr.s_addr); in ParseInterfaceAttributes()
|
/device/google/cuttlefish/common/libs/net/ |
D | netlink_client.cpp | 56 struct sockaddr_nl sa; in CheckResponse() local 57 struct msghdr msg = { &sa, sizeof(sa), &iov, 1, NULL, 0, 0 }; in CheckResponse()
|
/device/google/contexthub/util/nanotool/ |
D | nanotool.cpp | 404 struct sigaction sa; in SetHandlers() local 405 memset(&sa, 0, sizeof(sa)); in SetHandlers() 406 sa.sa_handler = SignalHandler; in SetHandlers() 407 sigaction(SIGINT, &sa, NULL); in SetHandlers()
|
/device/generic/goldfish/network/netmgr/ |
D | monitor.cpp | 138 struct sockaddr* sa = reinterpret_cast<struct sockaddr*>(&addr); in openSocket() local 139 if (::bind(mSocketFd, sa, sizeof(addr)) != 0) { in openSocket()
|
/device/generic/goldfish/radio/ril/ |
D | if_monitor.cpp | 132 struct sockaddr* sa = reinterpret_cast<struct sockaddr*>(&addr); in init() local 133 if (::bind(mSocketFd, sa, sizeof(addr)) != 0) { in init()
|
/device/google/cuttlefish/guest/hals/ril/reference-ril/ |
D | reference-ril.c | 5530 struct sockaddr_vm sa; local 5531 memset(&sa, 0, sizeof(struct sockaddr_vm)); 5532 sa.svm_family = AF_VSOCK; 5533 sa.svm_cid = VMADDR_CID_HOST; 5534 sa.svm_port = s_modem_simulator_port; 5536 if (connect(fd, (struct sockaddr *)(&sa), sizeof(sa)) < 0) {
|
/device/google/coral/audio/acdbdata/OEM/sm8150-iaxxx-jaws-snd-card/ |
D | workspaceFile.qwsp | 1 …Bh/P+mbZiKVQlWOqrWQXv+pHj+Yu4VS9K3ar3X55H+s3oOd+1er8NLeUG7y3iYQVfd1FbsY4EL+sa/aCONjNu7paNBuKeba+eP…
|