Home
last modified time | relevance | path

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

/external/openssh/regress/
Dnetcat.c519 struct sockaddr_un sun_sa; in unix_bind() local
527 memset(&sun_sa, 0, sizeof(struct sockaddr_un)); in unix_bind()
528 sun_sa.sun_family = AF_UNIX; in unix_bind()
530 if (strlcpy(sun_sa.sun_path, path, sizeof(sun_sa.sun_path)) >= in unix_bind()
531 sizeof(sun_sa.sun_path)) { in unix_bind()
537 if (bind(s, (struct sockaddr *)&sun_sa, SUN_LEN(&sun_sa)) < 0) { in unix_bind()
551 struct sockaddr_un sun_sa; in unix_connect() local
563 memset(&sun_sa, 0, sizeof(struct sockaddr_un)); in unix_connect()
564 sun_sa.sun_family = AF_UNIX; in unix_connect()
566 if (strlcpy(sun_sa.sun_path, path, sizeof(sun_sa.sun_path)) >= in unix_connect()
[all …]