Print this page
4953763 Need way to configure NFS window sizes without changing system wide defaults
6216670 NFS server needs a bigger transmit buffer

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/fs.d/nfs/lib/nfs_tbind.h
          +++ new/usr/src/cmd/fs.d/nfs/lib/nfs_tbind.h
↓ open down ↓ 11 lines elided ↑ open up ↑
  12   12   *
  13   13   * When distributing Covered Code, include this CDDL HEADER in each
  14   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  /*
  22      - * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
       22 + * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23   23   * Use is subject to license terms.
  24   24   */
  25   25  
  26   26  /*
  27   27   * nfs_tbind.h, common code for nfsd and lockd
  28   28   */
  29   29  
  30   30  #ifndef _NFS_TBIND_H
  31   31  #define _NFS_TBIND_H
  32   32  
  33      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  34      -
  35   33  #include <netconfig.h>
  36   34  #include <netdir.h>
  37   35  
  38   36  #ifdef __cplusplus
  39   37  extern "C" {
  40   38  #endif
  41   39  
  42   40  /*
  43   41   * Globals which should be initialised by daemon main().
  44   42   */
↓ open down ↓ 21 lines elided ↑ open up ↑
  66   64   */
  67   65  #define NETSELDECL(x)   char *x
  68   66  #define NETSELPDECL(x)  char **x
  69   67  #define NETSELEQ(x, y)  (strcmp((x), (y)) == 0)
  70   68  
  71   69  /*
  72   70   * nfs library routines
  73   71   */
  74   72  extern int      nfslib_transport_open(struct netconfig *);
  75   73  extern int      nfslib_bindit(struct netconfig *, struct netbuf **,
  76      -                        struct nd_hostserv *, int);
       74 +                        struct nd_hostserv *, int, int sndbufsz, int rcvbufsz);
  77   75  extern void     nfslib_log_tli_error(char *, int, struct netconfig *);
       76 +extern int      do_all_setbuf(struct protob *,
       77 +                        int (*)(int, struct netbuf, struct netconfig *),
       78 +                        int use_pmap, int sndbufsz, int rcvbufsz);
  78   79  extern int      do_all(struct protob *,
  79   80                          int (*)(int, struct netbuf, struct netconfig *),
  80   81                          int use_pmap);
       82 +extern void     do_one_setbuf(char *, char *, struct protob *,
       83 +                        int (*)(int, struct netbuf, struct netconfig *),
       84 +                        int use_pmap, int sndbufsz, int rcvbufsz);
  81   85  extern void     do_one(char *, char *, struct protob *,
  82   86                          int (*)(int, struct netbuf, struct netconfig *),
  83   87                          int use_pmap);
  84   88  extern void     poll_for_action(void);
  85   89  
  86   90  #ifdef __cplusplus
  87   91  }
  88   92  #endif
  89   93  
  90   94  #endif  /* _NFS_TBIND_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX