Searched defs:p_addr (Results 1 - 1 of 1) sorted by relevance

/system/core/libcutils/
H A Dsocket_local_client.c46 struct sockaddr_un *p_addr, socklen_t *alen)
48 memset (p_addr, 0, sizeof (*p_addr));
57 if ((namelen + 1) > sizeof(p_addr->sun_path)) {
66 p_addr->sun_path[0] = 0;
67 memcpy(p_addr->sun_path + 1, name, namelen);
73 if (namelen > sizeof(*p_addr)
78 strcpy(p_addr->sun_path, FILESYSTEM_SOCKET_PREFIX);
79 strcat(p_addr->sun_path, name);
86 if (namelen > sizeof(*p_addr)
45 socket_make_sockaddr_un(const char *name, int namespaceId, struct sockaddr_un *p_addr, socklen_t *alen) argument
[all...]

Completed in 2 milliseconds