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/uts/common/sys/socket.h
          +++ new/usr/src/uts/common/sys/socket.h
↓ open down ↓ 14 lines elided ↑ open up ↑
  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   22   * Copyright 2014 Garrett D'Amore <garrett@damore.org>
  23   23   *
  24   24   * Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
       25 + * Copyright 2015, Joyent, Inc. All rights reserved.
  25   26   */
  26   27  
  27   28  /*      Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T     */
  28   29  /*        All Rights Reserved   */
  29   30  
  30   31  /*
  31   32   * University Copyright- Copyright (c) 1982, 1986, 1988
  32   33   * The Regents of the University of California
  33   34   * All Rights Reserved
  34   35   *
↓ open down ↓ 387 lines elided ↑ open up ↑
 422  423  #define MSG_CTRUNC      0x10            /* Control data truncated */
 423  424  #define MSG_TRUNC       0x20            /* Normal data truncated */
 424  425  #define MSG_WAITALL     0x40            /* Wait for complete recv or error */
 425  426  #define MSG_DONTWAIT    0x80            /* Don't block for this recv */
 426  427  #define MSG_NOTIFICATION 0x100          /* Notification, not data */
 427  428  #define MSG_NOSIGNAL    0x200           /* Don't generate SIGPIPE */
 428  429  #define MSG_DUPCTRL     0x800           /* Save control message for use with */
 429  430                                          /* with left over data */
 430  431  #define MSG_XPG4_2      0x8000          /* Private: XPG4.2 flag */
 431  432  
      433 +/* Obsolete but kept for compilation compatability. Use IOV_MAX. */
 432  434  #define MSG_MAXIOVLEN   16
 433  435  
 434  436  #ifdef _KERNEL
 435  437  
 436  438  /*
 437  439   * Internal-only MSG_... flags
 438  440   */
 439  441  
 440  442  #define MSG_SENDTO_NOXLATE      0x08000000      /* Skip so_ux_addr_xlate */
 441  443  
↓ open down ↓ 128 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX