Deleted Added
full compact
svc.h (109359) svc.h (116391)
1/* $NetBSD: svc.h,v 1.17 2000/06/02 22:57:56 fvdl Exp $ */
2
3/*
4 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
5 * unrestricted use provided that this legend is included on all tape
6 * media and as a part of the software program in whole or part. Users
7 * may copy or modify Sun RPC without charge, but are not authorized
8 * to license or distribute it to anyone else except as part of a product or

--- 16 unchanged lines hidden (view full) ---

25 * Sun has been advised of the possibility of such damages.
26 *
27 * Sun Microsystems, Inc.
28 * 2550 Garcia Avenue
29 * Mountain View, California 94043
30 *
31 * from: @(#)svc.h 1.35 88/12/17 SMI
32 * from: @(#)svc.h 1.27 94/04/25 SMI
1/* $NetBSD: svc.h,v 1.17 2000/06/02 22:57:56 fvdl Exp $ */
2
3/*
4 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
5 * unrestricted use provided that this legend is included on all tape
6 * media and as a part of the software program in whole or part. Users
7 * may copy or modify Sun RPC without charge, but are not authorized
8 * to license or distribute it to anyone else except as part of a product or

--- 16 unchanged lines hidden (view full) ---

25 * Sun has been advised of the possibility of such damages.
26 *
27 * Sun Microsystems, Inc.
28 * 2550 Garcia Avenue
29 * Mountain View, California 94043
30 *
31 * from: @(#)svc.h 1.35 88/12/17 SMI
32 * from: @(#)svc.h 1.27 94/04/25 SMI
33 * $FreeBSD: head/include/rpc/svc.h 109359 2003-01-16 07:13:51Z mbr $
33 * $FreeBSD: head/include/rpc/svc.h 116391 2003-06-15 10:32:01Z mbr $
34 */
35
36/*
37 * svc.h, Server-side remote procedure call interface.
38 *
39 * Copyright (C) 1986-1993 by Sun Microsystems, Inc.
40 */
41

--- 97 unchanged lines hidden (view full) ---

139};
140
141/*
142 * Approved way of getting address of caller
143 */
144#define svc_getrpccaller(x) (&(x)->xp_rtaddr)
145
146/*
34 */
35
36/*
37 * svc.h, Server-side remote procedure call interface.
38 *
39 * Copyright (C) 1986-1993 by Sun Microsystems, Inc.
40 */
41

--- 97 unchanged lines hidden (view full) ---

139};
140
141/*
142 * Approved way of getting address of caller
143 */
144#define svc_getrpccaller(x) (&(x)->xp_rtaddr)
145
146/*
147 * FreeBSD-only definition to get the creds of the caller (AF_LOCAL).
148 */
149#define __svc_getcallercreds(x) ((struct cmsgcred *)(x)->xp_p2)
150
151/*
152 * Operations defined on an SVCXPRT handle
153 *
154 * SVCXPRT *xprt;
155 * struct rpc_msg *msg;
156 * xdrproc_t xargs;
157 * void * argsp;
158 */
159#define SVC_RECV(xprt, msg) \

--- 277 unchanged lines hidden ---
147 * Operations defined on an SVCXPRT handle
148 *
149 * SVCXPRT *xprt;
150 * struct rpc_msg *msg;
151 * xdrproc_t xargs;
152 * void * argsp;
153 */
154#define SVC_RECV(xprt, msg) \

--- 277 unchanged lines hidden ---