Print this page
5880 Increase IOV_MAX to at least 1024
Portions contributed by: Jerry Jelinek <jerry.jelinek@joyent.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libbc/inc/include/sys/socket.h
          +++ new/usr/src/lib/libbc/inc/include/sys/socket.h
   1    1  /*
   2    2   * Copyright 1989 Sun Microsystems, Inc.  All rights reserved.
   3    3   * Use is subject to license terms.
   4    4   */
   5    5  
   6      -#pragma ident   "%Z%%M% %I%     %E% SMI"
   7      -
   8    6  /*
   9    7   * Copyright (c) 1982, 1985, 1986 Regents of the University of California.
  10    8   * All rights reserved.  The Berkeley software License Agreement
  11    9   * specifies the terms and conditions for redistribution.
  12   10   */
  13   11  
  14   12  #ifndef _sys_socket_h
  15   13  #define _sys_socket_h
  16   14  
  17   15  /*
↓ open down ↓ 144 lines elided ↑ open up ↑
 162  160          struct  iovec *msg_iov;         /* scatter/gather array */
 163  161          int     msg_iovlen;             /* # elements in msg_iov */
 164  162          caddr_t msg_accrights;          /* access rights sent/received */
 165  163          int     msg_accrightslen;
 166  164  };
 167  165  
 168  166  #define MSG_OOB         0x1             /* process out-of-band data */
 169  167  #define MSG_PEEK        0x2             /* peek at incoming message */
 170  168  #define MSG_DONTROUTE   0x4             /* send without using routing tables */
 171  169  
 172      -#define MSG_MAXIOVLEN   16
 173      -
 174  170  #endif /*!_sys_socket_h*/
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX