Lines Matching refs:srvaddr
415 struct sockaddr_un srvaddr;
430 memset((char *)&srvaddr, 0, sizeof(srvaddr));
431 srvaddr.sun_family = AF_UNIX;
432 strncpy(srvaddr.sun_path, pwpath, sizeof(srvaddr.sun_path));
433 r = connect(s, (struct sockaddr *)&srvaddr, sizeof(srvaddr));
507 struct sockaddr_un srvaddr;
510 char pwpath[sizeof(srvaddr.sun_path)];
605 memset((char *)&srvaddr, 0, sizeof(srvaddr));
606 srvaddr.sun_family = AF_UNIX;
607 strncpy(srvaddr.sun_path, pwpath, sizeof(srvaddr.sun_path));
610 int r = connect(s, (struct sockaddr *) &srvaddr, sizeof(srvaddr));