auth_des.h   auth_des.h 
skipping to change at line 84 skipping to change at line 84
}; };
/* /*
* A des authentication verifier * A des authentication verifier
*/ */
struct authdes_verf { struct authdes_verf {
union { union {
struct timeval adv_ctime; /* clear time */ struct timeval adv_ctime; /* clear time */
des_block adv_xtime; /* crypt time */ des_block adv_xtime; /* crypt time */
} adv_time_u; } adv_time_u;
//u_long adv_int_u; /*u_long adv_int_u;*/
u_int32_t adv_int_u; u_int32_t adv_int_u;
}; };
/* /*
* des authentication verifier: client variety * des authentication verifier: client variety
* *
* adv_timestamp is the current time. * adv_timestamp is the current time.
* adv_winverf is the credential window + 1. * adv_winverf is the credential window + 1.
* Both are encrypted using the conversation key. * Both are encrypted using the conversation key.
*/ */
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 clnt.h   clnt.h 
/* $NetBSD: clnt.h,v 1.14 2000/06/02 22:57:55 fvdl Exp $ */ /* $NetBSD: clnt.h,v 1.14 2000/06/02 22:57:55 fvdl Exp $ */
/* /*
* Copyright (c) 2009, Sun Microsystems, Inc. * Copyright (c) 2010, Oracle America, Inc.
* All rights reserved. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are m et: * modification, are permitted provided that the following conditions are m et:
* - Redistributions of source code must retain the above copyright notice, * - Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer. * this list of conditions and the following disclaimer.
* - Redistributions in binary form must reproduce the above copyright noti ce, * - Redistributions in binary form must reproduce the above copyright noti ce,
* this list of conditions and the following disclaimer in the documentat ion * this list of conditions and the following disclaimer in the documentat ion
* and/or other materials provided with the distribution. * and/or other materials provided with the distribution.
* - Neither the name of Sun Microsystems, Inc. nor the names of its * - Neither the name of the "Oracle America, Inc." nor the names of its
* contributors may be used to endorse or promote products derived * contributors may be used to endorse or promote products derived
* from this software without specific prior written permission. * from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, TH E * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, TH E
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPO SE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPO SE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS B E * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS B E
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
skipping to change at line 37 skipping to change at line 37
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF T HE * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF T HE
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
* *
* from: @(#)clnt.h 1.31 94/04/29 SMI * from: @(#)clnt.h 1.31 94/04/29 SMI
* from: @(#)clnt.h 2.1 88/07/29 4.0 RPCSRC * from: @(#)clnt.h 2.1 88/07/29 4.0 RPCSRC
* $FreeBSD: src/include/rpc/clnt.h,v 1.21 2003/01/24 01:47:55 fjoe Exp $ * $FreeBSD: src/include/rpc/clnt.h,v 1.21 2003/01/24 01:47:55 fjoe Exp $
*/ */
/* /*
* clnt.h - Client side remote procedure call interface. * clnt.h - Client side remote procedure call interface.
*
* Copyright (c) 1986-1991,1994-1999 by Sun Microsystems, Inc.
* All rights reserved.
*/ */
#ifndef _TIRPC_CLNT_H_ #ifndef _TIRPC_CLNT_H_
#define _TIRPC_CLNT_H_ #define _TIRPC_CLNT_H_
//#include <rpc/clnt_stat.h> #include <rpc/clnt_stat.h>
#include "clnt_stat.h"
#include <rpc/auth.h> #include <rpc/auth.h>
#include <sys/cdefs.h> #include <sys/cdefs.h>
#include <netconfig.h> #include <netconfig.h>
#include <sys/un.h> #include <sys/un.h>
/* /*
* Well-known IPV6 RPC broadcast address. * Well-known IPV6 RPC broadcast address.
*/ */
#define RPCB_MULTICAST_ADDR "ff02::202" #define RPCB_MULTICAST_ADDR "ff02::202"
 End of changes. 4 change blocks. 
7 lines changed or deleted 3 lines changed or added


 rpc.h   rpc.h 
skipping to change at line 104 skipping to change at line 104
struct sockaddr; struct sockaddr;
extern int bindresvport_sa(int, struct sockaddr *); extern int bindresvport_sa(int, struct sockaddr *);
__END_DECLS __END_DECLS
/* /*
* The following are not exported interfaces, they are for internal library * The following are not exported interfaces, they are for internal library
* and rpcbind use only. Do not use, they may change without notice. * and rpcbind use only. Do not use, they may change without notice.
*/ */
__BEGIN_DECLS __BEGIN_DECLS
int __rpc_nconf2fd(const struct netconfig *); int __rpc_nconf2fd(const struct netconfig *);
int __rpc_nconf2fd_flags(const struct netconfig *, int);
int __rpc_nconf2sockinfo(const struct netconfig *, struct __rpc_sockinfo *) ; int __rpc_nconf2sockinfo(const struct netconfig *, struct __rpc_sockinfo *) ;
int __rpc_fd2sockinfo(int, struct __rpc_sockinfo *); int __rpc_fd2sockinfo(int, struct __rpc_sockinfo *);
u_int __rpc_get_t_size(int, int, int); u_int __rpc_get_t_size(int, int, int);
__END_DECLS __END_DECLS
#endif /* !_RPC_RPC_H */ #endif /* !_RPC_RPC_H */
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added


 rpcent.h   rpcent.h 
skipping to change at line 47 skipping to change at line 47
* For converting rpc program numbers to names etc. * For converting rpc program numbers to names etc.
* *
*/ */
#ifndef _RPC_RPCENT_H #ifndef _RPC_RPCENT_H
#define _RPC_RPCENT_H #define _RPC_RPCENT_H
/* #pragma ident "@(#)rpcent.h 1.13 94/04/25 SMI" */ /* #pragma ident "@(#)rpcent.h 1.13 94/04/25 SMI" */
/* @(#)rpcent.h 1.1 88/12/06 SMI */ /* @(#)rpcent.h 1.1 88/12/06 SMI */
//struct rpcent {
// char *r_name; /* name of server for this rpc program */
// char **r_aliases; /* alias list */
// int r_number; /* rpc program number */
//};
__BEGIN_DECLS __BEGIN_DECLS
//extern struct rpcent *getrpcbyname_r(const char *, struct rpcent *,
// char *, int); /* These are defined in /usr/include/rpc/netdb.h */
//extern struct rpcent *getrpcbynumber_r(int, struct rpcent *, char *, int) #if 0
; struct rpcent {
//extern struct rpcent *getrpcent_r(struct rpcent *, char *, int); char *r_name; /* name of server for this rpc program */
char **r_aliases; /* alias list */
int r_number; /* rpc program number */
};
extern struct rpcent *getrpcbyname_r(const char *, struct rpcent *,
char *, int);
extern struct rpcent *getrpcbynumber_r(int, struct rpcent *, char *, int);
extern struct rpcent *getrpcent_r(struct rpcent *, char *, int);
/* Old interfaces that return a pointer to a static area; MT-unsafe */ /* Old interfaces that return a pointer to a static area; MT-unsafe */
//extern struct rpcent *getrpcbyname(char *); extern struct rpcent *getrpcbyname(char *);
//extern struct rpcent *getrpcbynumber(int); extern struct rpcent *getrpcbynumber(int);
//extern struct rpcent *getrpcent(void); extern struct rpcent *getrpcent(void);
#endif
extern void setrpcent(int) __THROW; extern void setrpcent(int) __THROW;
extern void endrpcent(void) __THROW; extern void endrpcent(void) __THROW;
__END_DECLS __END_DECLS
#endif /* !_RPC_CENT_H */ #endif /* !_RPC_CENT_H */
 End of changes. 3 change blocks. 
14 lines changed or deleted 18 lines changed or added


 svc_dg.h   svc_dg.h 
skipping to change at line 48 skipping to change at line 48
/* /*
* kept in xprt->xp_p2 * kept in xprt->xp_p2
*/ */
struct svc_dg_data { struct svc_dg_data {
/* XXX: optbuf should be the first field, used by ti_opts.c code */ /* XXX: optbuf should be the first field, used by ti_opts.c code */
size_t su_iosz; /* size of send.recv buffer */ size_t su_iosz; /* size of send.recv buffer */
u_int32_t su_xid; /* transaction id */ u_int32_t su_xid; /* transaction id */
XDR su_xdrs; /* XDR handle */ XDR su_xdrs; /* XDR handle */
char su_verfbody[MAX_AUTH_BYTES]; /* verifier body */ char su_verfbody[MAX_AUTH_BYTES]; /* verifier body */
void *su_cache; /* cached data, NULL if none */ void *su_cache; /* cached data, NULL if none */
struct msghdr su_msghdr; /* msghdr received from clnt
*/
unsigned char su_cmsg[64]; /* cmsghdr received from cln
t */
}; };
#define __rpcb_get_dg_xidp(x) (&((struct svc_dg_data *)(x)->xp_p2)->su_xid ) #define __rpcb_get_dg_xidp(x) (&((struct svc_dg_data *)(x)->xp_p2)->su_xid )
 End of changes. 1 change blocks. 
0 lines changed or deleted 5 lines changed or added


 types.h   types.h 
skipping to change at line 42 skipping to change at line 42
* $FreeBSD: src/include/rpc/types.h,v 1.10.6.1 2003/12/18 00:59:50 peter E xp $ * $FreeBSD: src/include/rpc/types.h,v 1.10.6.1 2003/12/18 00:59:50 peter E xp $
*/ */
/* /*
* Rpc additions to <sys/types.h> * Rpc additions to <sys/types.h>
*/ */
#ifndef _TIRPC_TYPES_H #ifndef _TIRPC_TYPES_H
#define _TIRPC_TYPES_H #define _TIRPC_TYPES_H
#include <sys/types.h> #include <sys/types.h>
//#include <sys/_null.h>
typedef int32_t bool_t; typedef int32_t bool_t;
typedef int32_t enum_t; typedef int32_t enum_t;
typedef u_int32_t rpcprog_t; typedef u_int32_t rpcprog_t;
typedef u_int32_t rpcvers_t; typedef u_int32_t rpcvers_t;
typedef u_int32_t rpcproc_t; typedef u_int32_t rpcproc_t;
typedef u_int32_t rpcprot_t; typedef u_int32_t rpcprot_t;
typedef u_int32_t rpcport_t; typedef u_int32_t rpcport_t;
typedef int32_t rpc_inline_t; typedef int32_t rpc_inline_t;
 End of changes. 1 change blocks. 
1 lines changed or deleted 0 lines changed or added


 xdr.h   xdr.h 
skipping to change at line 46 skipping to change at line 46
* xdr.h, External Data Representation Serialization Routines. * xdr.h, External Data Representation Serialization Routines.
* *
* Copyright (C) 1984, Sun Microsystems, Inc. * Copyright (C) 1984, Sun Microsystems, Inc.
*/ */
#ifndef _TIRPC_XDR_H #ifndef _TIRPC_XDR_H
#define _TIRPC_XDR_H #define _TIRPC_XDR_H
#include <sys/cdefs.h> #include <sys/cdefs.h>
#include <stdio.h> #include <stdio.h>
#include <netinet/in.h> #include <netinet/in.h>
// Rajout pour la d
#include <rpc/types.h> #include <rpc/types.h>
/* /*
* XDR provides a conventional way for converting between C data * XDR provides a conventional way for converting between C data
* types and an external bit-string representation. Library supplied * types and an external bit-string representation. Library supplied
* routines provide for the conversion on built-in C data types. These * routines provide for the conversion on built-in C data types. These
* routines and utility routines defined here are used to help implement * routines and utility routines defined here are used to help implement
* a type encode/decode routine for each user-defined type. * a type encode/decode routine for each user-defined type.
* *
* Each data type provides a single procedure which takes two arguments: * Each data type provides a single procedure which takes two arguments:
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/