Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/AnonR/anonr.TX.../usr/include/tirpc/rpc
File: svc_dg.h
/* $NetBSD: svc_dg.h,v 1.1 2000/06/02 23:11:16 fvdl Exp $ */
[0] Fix | Delete
/* $FreeBSD: src/include/rpc/svc_dg.h,v 1.1 2001/03/19 12:49:47 alfred Exp $ */
[1] Fix | Delete
[2] Fix | Delete
/*
[3] Fix | Delete
* Copyright (c) 2009, Sun Microsystems, Inc.
[4] Fix | Delete
* All rights reserved.
[5] Fix | Delete
*
[6] Fix | Delete
* Redistribution and use in source and binary forms, with or without
[7] Fix | Delete
* modification, are permitted provided that the following conditions are met:
[8] Fix | Delete
* - Redistributions of source code must retain the above copyright notice,
[9] Fix | Delete
* this list of conditions and the following disclaimer.
[10] Fix | Delete
* - Redistributions in binary form must reproduce the above copyright notice,
[11] Fix | Delete
* this list of conditions and the following disclaimer in the documentation
[12] Fix | Delete
* and/or other materials provided with the distribution.
[13] Fix | Delete
* - Neither the name of Sun Microsystems, Inc. nor the names of its
[14] Fix | Delete
* contributors may be used to endorse or promote products derived
[15] Fix | Delete
* from this software without specific prior written permission.
[16] Fix | Delete
*
[17] Fix | Delete
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
[18] Fix | Delete
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
[19] Fix | Delete
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
[20] Fix | Delete
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
[21] Fix | Delete
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
[22] Fix | Delete
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
[23] Fix | Delete
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
[24] Fix | Delete
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
[25] Fix | Delete
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
[26] Fix | Delete
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
[27] Fix | Delete
* POSSIBILITY OF SUCH DAMAGE.
[28] Fix | Delete
*/
[29] Fix | Delete
[30] Fix | Delete
/*
[31] Fix | Delete
* XXX - this file exists only so that the rpcbind code can pull it in.
[32] Fix | Delete
* This should go away. It should only be include by svc_dg.c and
[33] Fix | Delete
* rpcb_svc_com.c in the rpcbind code.
[34] Fix | Delete
*/
[35] Fix | Delete
[36] Fix | Delete
/*
[37] Fix | Delete
* kept in xprt->xp_p2
[38] Fix | Delete
*/
[39] Fix | Delete
struct svc_dg_data {
[40] Fix | Delete
/* XXX: optbuf should be the first field, used by ti_opts.c code */
[41] Fix | Delete
size_t su_iosz; /* size of send.recv buffer */
[42] Fix | Delete
u_int32_t su_xid; /* transaction id */
[43] Fix | Delete
XDR su_xdrs; /* XDR handle */
[44] Fix | Delete
char su_verfbody[MAX_AUTH_BYTES]; /* verifier body */
[45] Fix | Delete
void *su_cache; /* cached data, NULL if none */
[46] Fix | Delete
[47] Fix | Delete
struct msghdr su_msghdr; /* msghdr received from clnt */
[48] Fix | Delete
unsigned char su_cmsg[64]; /* cmsghdr received from clnt */
[49] Fix | Delete
};
[50] Fix | Delete
[51] Fix | Delete
#define __rpcb_get_dg_xidp(x) (&((struct svc_dg_data *)(x)->xp_p2)->su_xid)
[52] Fix | Delete
[53] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function