OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:s_un
(Results
1 - 4
of
4
) sorted by relevancy
/src/usr.sbin/apm/
apm.c
128
struct sockaddr_un
s_un
;
local
135
s_un
.sun_family = AF_LOCAL;
136
strncpy(
s_un
.sun_path, sockname, sizeof(
s_un
.sun_path));
137
s_un
.sun_len = SUN_LEN(&
s_un
);
138
if (connect(sock, (struct sockaddr *)&
s_un
,
s_un
.sun_len) == -1) {
/src/lib/librumpuser/
sp_common.c
643
struct sockaddr_un
s_un
;
local
647
if (strlen(addr) >= sizeof(
s_un
.sun_path))
657
memset(&
s_un
, 0, sizeof(
s_un
));
658
s_un
.sun_family = AF_LOCAL;
667
>= sizeof(
s_un
.sun_path))
669
strcpy(
s_un
.sun_path, mywd);
670
strcat(
s_un
.sun_path, "/");
674
strcat(
s_un
.sun_path, addr);
676
s_un
.sun_len = SUN_LEN(&s_un)
[
all
...]
/src/usr.sbin/apmd/
apmd.c
156
struct sockaddr_un
s_un
;
local
162
s_un
.sun_family = AF_LOCAL;
163
strncpy(
s_un
.sun_path, sockname, sizeof(
s_un
.sun_path));
164
s_un
.sun_len = SUN_LEN(&
s_un
);
167
if (bind(sock, (struct sockaddr *)&
s_un
,
s_un
.sun_len) == -1)
/src/usr.bin/nc/
netcat.c
762
struct sockaddr_un
s_un
;
local
770
memset(&
s_un
, 0, sizeof(struct sockaddr_un));
771
s_un
.sun_family = AF_UNIX;
773
if (strlcpy(
s_un
.sun_path, path, sizeof(
s_un
.sun_path)) >=
774
sizeof(
s_un
.sun_path)) {
780
if (bind(s, (struct sockaddr *)&
s_un
, sizeof(
s_un
)) < 0) {
860
struct sockaddr_un
s_un
;
local
871
memset(&
s_un
, 0, sizeof(struct sockaddr_un))
[
all
...]
Completed in 27 milliseconds
Indexes created Sat Feb 21 16:20:20 UTC 2026