Print this page


Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/inet/udp_impl.h
          +++ new/usr/src/uts/common/inet/udp_impl.h
↓ open down ↓ 12 lines elided ↑ open up ↑
  13   13   * When distributing Covered Code, include this CDDL HEADER in each
  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 (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
  23      - * Copyright 2015, Joyent, Inc.
  24   23   */
  25   24  
  26   25  #ifndef _UDP_IMPL_H
  27   26  #define _UDP_IMPL_H
  28   27  
  29   28  /*
  30   29   * UDP implementation private declarations.  These interfaces are
  31   30   * used to build the IP module and are not meant to be accessed
  32   31   * by any modules except IP itself.  They are undocumented and are
  33   32   * subject to change without notice.
↓ open down ↓ 138 lines elided ↑ open up ↑
 172  171  
 173  172          ip_pkt_t        udp_recv_ipp;   /* Used for IPv4 options received */
 174  173  
 175  174          /* Written to only once at the time of opening the endpoint */
 176  175          conn_t          *udp_connp;
 177  176  
 178  177          uint32_t
 179  178                  udp_issocket : 1,       /* socket mode; sockfs is on top */
 180  179                  udp_nat_t_endpoint : 1, /* UDP_NAT_T_ENDPOINT option */
 181  180                  udp_rcvhdr : 1,         /* UDP_RCVHDR option */
 182      -                udp_vxlanhash: 1,       /* UDP_SRCPORT_HASH option */
 183      -                                        /* Because there's only VXLAN, cheat */
 184      -                                        /* and only use a single bit */
 185  181                  udp_snd_to_conn: 1,     /* UDP_SND_TO_CONNECTED option */
 186  182  
 187      -                udp_pad_to_bit_31 : 27;
      183 +                udp_pad_to_bit_31 : 28;
 188  184  
 189  185          /* Following 2 fields protected by the uf_lock */
 190  186          struct udp_s    *udp_bind_hash; /* Bind hash chain */
 191  187          struct udp_s    **udp_ptpbhn; /* Pointer to previous bind hash next. */
 192  188  
 193  189          kmutex_t        udp_recv_lock;          /* recv lock */
 194  190          size_t          udp_rcv_disply_hiwat;   /* user's view of rcvbuf */
 195  191          size_t          udp_rcv_hiwat;          /* receive high watermark */
 196  192  
 197  193          /* Set at open time and never changed */
↓ open down ↓ 83 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX