Lines Matching refs:sunaddr
3334 struct sockaddr_un sunaddr; local
3343 if (strlen(fwd->connect_path) > sizeof(sunaddr.sun_path)) {
3376 if (strlen(fwd->listen_path) > sizeof(sunaddr.sun_path)) {
3963 struct sockaddr_un *sunaddr; local
3964 char ntop[NI_MAXHOST], strport[MAXIMUM(NI_MAXSERV,sizeof(sunaddr->sun_path))];
3970 sunaddr = (struct sockaddr_un *)cctx->ai->ai_addr;
3972 strlcpy(strport, sunaddr->sun_path, sizeof(strport));
4047 struct sockaddr_un *sunaddr; local
4050 if (strlen(name) > sizeof(sunaddr->sun_path)) {
4060 ai = xmalloc(sizeof(*ai) + sizeof(*sunaddr));
4061 memset(ai, 0, sizeof(*ai) + sizeof(*sunaddr));
4063 ai->ai_addrlen = sizeof(*sunaddr);
4067 sunaddr = (struct sockaddr_un *)ai->ai_addr;
4068 sunaddr->sun_family = AF_UNIX;
4069 strlcpy(sunaddr->sun_path, name, sizeof(sunaddr->sun_path));