Print this page


Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/inet/udp/udp_opt_data.c
          +++ new/usr/src/uts/common/inet/udp/udp_opt_data.c
↓ open down ↓ 13 lines elided ↑ open up ↑
  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   22   * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23   23   * Use is subject to license terms.
  24      - * Copyright 2015, Joyent, Inc.
  25   24   */
  26   25  
  27   26  #include <sys/types.h>
  28   27  #include <sys/stream.h>
  29   28  #define _SUN_TPI_VERSION 2
  30   29  #include <sys/tihdr.h>
  31   30  #include <sys/socket.h>
  32   31  #include <sys/xti_xtiopt.h>
  33   32  #include <sys/xti_inet.h>
  34   33  
↓ open down ↓ 251 lines elided ↑ open up ↑
 286  285          -1 /* not initialized */ },
 287  286  
 288  287  { UDP_ANONPRIVBIND, IPPROTO_UDP, OA_R, OA_RW, OP_PRIVPORT, 0,
 289  288          sizeof (int), 0 },
 290  289  { UDP_EXCLBIND, IPPROTO_UDP, OA_RW, OA_RW, OP_NP, 0, sizeof (int), 0
 291  290          },
 292  291  { UDP_RCVHDR, IPPROTO_UDP, OA_RW, OA_RW, OP_NP, 0, sizeof (int), 0
 293  292          },
 294  293  { UDP_NAT_T_ENDPOINT, IPPROTO_UDP, OA_RW, OA_RW, OP_PRIVPORT, 0, sizeof (int),
 295  294          0 },
 296      -{ UDP_SRCPORT_HASH, IPPROTO_UDP, OA_R, OA_RW, OP_CONFIG, 0, sizeof (int), 0 },
 297  295  { UDP_SND_TO_CONNECTED, IPPROTO_UDP, OA_R, OA_RW, OP_CONFIG, 0, sizeof (int),
 298  296          0 }
 299  297  };
 300  298  
 301  299  /*
 302  300   * Table of all supported levels
 303  301   * Note: Some levels (e.g. XTI_GENERIC) may be valid but may not have
 304  302   * any supported options so we need this info separately.
 305  303   *
 306  304   * This is needed only for topmost tpi providers and is used only by
↓ open down ↓ 32 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX