Print this page
OS-3812 lxbrand nfs mounting fails

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/netconfig.h
          +++ new/usr/src/uts/common/sys/netconfig.h
↓ open down ↓ 20 lines elided ↑ open up ↑
  21   21   */
  22   22  /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
  23   23  /*        All Rights Reserved   */
  24   24  
  25   25  
  26   26  /*
  27   27   * Copyright 2014 Garrett D'Amore <garrett@damore.org>
  28   28   *
  29   29   * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
  30   30   * Use is subject to license terms.
       31 + * Copyright 2015 Joyent, Inc.
  31   32   */
  32   33  
  33   34  #ifndef _SYS_NETCONFIG_H
  34   35  #define _SYS_NETCONFIG_H
  35   36  
  36   37  #ifdef  __cplusplus
  37   38  extern "C" {
  38   39  #endif
  39   40  
  40   41  #define NETCONFIG "/etc/netconfig"
↓ open down ↓ 99 lines elided ↑ open up ↑
 140  141  extern void             *setnetconfig(void);
 141  142  extern int              endnetconfig(void *);
 142  143  extern struct netconfig *getnetconfig(void *);
 143  144  extern struct netconfig *getnetconfigent(const char *);
 144  145  extern void             freenetconfigent(struct netconfig *);
 145  146  extern void             *setnetpath(void);
 146  147  extern int              endnetpath(void *);
 147  148  extern struct netconfig *getnetpath(void *);
 148  149  extern void             nc_perror(const char *);
 149  150  extern char             *nc_sperror(void);
      151 +extern void             _nsl_brand_set_hooks(int (*)(void),
      152 +                            struct netconfig *(*)(int));
 150  153  
 151  154  #ifdef  __cplusplus
 152  155  }
 153  156  #endif
 154  157  
 155  158  #endif  /* _SYS_NETCONFIG_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX