Searched refs:SUN_LEN (Results 1 - 20 of 20) sorted by relevance

/netbsd-current/usr.sbin/lpr/common_source/
H A Dstartdaemon.c77 #ifndef SUN_LEN
78 #define SUN_LEN(unp) (strlen((unp)->sun_path) + 2) macro
82 (int)SUN_LEN(&un)) < 0) {
/netbsd-current/sys/sys/
H A Dun.h107 #define SUN_LEN(su) \ macro
/netbsd-current/tests/include/sys/
H A Dt_socket.c105 if (rump_sys_bind(s1, (struct sockaddr *)&sun, SUN_LEN(&sun)) == -1)
121 if (rump_sys_connect(s2, (struct sockaddr *)&sun, SUN_LEN(&sun)) == -1)
/netbsd-current/external/bsd/libbind/dist/irs/
H A Dirp.c59 #if !defined(SUN_LEN)
60 #define SUN_LEN(su) \ macro
186 socklen = SUN_LEN(&uaddr);
/netbsd-current/external/bsd/tmux/dist/
H A Dcompat.h225 #ifndef SUN_LEN
226 #define SUN_LEN(sun) (sizeof (sun)->sun_path) macro
/netbsd-current/external/bsd/dhcpcd/dist/src/
H A Dcontrol.c51 #ifndef SUN_LEN
52 #define SUN_LEN(su) \ macro
415 len = (socklen_t)SUN_LEN(&sa);
547 len = (socklen_t)SUN_LEN(&sa);
/netbsd-current/regress/sys/kern/unfdpass/
H A Dunfdpass.c168 sun.sun_len = SUN_LEN(&sun);
373 sun.sun_len = SUN_LEN(&sun);
/netbsd-current/regress/sys/compat/
H A Duipc_syscalls_43.c193 if (bind(s, (struct sockaddr *) &sun, SUN_LEN(&sun)))
/netbsd-current/usr.sbin/apm/
H A Dapm.c137 s_un.sun_len = SUN_LEN(&s_un);
/netbsd-current/tests/fs/tmpfs/
H A Dh_tools.c237 error = bind(fd, (struct sockaddr *)&addr, SUN_LEN(&addr));
/netbsd-current/usr.sbin/apmd/
H A Dapmd.c164 s_un.sun_len = SUN_LEN(&s_un);
/netbsd-current/tests/net/net/
H A Dt_unix.c254 sl = SUN_LEN(sun);
/netbsd-current/lib/libc/rpc/
H A Drpc_generic.c772 len = SUN_LEN(sun);
H A Drpcb_clnt.c452 tsize = SUN_LEN(&sun);
/netbsd-current/usr.sbin/rpcbind/
H A Drpcbind.c351 sun.sun_len = SUN_LEN(&sun);
/netbsd-current/lib/librumpuser/
H A Dsp_common.c674 s_un.sun_len = SUN_LEN(&s_un);
/netbsd-current/usr.sbin/lpr/lpd/
H A Dlpd.c730 un.sun_len = SUN_LEN(&un);
/netbsd-current/games/hunt/huntd/
H A Ddriver.c172 *len = SUN_LEN(sun);
/netbsd-current/usr.sbin/syslogd/
H A Dsyslogd.c508 #ifndef SUN_LEN
509 #define SUN_LEN(unp) (strlen((unp)->sun_path) + 2) macro
527 (struct sockaddr *)&sunx, SUN_LEN(&sunx)) < 0 ||
/netbsd-current/usr.bin/rpcinfo/
H A Drpcinfo.c329 nbuf.len = sun.sun_len = SUN_LEN(&sun);

Completed in 236 milliseconds