Home
last modified time | relevance | path

Searched refs:consumer_addr (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/testing/selftests/net/af_unix/
H A Dtest_unix_oob.c116 void producer(struct sockaddr_un *consumer_addr) in producer() argument
126 if (connect(cfd, (struct sockaddr *)consumer_addr, in producer()
127 sizeof(*consumer_addr)) != 0) { in producer()
178 struct sockaddr_un consumer_addr, paddr; in main() local
179 socklen_t len = sizeof(consumer_addr); in main()
188 memset(&consumer_addr, 0, sizeof(consumer_addr)); in main()
189 consumer_addr.sun_family = AF_UNIX; in main()
192 strcpy(consumer_addr.sun_path, sock_name); in main()
194 if ((bind(lfd, (struct sockaddr *)&consumer_addr, in main()
195 sizeof(consumer_addr))) != 0) { in main()
[all …]