Print this page
OS-4018 lxbrand support TCP SO_REUSEPORT
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Cody Mello <cody.mello@joyent.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/inet/ipclassifier.h
          +++ new/usr/src/uts/common/inet/ipclassifier.h
↓ 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 2010 Sun Microsystems, Inc.  All rights reserved.
  23   23   * Use is subject to license terms.
       24 + * Copyright 2015 Joyent, Inc.
  24   25   */
  25   26  
  26   27  #ifndef _INET_IPCLASSIFIER_H
  27   28  #define _INET_IPCLASSIFIER_H
  28   29  
  29   30  #ifdef  __cplusplus
  30   31  extern "C" {
  31   32  #endif
  32   33  
  33   34  #include <inet/common.h>
↓ open down ↓ 252 lines elided ↑ open up ↑
 286  287                  conn_ipv6_v6only : 1,           /* IPV6_V6ONLY */
 287  288                  conn_oobinline : 1,             /* SO_OOBINLINE state */
 288  289                  conn_dgram_errind : 1,          /* SO_DGRAM_ERRIND state */
 289  290                  conn_exclbind : 1,              /* SO_EXCLBIND state */
 290  291  
 291  292                  conn_mdt_ok : 1,                /* MDT is permitted */
 292  293                  conn_allzones : 1,              /* SO_ALLZONES */
 293  294                  conn_ipv6_recvpathmtu : 1,      /* IPV6_RECVPATHMTU */
 294  295                  conn_mcbc_bind : 1,             /* Bound to multi/broadcast */
 295  296  
 296      -                conn_pad_to_bit_31 : 12;
      297 +                conn_reuseport : 1,             /* SO_REUSEPORT state */
      298 +                conn_pad_to_bit_31 : 11;
 297  299  
 298  300          boolean_t       conn_blocked;           /* conn is flow-controlled */
 299  301  
 300  302          squeue_t        *conn_initial_sqp;      /* Squeue at open time */
 301  303          squeue_t        *conn_final_sqp;        /* Squeue after connect */
 302  304          ill_t           *conn_dhcpinit_ill;     /* IP_DHCPINIT_IF */
 303  305          ipsec_latch_t   *conn_latch;            /* latched IDS */
 304  306          struct ipsec_policy_s   *conn_latch_in_policy; /* latched policy (in) */
 305  307          struct ipsec_action_s   *conn_latch_in_action; /* latched action (in) */
 306  308          uint_t          conn_bound_if;          /* IP*_BOUND_IF */
↓ open down ↓ 431 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX