Print this page
4953763 Need way to configure NFS window sizes without changing system wide defaults
6216670 NFS server needs a bigger transmit buffer
*** 17,27 ****
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
! * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
* nfs_tbind.h, common code for nfsd and lockd
--- 17,27 ----
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
! * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
* nfs_tbind.h, common code for nfsd and lockd
*** 28,39 ****
*/
#ifndef _NFS_TBIND_H
#define _NFS_TBIND_H
- #pragma ident "%Z%%M% %I% %E% SMI"
-
#include <netconfig.h>
#include <netdir.h>
#ifdef __cplusplus
extern "C" {
--- 28,37 ----
*** 71,85 ****
/*
* nfs library routines
*/
extern int nfslib_transport_open(struct netconfig *);
extern int nfslib_bindit(struct netconfig *, struct netbuf **,
! struct nd_hostserv *, int);
extern void nfslib_log_tli_error(char *, int, struct netconfig *);
extern int do_all(struct protob *,
int (*)(int, struct netbuf, struct netconfig *),
int use_pmap);
extern void do_one(char *, char *, struct protob *,
int (*)(int, struct netbuf, struct netconfig *),
int use_pmap);
extern void poll_for_action(void);
--- 69,89 ----
/*
* nfs library routines
*/
extern int nfslib_transport_open(struct netconfig *);
extern int nfslib_bindit(struct netconfig *, struct netbuf **,
! struct nd_hostserv *, int, int sndbufsz, int rcvbufsz);
extern void nfslib_log_tli_error(char *, int, struct netconfig *);
+ extern int do_all_setbuf(struct protob *,
+ int (*)(int, struct netbuf, struct netconfig *),
+ int use_pmap, int sndbufsz, int rcvbufsz);
extern int do_all(struct protob *,
int (*)(int, struct netbuf, struct netconfig *),
int use_pmap);
+ extern void do_one_setbuf(char *, char *, struct protob *,
+ int (*)(int, struct netbuf, struct netconfig *),
+ int use_pmap, int sndbufsz, int rcvbufsz);
extern void do_one(char *, char *, struct protob *,
int (*)(int, struct netbuf, struct netconfig *),
int use_pmap);
extern void poll_for_action(void);