Searched refs:sun (Results 26 - 50 of 163) sorted by relevance

1234567

/freebsd-11-stable/sys/rpc/
H A Drpc_generic.c302 struct sockaddr_un *sun; local
342 sun = nbuf->buf;
343 if (sbuf_printf(&sb, "%.*s", (int)(sun->sun_len -
345 sun->sun_path) < 0)
369 struct sockaddr_un *sun; local
436 sun = (struct sockaddr_un *)malloc(sizeof *sun, M_RPC,
438 memset(sun, 0, sizeof *sun);
439 sun
[all...]
H A Drpcb_clnt.c360 struct sockaddr_un sun;
362 *targaddr = malloc(sizeof(sun.sun_path));
368 sizeof(sun.sun_path));
442 struct sockaddr_un sun; local
450 memset(&sun, 0, sizeof sun);
456 sun.sun_family = AF_LOCAL;
457 strcpy(sun.sun_path, _PATH_RPCBINDSOCK);
458 sun.sun_len = SUN_LEN(&sun);
[all...]
/freebsd-11-stable/lib/libc/rpc/
H A Drpc_soc.c472 struct sockaddr_un sun; local
491 memset(&sun, 0, sizeof sun);
492 sun.sun_family = AF_LOCAL;
493 if (strlcpy(sun.sun_path, path, sizeof(sun.sun_path)) >=
494 sizeof(sun.sun_path))
496 sun.sun_len = SUN_LEN(&sun);
498 sa = (struct sockaddr *)&sun;
[all...]
H A Drpcb_clnt.c348 struct sockaddr_un sun; local
350 *targaddr = malloc(sizeof(sun.sun_path));
356 sizeof(sun.sun_path));
431 struct sockaddr_un sun; local
438 memset(&sun, 0, sizeof sun);
442 sun.sun_family = AF_LOCAL;
443 strcpy(sun.sun_path, _PATH_RPCBINDSOCK);
444 nbuf.len = sun.sun_len = SUN_LEN(&sun);
654 struct sockaddr_un sun; local
[all...]
/freebsd-11-stable/contrib/blacklist/lib/
H A Dbl.c137 struct sockaddr_un *sun = &b->b_sun; local
186 rv = connect(b->b_fd, (const void *)sun, (socklen_t)sizeof(*sun));
191 __func__, sun->sun_path);
204 __func__, sun->sun_path, strerror(errno));
215 (void)unlink(sun->sun_path);
217 rv = bind(b->b_fd, (const void *)sun, (socklen_t)sizeof(*sun));
224 __func__, sun->sun_path, strerror(errno));
/freebsd-11-stable/contrib/libreadline/examples/rlfe/
H A Dpty.c32 #ifndef sun
41 #if defined(sun) && defined(LOCKPTY) && !defined(TIOCEXCL)
94 #if defined(sun)
95 /* sun's utmp_update program opens the salve side, thus corrupting
139 # ifdef sun
364 #if defined(sun) && defined(TIOCGPGRP) && !defined(SUNOS3)
H A Dos.h50 #ifdef sun
60 #ifdef sun
63 #endif /* sun */
123 #if !defined(sun) && !defined(B43) && !defined(ISC) && !defined(pyr) && !defined(_CX_UX)
371 #if defined(sun) && !defined(SVR4)
/freebsd-11-stable/usr.bin/procstat/
H A Dprocstat_files.c96 struct sockaddr_un *sun; local
100 sun = (struct sockaddr_un *)ss;
101 if (strlen(sun->sun_path) == 0)
104 strlcpy(buffer, sun->sun_path, buflen);
557 struct sockaddr_un *sun = local
560 if (sun->sun_path[0] != 0)
/freebsd-11-stable/contrib/netbsd-tests/kernel/
H A Dt_sysv.c448 union semun sun; local
490 sun.buf = &s_ds;
491 ATF_REQUIRE_MSG(semctl(sender_semid, 0, IPC_STAT, sun) != -1,
498 sun.buf = &s_ds;
499 ATF_REQUIRE_MSG(semctl(sender_semid, 0, IPC_SET, sun) != -1,
504 sun.buf = &s_ds;
505 ATF_REQUIRE_MSG(semctl(sender_semid, 0, IPC_STAT, sun) != -1,
544 sun.val = 1;
545 ATF_REQUIRE_MSG(semctl(sender_semid, 0, SETVAL, sun) != -1,
564 sun
[all...]
/freebsd-11-stable/lib/libc/resolv/
H A Dmtctxres.c25 #if defined(sun) && !defined(__GNUC__)
/freebsd-11-stable/contrib/netcat/
H A Dnetcat.c547 struct sockaddr_un sun; local
555 memset(&sun, 0, sizeof(struct sockaddr_un));
556 sun.sun_family = AF_UNIX;
558 if (strlcpy(sun.sun_path, path, sizeof(sun.sun_path)) >=
559 sizeof(sun.sun_path)) {
565 if (bind(s, (struct sockaddr *)&sun, SUN_LEN(&sun)) < 0) {
579 struct sockaddr_un sun; local
591 memset(&sun,
[all...]
/freebsd-11-stable/contrib/tcsh/
H A Dpathnames.h68 #if ((defined(sun) || defined(__sun__)) && (SYSVREL == 4))
78 #endif /* sun & SVR4 */
H A Dsh.types.h66 #if (defined(sun) || defined(__sun__)) && SYSVREL == 0
88 #endif /* (sun || __sun__) && SYSVREL == 0 */
/freebsd-11-stable/sys/contrib/ipfilter/netinet/
H A Dip_scan.h13 #ifdef sun
/freebsd-11-stable/contrib/binutils/
H A Dconfig.sub142 -sun*os*)
146 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
149 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
957 basic_machine=m68000-sun
960 basic_machine=m68000-sun
964 basic_machine=m68000-sun
968 basic_machine=m68k-sun
972 basic_machine=m68k-sun
976 basic_machine=sparc-sun
980 basic_machine=sparc-sun
[all...]
/freebsd-11-stable/contrib/libreadline/support/
H A Dconfig.sub138 -sun*os*)
142 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
145 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
858 basic_machine=m68000-sun
861 basic_machine=m68000-sun
865 basic_machine=m68000-sun
869 basic_machine=m68k-sun
873 basic_machine=m68k-sun
877 basic_machine=sparc-sun
881 basic_machine=sparc-sun
[all...]
/freebsd-11-stable/crypto/heimdal/
H A Dconfig.sub146 -sun*os*)
150 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
153 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
1021 basic_machine=m68000-sun
1024 basic_machine=m68000-sun
1028 basic_machine=m68000-sun
1032 basic_machine=m68k-sun
1036 basic_machine=m68k-sun
1040 basic_machine=sparc-sun
1044 basic_machine=sparc-sun
[all...]
/freebsd-11-stable/contrib/openbsm/config/
H A Dconfig.sub138 -sun*os*)
142 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
145 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
883 basic_machine=m68000-sun
886 basic_machine=m68000-sun
890 basic_machine=m68000-sun
894 basic_machine=m68k-sun
898 basic_machine=m68k-sun
902 basic_machine=sparc-sun
906 basic_machine=sparc-sun
[all...]
/freebsd-11-stable/usr.sbin/rpc.lockd/
H A Dlockd.c269 struct sockaddr_un sun; local
273 memset(&sun, 0, sizeof sun);
274 sun.sun_family = AF_LOCAL;
276 strcpy(sun.sun_path, _PATH_RPCLOCKDSOCK);
277 sun.sun_len = SUN_LEN(&sun);
283 if (bind(fd, (struct sockaddr *) &sun, sun.sun_len) < 0) {
/freebsd-11-stable/bin/ed/
H A Dglbl.c152 #if defined(sun) || defined(NO_REALLOC_NULL)
162 #if defined(sun) || defined(NO_REALLOC_NULL)
/freebsd-11-stable/usr.sbin/rpcbind/
H A Drpcbind.c263 struct sockaddr_un sun; local
310 memset(&sun, 0, sizeof sun);
311 sun.sun_family = AF_LOCAL;
313 strcpy(sun.sun_path, _PATH_RPCBINDSOCK);
314 sun.sun_len = SUN_LEN(&sun);
316 sa = (struct sockaddr *)&sun;
/freebsd-11-stable/contrib/ntp/kernel/sys/
H A Dbsd_audioirig.h16 #if defined(__STDC__) || (!defined(sun) && !defined(ibm032) && !defined(__GNUC))
/freebsd-11-stable/contrib/ipfilter/ipsend/
H A Dipresend.c38 # ifdef sun
/freebsd-11-stable/usr.sbin/rtadvctl/
H A Drtadvctl.c202 struct sockaddr_un sun; local
207 memset(&sun, 0, sizeof(sun));
208 sun.sun_family = AF_UNIX;
209 sun.sun_len = sizeof(sun);
210 strlcpy(sun.sun_path, s->si_name, sizeof(sun.sun_path));
212 if (connect(s->si_fd, (struct sockaddr *)&sun, sizeof(sun))
[all...]
/freebsd-11-stable/usr.sbin/bhyve/
H A Dpci_virtio_console.c276 struct sockaddr_un sun; local
300 sun.sun_family = AF_UNIX;
301 sun.sun_len = sizeof(struct sockaddr_un);
302 strlcpy(sun.sun_path, basename((char *)path), sizeof(sun.sun_path));
304 if (bindat(fd, s, (struct sockaddr *)&sun, sun.sun_len) < 0) {

Completed in 220 milliseconds

1234567