[ source navigation ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/rpc/

Version: -  FREEBSD  -  FREEBSD8  -  FREEBSD7  -  FREEBSD72  -  FREEBSD71  -  FREEBSD70  -  FREEBSD6  -  FREEBSD64  -  FREEBSD63  -  FREEBSD62  -  FREEBSD61  -  FREEBSD60  -  FREEBSD5  -  FREEBSD55  -  FREEBSD54  -  FREEBSD53  -  FREEBSD52  -  FREEBSD51  -  FREEBSD50  -  FREEBSD4  -  FREEBSD3  -  FREEBSD22  -  linux-2.6  -  linux-2.4.22  -  MK83  -  MK84  -  PLAN9  -  DFBSD  -  NETBSD  -  NETBSD5  -  NETBSD4  -  NETBSD3  -  NETBSD20  -  OPENBSD  -  xnu-517  -  xnu-792  -  xnu-792.6.70  -  xnu-1228  -  xnu-1456.1.26  -  OPENSOLARIS  -  minix-3-1-1  -  FREEBSD-LIBC  -  FREEBSD7-LIBC  -  FREEBSD6-LIBC  -  GLIBC27 
SearchContext: -  none  -  excerpts  -  bigexcerpts 

Name Size Last modified (GMT) Description
Back Parent directory 2008-12-15 18:03:17
Folder PSD.doc/ 2008-10-16 10:31:37
File DISCLAIMER 1417 bytes 2001-03-19 12:49:49
File LICENSE 14581 bytes 2002-07-11 16:23:04
File Makefile.inc 6057 bytes 2006-03-13 01:14:59
File README 8178 bytes 2001-03-19 12:49:50
File Symbol.map 4322 bytes 2007-05-31 13:01:34
C file auth_des.c 13960 bytes 2006-02-27 22:10:58
C file auth_none.c 4475 bytes 2006-02-27 22:10:58
C file auth_time.c 12947 bytes 2007-09-20 22:35:24
C file auth_unix.c 9266 bytes 2007-06-14 20:07:35
C file authdes_prot.c 2807 bytes 2002-03-22 23:18:36
C file authunix_prot.c 2452 bytes 2004-10-16 06:11:34
File bindresvport.3 2121 bytes 2002-12-18 12:45:10
C file bindresvport.c 4022 bytes 2004-10-16 06:11:34
C file clnt_bcast.c 18457 bytes 2006-09-09 22:14:42
C file clnt_dg.c 22129 bytes 2007-03-04 12:25:03
C file clnt_generic.c 13502 bytes 2004-10-16 06:11:34
C file clnt_perror.c 7745 bytes 2004-10-16 06:11:34
C file clnt_raw.c 7977 bytes 2006-02-27 22:10:58
C file clnt_simple.c 5791 bytes 2006-02-27 22:10:59
C file clnt_vc.c 22594 bytes 2006-09-09 22:18:57
C file crypt_client.c 3474 bytes 2003-02-16 17:29:10
File des_crypt.3 2765 bytes 2002-12-19 09:40:23
C file des_crypt.c 3764 bytes 2004-10-16 06:11:34
C file des_soft.c 2565 bytes 2004-10-16 06:11:34
File getnetconfig.3 4315 bytes 2002-12-19 09:40:23
C file getnetconfig.c 19406 bytes 2007-09-20 22:35:24
File getnetpath.3 3178 bytes 2002-12-18 12:45:10
C file getnetpath.c 8882 bytes 2007-09-20 22:35:24
C file getpublickey.c 4248 bytes 2006-02-28 16:02:26
File getrpcent.3 2200 bytes 2005-01-20 09:17:04
C file getrpcent.c 21777 bytes 2007-05-17 03:34:33
File getrpcport.3 870 bytes 2004-07-02 23:52:12
C file getrpcport.c 2516 bytes 2004-10-16 06:11:34
C file key_call.c 11865 bytes 2006-02-27 22:10:59
C file key_prot_xdr.c 4134 bytes 2004-10-16 06:11:34
C file mt_misc.c 3491 bytes 2006-02-27 22:10:59
C file mt_misc.h 2767 bytes 2006-02-28 07:36:25
File netconfig.5 3442 bytes 2006-01-11 13:57:15
C file netname.c 4014 bytes 2004-10-16 06:11:35
C file netnamer.c 7555 bytes 2005-03-10 00:58:21
C file pmap_clnt.c 3492 bytes 2004-10-16 06:11:35
C file pmap_getmaps.c 2996 bytes 2004-10-16 06:11:35
C file pmap_getport.c 3221 bytes 2004-10-16 06:11:35
C file pmap_prot.c 2194 bytes 2004-10-16 06:11:35
C file pmap_prot2.c 4382 bytes 2004-10-16 06:11:35
C file pmap_rmt.c 4817 bytes 2004-10-16 06:11:35
File publickey.3 1206 bytes 2005-11-23 16:44:23
File publickey.5 1012 bytes 2003-08-26 15:52:47
File rpc.3 13170 bytes 2004-07-03 22:30:09
File rpc.5 1260 bytes 2005-01-20 09:17:04
C file rpc_callmsg.c 6152 bytes 2004-10-16 06:11:35
File rpc_clnt_auth.3 2451 bytes 2005-02-09 18:03:14
File rpc_clnt_calls.3 8384 bytes 2005-02-09 18:03:14
File rpc_clnt_create.3 13678 bytes 2006-09-17 21:27:34
C file rpc_com.h 3157 bytes 2006-02-27 22:10:59
C file rpc_commondata.c 1826 bytes 2002-03-22 23:18:37
C file rpc_dtablesize.c 2324 bytes 2004-10-16 06:11:35
C file rpc_generic.c 18115 bytes 2007-09-20 22:35:24
C file rpc_prot.c 8425 bytes 2004-10-16 06:11:35
File rpc_secure.3 6105 bytes 2004-07-02 23:52:12
File rpc_soc.3 32605 bytes 2003-02-06 11:04:47
C file rpc_soc.c 13920 bytes 2006-02-27 22:10:59
File rpc_svc_calls.3 6811 bytes 2005-11-23 16:44:23
File rpc_svc_create.3 8299 bytes 2003-09-08 19:57:15
File rpc_svc_err.3 2776 bytes 2005-02-09 18:03:14
File rpc_svc_reg.3 4674 bytes 2005-02-09 18:03:14
File rpc_xdr.3 2836 bytes 2005-02-09 18:03:14
C file rpcb_clnt.c 36324 bytes 2007-09-20 22:35:24
C file rpcb_prot.c 8360 bytes 2006-09-09 22:29:16
C file rpcb_st_xdr.c 6519 bytes 2002-07-14 23:38:37
File rpcbind.3 4882 bytes 2005-02-09 18:03:14
C file rpcdname.c 2551 bytes 2004-10-16 06:11:35
File rtime.3 994 bytes 2002-12-19 09:40:23
C file rtime.c 4002 bytes 2005-03-10 00:57:01
C file svc.c 17040 bytes 2006-02-27 22:10:59
C file svc_auth.c 5826 bytes 2006-02-27 22:10:59
C file svc_auth_des.c 13877 bytes 2002-03-22 23:18:37
C file svc_auth_unix.c 4654 bytes 2004-10-16 06:11:35
C file svc_dg.c 16159 bytes 2006-02-27 22:10:59
C file svc_generic.c 8667 bytes 2006-02-27 22:10:59
C file svc_raw.c 6250 bytes 2006-02-27 22:10:59
C file svc_run.c 2740 bytes 2006-02-27 22:10:59
C file svc_simple.c 8754 bytes 2006-09-09 22:32:07
C file svc_vc.c 18818 bytes 2008-04-10 09:39:20

    1 $FreeBSD: src/lib/libc/rpc/README,v 1.2 2001/03/19 12:49:50 alfred Exp $
    2 
    3 PLEASE READ THE DISCLAIMER FILE.  DO NOT CALL THE SUN MICROSYSTEMS SUPPORT
    4 LINE WITH QUESTIONS ON THIS RELEASE.  THEY CANNOT ANSWER QUESTIONS ABOUT THIS
    5 UNSUPPORTED SOURCE RELEASE.
    6 
    7 TIRPCSRC 2.3 29 Aug 1994
    8 
    9 This distribution contains SunSoft's implementation of transport-independent
   10 RPC (TI-RPC), External Data Representation (XDR), and various utilities and
   11 documentation.  These libraries and programs form the base of Open Network
   12 Computing (ONC), and are derived directly from the Solaris 2.3 source.
   13 
   14 Previous releases of RPC Source based on SunOS 4.x were ported to 4.2BSD and
   15 used Sockets as the transport interface.  These versions were
   16 transport-specific RPC (TS-RPC).
   17 
   18 TI-RPC is an enhanced version of TS-RPC that requires the UNIX System V
   19 Transport Layer Interface (TLI) or an equivalent X/Open Transport Interface
   20 (XTI).  TI-RPC is on-the-wire compatible with the TS-RPC, which is supported
   21 by almost 70 vendors on all major operating systems.  TS-RPC source code
   22 (RPCSRC 4.0) remains available from several internet sites.
   23 
   24 This release is a native source release, that is, it is compatible for
   25 building on Solaris 2.3.  This release was built on Solaris 2.3 using SunPro
   26 SPARCompiler 2.0.1.
   27 
   28 Solaris 2.3 is based on System V, Release 4 (SVR4), and while this release
   29 should be mostly compatible with other SVR4 systems, some Solaris facilities
   30 that are assumed may not be available.  In particular, this release uses the
   31 Makefile format supported by SparcCompiler 2.0.1.  Second, the Secure RPC
   32 routines use the Solaris Name Service Switch to access public-key credential
   33 databases.  This code will need to be ported if your system does not support
   34 the Name Service Switch.  Finally, this release uses the synchronization
   35 interfaces of UI Threads to make certain interfaces thread-safe.  These
   36 interfaces are found in libthread in Solaris 2.3 and later.
   37 
   38 Applications linked with this release's librpc must link with the United
   39 States domestic version of libcrypt in order to resolve the cbc_crypt() and
   40 ecb_crypt() functions.  These routines are used with Secure RPC however all
   41 RPC programs that link with this release's librpc will need to link with the
   42 domestic libcrypt.  Note that the Solaris 2.3 Encryption Kit is only available
   43 within the United States.  (PLEASE NOTE: The RPC implementation found in
   44 Solaris 2.3's libnsl does *not* have this requirement; linking with libcrypt
   45 is only a requirement for the TIRPCSRC 2.3 version of librpc.)
   46 
   47 
   48 DOCUMENTATION NOTE
   49 
   50 The documentation found in the doc directory are derived from the Solaris 2.3
   51 Network Interfaces Programming Guide.  A small number of compile examples are
   52 given, and these use libnsl to link in the RPC library.  This release builds
   53 the RPC library as librpc.  To use this release's librpc, use the link command
   54 "-lrpc -lnsl -lcrypt".  This links the application with TIRPCSRC 2.3's librpc
   55 for RPC routines, Solaris's libnsl for other networking functions, and
   56 libcrypt for the cbc_crypt() and ecb_crypt functions.
   57 
   58 
   59 WHY IS THIS RELEASE BEING DONE?
   60 
   61 This release is being distributed to make the Sun implementation of the ONC
   62 technologies available for reference and porting to non-Solaris platforms.
   63 The current release is a native source distribution, and provides services
   64 that are already available on Solaris 2.3 (such as the RPC headers, the RPC
   65 library in libnsl, rpcbind, rpcinfo, etc.).  It is not our intention to
   66 replace these services.  See the DISCLAIMER for further information about the
   67 legal status of this release.
   68 
   69 
   70 WHAT'S NEW IN THIS RELEASE: TIRPCSRC 2.3
   71 
   72 The previous release was TIRPCSRC 2.0.
   73 
   74 1.      This release is based on Solaris 2.3.  The previous release was
   75         based on Solaris 2.0.  This release contains a siginificant number of
   76         bug fixes and other enhancements over TIRPCSRC 2.0.
   77 
   78 2.      The RPC library is thread safe for all client-side interfaces
   79         (clnt_create, clnt_call, etc.).  The server-side interfaces
   80         (svc_create, svc_run, etc.) are not thread safe in this release. The
   81         server-side interfaces will be made thread safe in the next release of
   82         TIRPCSRC.  Please see the manual pages for details about which
   83         interfaces are thread safe.
   84 
   85 3.      As part of the work to make the RPC library thread-safe, rpcgen has
   86         been enhanced to generate thread-safe RPC stubs (the -M option).  Note
   87         that this modifies the call-signature for the stub functions; the
   88         procedure calling the RPC stub must now pass to the stub a pointer to
   89         an allocated structure where results will be placed by the stub.  See
   90         the rpcgen manual page and the rpcgen Programming Guide for details.
   91 
   92 4.      The Remote Asynchronous Calls (RAC) library is now included.  RAC was
   93         first introduced in TIRPCSRC 1.0, and was bundled with librpc.  It is
   94         now a separate library.  The asynchronous call model that RAC provides
   95         can be achieved by using threads for making client-side RPC calls.
   96         The ONC Technology group recommends using threads (where possible) to
   97         achieve asynchrony rather than RAC.  See the rpc_rac(3n) manual page
   98         for details.
   99 
  100 
  101 ROADMAP
  102 
  103 The directory hierarchy is as follows:
  104 
  105     cmd/        Utilities
  106     cmd/rpcgen      The RPC Language compiler (for .x files)
  107     cmd/rpcbind     The RPC bindery and portmapper
  108     cmd/rpcinfo     RPC bindery query utility
  109     cmd/keyserv     The Secure RPC keyserver
  110     cmd/demo        Some simple ONC demo services
  111 
  112     doc/        Postscript versions of ONC documentation
  113 
  114     head/       Header files
  115     head/rpcsvc     RPCL (.x) specifications for various ONC services, and
  116                     header files.
  117 
  118     lib/        Libraries
  119     lib/librpc      The RPC and XDR library
  120     lib/librac      The Remote Asynchronous Calls (RAC) library
  121 
  122     man/        Manual pages for the RPC library and utilities.
  123 
  124     uts/common/rpc      RPC header files
  125 
  126 
  127 
  128 BUILD INSTRUCTIONS
  129 
  130 Prior to building the release, you must define the SRC environment variable
  131 to be the path to the top-level Makefile.  For example, if /usr/src/tirpcsrc
  132 is where to top-level Makefile is located, execute this command prior to
  133 building the release:
  134 
  135         setenv SRC /usr/src/tirpcsrc        (csh)
  136 or
  137         SRC=/usr/src/tirpcsrc; export SRC   (sh)
  138 
  139 The sources in the lib directory depend on header files installed from head
  140 and uts/common/rpc, and the programs in the cmd directory depend on libraries
  141 from lib.  Therefore, you should do a "make install" to build the release.
  142 
  143 The top-level Makefile builds the release.  The "ROOT" macro defines where the
  144 headers and libraries are installed.  The default for ROOT is "/proto".  You
  145 may change this by either modifiying Makefile.master, or issuing the build
  146 command with a new definition for ROOT:
  147 
  148         make install ROOT=/opt/onc
  149 
  150 You will of course need write privileges for the destination directory.
  151 The headers, libraries and executables will be built and installed under the
  152 ROOT.
  153 
  154 
  155 The demonstration services in the demo directory are not built by the
  156 top-level "make install" command.  To build these, cd to the cmd/demo
  157 directory and enter "make".  The four services will be built.
  158 RPCGEN MUST BE INSTALLED in a path that make can find.  To run the
  159 services, rpcbind must be running, then invoke the service
  160 (you probably will want to put it in the background).  rpcinfo can be
  161 used to check that the service succeeded in getting registered with
  162 rpcbind, and to ping the service (see rpcinfo's man page).  You can
  163 then use the corresponding client program to exercise the service.
  164 
  165 
  166 BUILDING ONC APPLICATIONS
  167 
  168 See the Makefiles in the demonstration services for examples of building
  169 ONC applications with this release.  The $(ROOT)/usr/include directory
  170 must be included in the compiler header file search path (-I), and the
  171 $(ROOT)/usr/lib directory must be included in the linker library file search
  172 path (-L).  Also, to run executables built dynamically, the shared library
  173 search path (LD_LIBRARY_PATH) must also include $(ROOT)/usr/lib.  In addition
  174 to linking in this release's librpc (via -lrpc), you must also link with
  175 Solaris's libnsl (-lnsl) and the US domestic version of libcrypt (-lcrypt).
  176 

[ source navigation ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.