oracle home
ONC+ RPC Developer's Guide
Exit Print View
Search Term
Search Scope:
This Document
Entire Library
» ...
Index C
Updated: July 2014
ONC+ RPC Developer's Guide
Document Information
Using This Documentation
Product Documentation Library
Access to Oracle Support
Feedback
Chapter 1 Introduction to ONC+ Technologies
Introduction
Brief Description of ONC+ Technologies
TI-RPC
XDR
NFS
Chapter 2 Introduction to TI-RPC
What Is TI-RPC?
TI-RPC Issues
Parameter Passing
Binding
Transport Protocol
Call Semantics
Data Representation
Program, Version, and Procedure Numbers
Overview of Interface Routines
Simplified Interface Routines
Standard Interface Routines
Top-Level Routines
Intermediate-Level Routines
Expert-Level Routines
Bottom-Level Routines
Network Selection
Transport Selection
Name-to-Address Translation
Address Look-up Services
Registering Addresses
Reporting RPC Information
Chapter 3 rpcgen Programming Guide
What Is rpcgen?
Software Environment Features
rpcgen Tutorial
Converting Local Procedures to Remote Procedures
Passing Complex Data Structures
Preprocessing Directives
cpp Directive
Compile-Time Flags
Compile-Time Client and Server Templates
Compile-Time C-style Mode
Compile-Time MT-Safe Code
Compile-Time MT Auto Mode
Compile-Time TI-RPC or TS-RPC Library Selection
Compile-Time ANSI C-compliant Code
Compile-Time xdr_inline Count
rpcgen Programming Techniques
Network Types/Transport Selection
Command-Line Define Statements
Server Response to Broadcast Calls
Port Monitor Support
Time-out Changes
Client Authentication
Dispatch Tables
64???Bit Considerations for rpcgen
IPv6 Considerations for rpcgen
Debugging Applications
Chapter 4 Programmer's Interface to RPC
Simplified Interface
Client Side of Simplified Interface
Server Side of the Simplified Interface
Hand-Coded Registration Routine
Passing Arbitrary Data Types
Standard Interfaces
Top-Level Interface
Client Side of the Top-Level Interface
Intermediate-Level Interface
Client Side of the Intermediate-Level Interface
Server Side of the Intermediate-Level Interface
Expert-Level Interface
Client Side of the Expert-Level Interface
Server Side of the Expert-Level Interface
Bottom-Level Interface
Client Side of the Bottom-Level Interface
Server Side of the Bottom-Level Interface
Server Caching
Low-Level Data Structures
Testing Programs Using Low-Level Raw RPC
Connection-Oriented Transports
Memory Allocation With XDR
Chapter 5 Advanced RPC Programming Techniques
poll on the Server Side
Broadcast RPC
Batching
Authentication
AUTH_SYS Authentication
AUTH_DES Authentication
AUTH_KERB Authentication
Authentication Using RPCSEC_GSS
RPCSEC_GSS API
RPCSEC_GSS Routines
Creating a Context
Changing Values and Destroying a Context
Principal Names
Setting Server Principal Names
Generating Client Principal Names
Freeing Principal Names
Receiving Credentials at the Server
Cookies
Callbacks
Maximum Data Size
Miscellaneous Functions
Associated Files
gsscred Table
/etc/gss/qop and /etc/gss/mech
Using Port Monitors
Using inetd
Using the Listener
Multiple Server Versions
Multiple Client Versions
Using Transient RPC Program Numbers
Chapter 6 Porting From TS-RPC to TI-RPC
Porting an Application
Benefits of Porting
IPv6 Considerations for RPC
Porting Issues
Differences Between TI-RPC and TS-RPC
Function Compatibility Lists
Creating and Destroying Services
Registering and Unregistering Services
Compatibility Calls
Broadcasting
Address Management Functions
Authentication Functions
Other Functions
Comparison Examples
Chapter 7 Multithreaded RPC Programming
MT Client Overview
MT Server Overview
Sharing the Service Transport Handle
MT Auto Mode
MT User Mode
Freeing Library Resources in User Mode
Chapter 8 Extensions to the Oracle Solaris RPC Library
New Features
One-Way Messaging
clnt_send
oneway Attribute
One-way call using a simple counter service
Non-Blocking I/O
Using Non-Blocking I/O
Using a simple counter with non-blocking I/O
clnt_call Configured as Non-Blocking
Client Connection Closure Callback
Example of client connection closure callback
User File Descriptor Callbacks
Example of User File Descriptors
Appendix A XDR Technical Note
What Is XDR?
Canonical Standard
XDR Library
XDR Library Primitives
Memory Requirements for XDR Routines
Number Filters
Floating-Point Filters
Enumeration Filters
No-Data Routine
Constructed Data Type Filters
Strings
Byte Arrays
Arrays
Array Example 1
Array Example 2
Array Example 3
Opaque Data
Fixed-Length Arrays
Discriminated Unions
Discriminated Union Example
Pointers
Pointer Example
Pointer Semantics
Nonfilter Primitives
Operation Directions
Stream Access
Standard I/O Streams
Memory Streams
Record TCP/IP Streams
XDR Stream Implementation
XDR Object
Advanced XDR Topics
Linked Lists
Appendix B RPC Protocol and Language Specification
Protocol Overview
RPC Model
Transports and Semantics
Binding and Rendezvous Independence
Program and Procedure Numbers
Program Number Assignment
Program Number Registration
Other Uses of the RPC Protocol
Batching
Broadcast RPC
RPC Message Protocol
Record-Marking Standard
Authentication Protocols
AUTH_NONE
AUTH_SYS
AUTH_SHORT Verifier
AUTH_DES Authentication
AUTH_DES Authentication Verifiers
Nicknames and Clock Synchronization
DES Authentication Protocol (in XDR language)
Diffie-Hellman Encryption
AUTH_KERB Authentication
NFS Mount Example
KERB Authentication Protocol
RPC Language Specification
Example Service Described in the RPC Language
RPCL Syntax
RPCL Enumerations
RPCL Constants
RPCL Type Definitions
RPCL Declarations
RPCL Simple Declarations
RPCL Fixed-Length Array Declarations
RPCL Variable-Length Array Declarations
RPCL Pointer Declarations
RPCL Structures
RPCL Unions
RPCL Programs
RPCL Special Cases
RPCL C-style Mode
RPCL Booleans
RPCL Strings
RPCL Opaque Data
RPCL Voids
rpcbind Protocol
rpcbind Operation
Appendix C XDR Protocol Specification
XDR Protocol Introduction
Graphic Box Notation
Basic Block Size
XDR Data Type Declarations
Signed Integer
Declaration
Signed Integer Encoding
Unsigned Integer
Declaration
Unsigned Integer Encoding
Enumerations
Booleans
Hyper Integer and Unsigned Hyper Integer
Declaration
Hyper Integer Encoding
Floating Point
Declaration
Double-Precision Floating Point Encoding
Quadruple-Precision Floating Point
Declaration
Quadruple-Precision Floating Point Encoding
Fixed-Length Opaque Data
Declaration
Fixed-Length Opaque Encoding
Variable-Length Opaque Data
Declaration
Variable-Length Opaque Encoding
Counted Byte Strings
Declaration
String Encoding
Fixed-Length Array
Declaration
Fixed-Length Array Encoding
Variable-Length Array
Declaration
Counted Array Encoding
Structure
Declaration
Structure Encoding
Discriminated Union
Declaration
Discriminated Union Encoding
Void
Declaration
Constant
Declaration
Typedef
Optional-Data
XDR Language Specification
Notational Conventions
Lexical Notes
Syntax Notes
XDR Data Description
RPC Language Reference
Appendix D RPC Code Examples
Directory Listing Program and Support Routines (rpcgen)
Time Server Program (rpcgen)
Add Two Numbers Program (rpcgen)
Spray Packets Program (rpcgen)
Print Message Program With Remote Version
Batched Code Example
Non-Batched Example
Appendix E portmap Utility
System Registration Overview
portmap Protocol
portmap Operation
PMAPPROC_NULL
PMAPPROC_SET
PMAPPROC_UNSET
PMAPPROC_GETPORT
PMAPPROC_DUMP
PMAPPROC_CALLIT
Glossary
Index
Index Numbers and Symbols
Index A
Index B
Index C
Index D
Index E
Index F
Index H
Index I
Index K
Index L
Index M
Index N
Index O
Index P
Index Q
Index R
Index S
Index T
Index U
Index V
Index W
Index X
Language:
English
C
_clnt.c suffix
Client Program to Call printmsg.c
C
rpcgen tool
Compile-Time ANSI C-compliant Code
ANSI C compliance
Compile-Time ANSI C-compliant Code
rpcgen Compile-Time Flags
Software Environment Features
C-style mode
Compile-Time C-style Mode
rpcgen Compile-Time Flags
Software Environment Features
preprocessing directives
Command-Line Define Statements
cpp Directive
Preprocessing Directives
rpcgen tool and
C-style mode
RPCL C-style Mode
C-style mode
rpcgen tool
RPCL C-style Mode
Compile-Time C-style Mode
rpcgen Compile-Time Flags
Software Environment Features
caching
server
Server Caching
call semantics
TI-RPC
Transports and Semantics
Call Semantics
callback procedures
Using Transient RPC Program Numbers
and transient RPC program numbers
Using Transient RPC Program Numbers
Using Transient RPC Program Numbers
RPCSEC_GSS
Callbacks
uses
Using Transient RPC Program Numbers
CBC (cipher block chaining) mode
AUTH_KERB Authentication
cipher block chaining (CBC) mode
AUTH_KERB Authentication
circuit-oriented transports
when to use
Transport Selection
circuit_v transport type
nettype Parameters
cl_auth field
RPC Client Handle Structure
client handles
RPC Routines???Bottom Level
RPC Routines???Expert Level
RPC Routines???Intermediate Level
RPC Routines???Top Level
creating
Top-Level Interface
expert-level interface
Client for RPC Lower Level
Client Side of the Expert-Level Interface
intermediate level interface
Client for Time Service, Intermediate Level
Client Side of the Intermediate-Level Interface
top-level interface
Client for Trivial Date Service
Client Program to Call printmsg.c
top-level level interface
Top-Level Routines
creation
bottom-level interface
Client Side of the Bottom-Level Interface
top-level interface
Client Program to Call printmsg.c
destroying
top-level interface
Client Program to Call printmsg.c
destruction
expert-level interface
Client for RPC Lower Level
top-level interface
Client for Trivial Date Service
low-level data structures
Client Authentication Handle
low-level data structures for
Low-Level Data Structures
client programs
and rpcgen tool
Client Program to Call printmsg.c
remote copy
Remote Copy (Two-Way XDR Routine)
rpcgen tool
ANSI C-compliance
Compile-Time ANSI C-compliant Code
complex data structure passing
Client-side Implementation of rls.c
Server dir_proc.c Example
debugging
Debugging Applications
Debugging Applications
directory listing service
Client-side Implementation of rls.c
Server dir_proc.c Example
message printing code example
Client Program to Call printmsg.c
RPC Version of printmsg.c
MT-safety
MT-Safe Program: add.x
Software Environment Features
overview
RPC Version of printmsg.c
rpcgen Tutorial
simplified interface
rusers Program Using Simplified Interface
client stub routines
rpcgen tool
Client Program to Call printmsg.c
Client Program to Call printmsg.c
What Is rpcgen?
C-style mode
Default Mode Version of add.x
MT Auto mode
Compile-Time MT Auto Mode
MT-safe
MT-Safe Client Stub
MT-Safe Program: msg
MT-unsafe
Client Stub (MT Unsafe)
MT-Safe Client Stub
preprocessing directive
rpcgen Preprocessing Directives
client templates
rpcgen tool
Default Mode Version of add.x
Compile-Time Client and Server Templates
rpcgen Compile-Time Flags
Software Environment Features
client time-out periods
RPC Routines???Top Level
creation of timed clients
Client for Time Service, Intermediate Level
Client for Trivial Date Service
rpcgen tool
Time-out Changes
clients
batched
Batched Code Example
Batching
multiple versions
Multiple Client Versions
multithreaded
MT Client Overview
safety
Programmer's Interface to RPC
MT-Safe Program: add.x
Compile-Time MT-Safe Code
User mode
MT User Mode: rpc_test.h
MT User Mode
transaction IDs and
Transports and Semantics
TS-RPC and TI-RPC
Comparison Examples
clnt_create routine
code example
Client Program to Call printmsg.c
clnt_perror routine
Debugging Applications
clnt_sperror routine
Debugging Applications
comments
XDR language
Lexical Notes
compatibility
library functions
Other Functions
Function Compatibility Lists
compilation
rpcgen tool
Compile-Time C-style Mode
Software Environment Features
complex data structures
packing with xdr_inline
Compile-Time xdr_inline Count
rpcgen Compile-Time Flags
rpcgen tool
Client-side Implementation of rls.c
Passing Complex Data Structures
compound data type filters
XDR
Constructed Data Type Filters
xdr_vector Syntax Use
connection-oriented endpoints
Server Transport Handle
connection-oriented transports
and port monitors
Using Port Monitors
Using Port Monitors
client handle creation for
RPC Routines???Bottom Level
nettype parameters for
nettype Parameters
remote copy code example
Connection-Oriented Transports
server handle creation for
RPC Routines???Bottom Level
connectionless transports
client handle creation for
RPC Routines???Bottom Level
nettype parameters for
nettype Parameters
server handle creation for
RPC Routines???Bottom Level
UDP
rpcbind Operation
constants
RPC language
RPCL Constants
XDR language
Syntax Notes
Lexical Notes
Constant
constructed data type filters
XDR
Constructed Data Type Filters
xdr_vector Syntax Use
conversation key
AUTH_DES authentication
Diffie-Hellman Encryption
AUTH_DES Authentication Verifiers
AUTH_DES Authentication Verifiers
conversion
of local procedures to remote procedures
Client Program to Call printmsg.c
Converting Local Procedures to Remote Procedures
to XDR format
XDR Library
Client-side Implementation of rls.c
Passing Complex Data Structures
convert
addresses
Porting Issues
from XDR format
XDR Library
XDR Library
Memory Allocation With XDR
Memory Allocation With XDR
Server for Trivial Date Service
Passing Arbitrary Data Types
to XDR format
XDR Library
Reader Example (initial)
Memory Allocation With XDR
Memory Allocation With XDR
xdr_reference Syntax Use
converting
addresses
Name-to-Address Translation
to XDR format
Passing Arbitrary Data Types
copying
remote
Connection-Oriented Transports
cpp
directive
rpcgen tool
cpp Directive
crashes
server
Nicknames and Clock Synchronization
Transports and Semantics
credentials
AUTH_DES
AUTH_DES Authentication
AUTH_KERB
NFS Mount Example
AUTH_KERB Authentication
AUTH_KERB Authentication
AUTH_KERB Authentication
window
AUTH_KERB Authentication
AUTH_DES Authentication
window (lifetime) of
AUTH_DES Authentication Verifiers
Previous
Next