Lines Matching refs:skaddr
42 struct sockaddr_un skaddr; in opensocket() local
47 memset(&skaddr, 0, sizeof(skaddr)); in opensocket()
48 skaddr.sun_family = AF_LOCAL; in opensocket()
49 strcpy(skaddr.sun_path, sock_name); in opensocket()
51 ret = bind(*sockfd, (struct sockaddr *)&skaddr, in opensocket()
52 SUN_LEN(&skaddr)); in opensocket()
66 memset(&skaddr, 0, sizeof(skaddr)); in opensocket()
67 sklen = sizeof(skaddr); in opensocket()
69 ret = accept(*sockfd, (struct sockaddr *)&skaddr, in opensocket()
81 struct sockaddr_un skaddr; in opensocket() local
83 memset(&skaddr, 0, sizeof(skaddr)); in opensocket()
84 skaddr.sun_family = AF_LOCAL; in opensocket()
85 strcpy(skaddr.sun_path, sock_name); in opensocket()
87 ret = connect(*sockfd, (struct sockaddr *)&skaddr, in opensocket()
88 SUN_LEN(&skaddr)); in opensocket()