| /freebsd/tools/regression/sockets/unix_bindconnect/ |
| H A D | unix_bindconnect.c | 86 struct sockaddr_un sun; in bind_test() local 102 bzero(&sun, sizeof(sun)); in bind_test() 103 sun.sun_len = sizeof(sun); in bind_test() 104 sun.sun_family = AF_UNIX; in bind_test() 105 if (snprintf(sun.sun_path, sizeof(sun.sun_path), "%s", socket_path) in bind_test() 106 >= (int)sizeof(sun.sun_path)) { in bind_test() 107 warn("bind_test: snprintf(sun.sun_path)"); in bind_test() 112 if (bind(sock1, (struct sockaddr *)&sun, sizeof(sun)) < 0) { in bind_test() 113 warn("bind_test: bind(sun) #1"); in bind_test() 124 if (bind(sock1, (struct sockaddr *)&sun, sizeof(sun)) == 0) { in bind_test() [all …]
|
| /freebsd/tools/regression/sockets/unix_sendtorace/ |
| H A D | unix_sendtorace.c | 69 struct sockaddr_un sun; in stream_client() local 74 bzero(&sun, sizeof(sun)); in stream_client() 75 sun.sun_len = sizeof(sun); in stream_client() 76 sun.sun_family = AF_UNIX; in stream_client() 77 strcpy(sun.sun_path, socket_path); in stream_client() 84 len = sendto(fd, &c, sizeof(c), 0, (struct sockaddr *)&sun, in stream_client() 85 sizeof(sun)); in stream_client() 95 struct sockaddr_un sun; in stream_test() local 103 bzero(&sun, sizeof(sun)); in stream_test() 104 sun.sun_len = sizeof(sun); in stream_test() [all …]
|
| /freebsd/contrib/netbsd-tests/lib/libc/sys/ |
| H A D | t_getsockname.c | 49 struct sockaddr_un sun; in ATF_TC_BODY() local 54 len = sizeof(sun); in ATF_TC_BODY() 55 memset(&sun, 0, sizeof(sun)); in ATF_TC_BODY() 56 ATF_REQUIRE(getsockname(sd, (struct sockaddr *)&sun, &len) != -1); in ATF_TC_BODY() 57 ATF_CHECK(sun.sun_family == AF_UNIX); in ATF_TC_BODY() 58 ATF_CHECK(strcmp(sun.sun_path, "") == 0); in ATF_TC_BODY() 60 len = sizeof(sun); in ATF_TC_BODY() 61 memset(&sun, 0, sizeof(sun)); in ATF_TC_BODY() 62 sun.sun_family = AF_UNIX; in ATF_TC_BODY() 63 strcpy(sun.sun_path, path); in ATF_TC_BODY() [all …]
|
| /freebsd/contrib/netbsd-tests/net/net/ |
| H A D | t_unix.c | 103 struct sockaddr_un sun; in acc() local 109 memset(&sun, 0, sizeof(sun)); in acc() 110 len = sizeof(sun); in acc() 111 if ((s = accept(s, (struct sockaddr *)&sun, &len)) == -1) in acc() 118 print("accept", &sun, len); in acc() 122 if (sun.sun_family != AF_UNIX) in acc() 123 FAIL("sun->sun_family %d != AF_UNIX", sun.sun_family); in acc() 125 if (sun.sun_len != 2) in acc() 126 FAIL("sun->sun_len %d != 2", sun.sun_len); in acc() 128 for (size_t i = 0; i < sizeof(sun.sun_path); i++) in acc() [all …]
|
| /freebsd/include/rpcsvc/ |
| H A D | rwall.x | 2 % * Sun RPC is a product of Sun Microsystems, Inc. and is provided for 5 % * may copy or modify Sun RPC without charge, but are not authorized 8 % * Sun Microsystems, Inc. 10 % * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE 14 % * Sun RPC is provided with no support and without any obligation on the 15 % * part of Sun Microsystems, Inc. to assist in its use, correction, 18 % * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE 19 % * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC 22 % * In no event will Sun Microsystems, Inc. be liable for any lost revenue 24 % * Sun has been advised of the possibility of such damages. [all …]
|
| H A D | ypupdate_prot.x | 2 % * Sun RPC is a product of Sun Microsystems, Inc. and is provided for 5 % * may copy or modify Sun RPC without charge, but are not authorized 8 % * Sun Microsystems, Inc. 10 % * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE 14 % * Sun RPC is provided with no support and without any obligation on the 15 % * part of Sun Microsystems, Inc. to assist in its use, correction, 18 % * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE 19 % * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC 22 % * In no event will Sun Microsystems, Inc. be liable for any lost revenue 24 % * Sun has been advised of the possibility of such damages. [all …]
|
| H A D | nis_cache.x | 2 % * Sun RPC is a product of Sun Microsystems, Inc. and is provided for 5 % * may copy or modify Sun RPC without charge, but are not authorized 8 % * Sun Microsystems, Inc. 10 % * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE 14 % * Sun RPC is provided with no support and without any obligation on the 15 % * part of Sun Microsystems, Inc. to assist in its use, correction, 18 % * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE 19 % * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC 22 % * In no event will Sun Microsystems, Inc. be liable for any lost revenue 24 % * Sun has been advised of the possibility of such damages. [all …]
|
| H A D | nis_db.h | 2 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for 5 * may copy or modify Sun RPC without charge, but are not authorized 9 * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE 13 * Sun RPC is provided with no support and without any obligation on the 14 * part of Sun Microsystems, Inc. to assist in its use, correction, 17 * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE 18 * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC 21 * In no event will Sun Microsystems, Inc. be liable for any lost revenue 23 * Sun has been advised of the possibility of such damages. 25 * Sun Microsystems, Inc. [all …]
|
| /freebsd/lib/librpcsvc/ |
| H A D | rwall.c | 2 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for 5 * may copy or modify Sun RPC without charge, but are not authorized 8 * Sun Microsystems, Inc. 10 * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE 14 * Sun RPC is provided with no support and without any obligation on the 15 * part of Sun Microsystems, Inc. to assist in its use, correction, 18 * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE 19 * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC 22 * In no event will Sun Microsystems, Inc. be liable for any lost revenue 24 * Sun has been advised of the possibility of such damages. [all …]
|
| H A D | rnusers.c | 2 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for 5 * may copy or modify Sun RPC without charge, but are not authorized 8 * Sun Microsystems, Inc. 10 * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE 14 * Sun RPC is provided with no support and without any obligation on the 15 * part of Sun Microsystems, Inc. to assist in its use, correction, 18 * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE 19 * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC 22 * In no event will Sun Microsystems, Inc. be liable for any lost revenue 24 * Sun has been advised of the possibility of such damages. [all …]
|
| H A D | rstat.c | 2 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for 5 * may copy or modify Sun RPC without charge, but are not authorized 8 * Sun Microsystems, Inc. 10 * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE 14 * Sun RPC is provided with no support and without any obligation on the 15 * part of Sun Microsystems, Inc. to assist in its use, correction, 18 * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE 19 * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC 22 * In no event will Sun Microsystems, Inc. be liable for any lost revenue 24 * Sun has been advised of the possibility of such damages. [all …]
|
| H A D | secretkey.c | 2 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for 5 * may copy or modify Sun RPC without charge, but are not authorized 8 * Sun Microsystems, Inc. 10 * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE 14 * Sun RPC is provided with no support and without any obligation on the 15 * part of Sun Microsystems, Inc. to assist in its use, correction, 18 * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE 19 * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC 22 * In no event will Sun Microsystems, Inc. be liable for any lost revenue 24 * Sun has been advised of the possibility of such damages. [all …]
|
| /freebsd/tests/sys/kern/ |
| H A D | unix_dgram.c | 62 static struct sockaddr_un sun = { variable 64 .sun_len = sizeof(sun), 185 ATF_REQUIRE(bind(one, (struct sockaddr *)&sun, sizeof(sun)) == 0); in ATF_TC_BODY() 190 ATF_REQUIRE(connect(many[i], (struct sockaddr *)&sun, in ATF_TC_BODY() 191 sizeof(sun)) == 0); in ATF_TC_BODY() 203 ATF_REQUIRE(connect(one, (struct sockaddr *)&sun, sizeof(sun)) == 0); in ATF_TC_BODY() 229 ATF_REQUIRE(sendto(two, notconn, BUFSIZE, 0, (struct sockaddr *)&sun, in ATF_TC_BODY() 230 sizeof(sun)) == BUFSIZE); in ATF_TC_BODY() 259 ATF_REQUIRE(sendto(two, notconn, BUFSIZE, 0, (struct sockaddr *)&sun, in ATF_TC_BODY() 260 sizeof(sun)) == BUFSIZE); in ATF_TC_BODY() [all …]
|
| /freebsd/contrib/tcpdump/ |
| H A D | rpc_auth.h | 2 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for 5 * may copy or modify Sun RPC without charge, but are not authorized 9 * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE 13 * Sun RPC is provided with no support and without any obligation on the 14 * part of Sun Microsystems, Inc. to assist in its use, correction, 17 * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE 18 * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC 21 * In no event will Sun Microsystems, Inc. be liable for any lost revenue 23 * Sun has been advised of the possibility of such damages. 25 * Sun Microsystems, Inc. [all …]
|
| H A D | rpc_msg.h | 2 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for 5 * may copy or modify Sun RPC without charge, but are not authorized 9 * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE 13 * Sun RPC is provided with no support and without any obligation on the 14 * part of Sun Microsystems, Inc. to assist in its use, correction, 17 * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE 18 * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC 21 * In no event will Sun Microsystems, Inc. be liable for any lost revenue 23 * Sun has been advised of the possibility of such damages. 25 * Sun Microsystems, Inc. [all …]
|
| /freebsd/sys/cddl/compat/opensolaris/rpc/ |
| H A D | xdr.h | 2 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for 5 * may copy or modify Sun RPC without charge, but are not authorized 9 * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE 13 * Sun RPC is provided with no support and without any obligation on the 14 * part of Sun Microsystems, Inc. to assist in its use, correction, 17 * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE 18 * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC 21 * In no event will Sun Microsystems, Inc. be liable for any lost revenue 23 * Sun has been advised of the possibility of such damages. 25 * Sun Microsystems, Inc.
|
| /freebsd/sys/contrib/openzfs/include/os/freebsd/spl/rpc/ |
| H A D | xdr.h | |
| /freebsd/usr.bin/rpcgen/ |
| H A D | rpc_scan.h | 4 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for 7 * may copy or modify Sun RPC without charge, but are not authorized 11 * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE 15 * Sun RPC is provided with no support and without any obligation on the 16 * part of Sun Microsystems, Inc. to assist in its use, correction, 19 * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE 20 * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC 23 * In no event will Sun Microsystems, Inc. be liable for any lost revenue 25 * Sun has been advised of the possibility of such damages. 27 * Sun Microsystems, Inc. [all …]
|
| H A D | rpc_parse.h | 4 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for 7 * may copy or modify Sun RPC without charge, but are not authorized 11 * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE 15 * Sun RPC is provided with no support and without any obligation on the 16 * part of Sun Microsystems, Inc. to assist in its use, correction, 19 * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE 20 * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC 23 * In no event will Sun Microsystems, Inc. be liable for any lost revenue 25 * Sun has been advised of the possibility of such damages. 27 * Sun Microsystems, Inc. [all …]
|
| /freebsd/sys/xdr/ |
| H A D | xdr_reference.c | 4 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for 7 * may copy or modify Sun RPC without charge, but are not authorized 11 * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE 15 * Sun RPC is provided with no support and without any obligation on the 16 * part of Sun Microsystems, Inc. to assist in its use, correction, 19 * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE 20 * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC 23 * In no event will Sun Microsystems, Inc. be liable for any lost revenue 25 * Sun has been advised of the possibility of such damages. 27 * Sun Microsystems, Inc. [all …]
|
| H A D | xdr_sizeof.c | 2 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for 5 * may copy or modify Sun RPC without charge, but are not authorized 9 * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE 13 * Sun RPC is provided with no support and without any obligation on the 14 * part of Sun Microsystems, Inc. to assist in its use, correction, 17 * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE 18 * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC 21 * In no event will Sun Microsystems, Inc. be liable for any lost revenue 23 * Sun has been advised of the possibility of such damages. 25 * Sun Microsystems, Inc. [all …]
|
| H A D | xdr_array.c | 4 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for 7 * may copy or modify Sun RPC without charge, but are not authorized 11 * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE 15 * Sun RPC is provided with no support and without any obligation on the 16 * part of Sun Microsystems, Inc. to assist in its use, correction, 19 * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE 20 * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC 23 * In no event will Sun Microsystems, Inc. be liable for any lost revenue 25 * Sun has been advised of the possibility of such damages. 27 * Sun Microsystems, Inc. [all …]
|
| /freebsd/contrib/netbsd-tests/include/sys/ |
| H A D | t_socket.c | 85 struct sockaddr_un sun; in ATF_TC_BODY() local 98 memset(&sun, 0, sizeof(sun)); in ATF_TC_BODY() 99 sun.sun_family = AF_LOCAL; in ATF_TC_BODY() 101 strncpy(sun.sun_path, SOCKPATH, sizeof(SOCKPATH)); in ATF_TC_BODY() 105 if (rump_sys_bind(s1, (struct sockaddr *)&sun, SUN_LEN(&sun)) == -1) in ATF_TC_BODY() 115 memset(&sun, 0, sizeof(sun)); in ATF_TC_BODY() 116 sun.sun_family = AF_LOCAL; in ATF_TC_BODY() 117 strncpy(sun.sun_path, SOCKPATH, sizeof(SOCKPATH)); in ATF_TC_BODY() 121 if (rump_sys_connect(s2, (struct sockaddr *)&sun, SUN_LEN(&sun)) == -1) in ATF_TC_BODY() 164 sl = sizeof(sun); in ATF_TC_BODY() [all …]
|
| /freebsd/tools/test/stress2/misc/ |
| H A D | unix_socket_detach.sh | 62 struct sockaddr_un sun; 68 memset(&sun, 0, sizeof(sun)); 69 sun.sun_family = AF_LOCAL; 70 sun.sun_len = sizeof(sun); 71 snprintf(sun.sun_path, sizeof(sun.sun_path), "%s", file); 87 if (bind(sd, (struct sockaddr *)&sun, sizeof(sun)) < 0) { 108 (void)connect(sd, (struct sockaddr *)&sun, sizeof(sun));
|
| H A D | setsockopt2.sh | 99 struct sockaddr_un sun; 107 memset(&sun, 0, sizeof(sun)); 108 sun.sun_family = AF_LOCAL; 109 sun.sun_len = sizeof(sun); 110 snprintf(sun.sun_path, sizeof(sun.sun_path), "%s", file); 140 if (bind(fd, (struct sockaddr *)&sun, sizeof(sun)) < 0) 155 sun.sun_len = arc4random() % 128; 156 sun.sun_family = arc4random() % 10; 157 setsockopt(fd, 0x6, 0x401, &sun, 0x14); 161 if (connect(fd, (struct sockaddr *)&sun, sizeof(sun)) != -1)
|