Print this page
13175 Add support for IP_RECVTOS
13182 CMSG_ macros should have man pages
Change-ID: I784aa36cfd3c17e3cccbf1fd329fa7e69b663ef9

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/inet/tcp.h
          +++ new/usr/src/uts/common/inet/tcp.h
↓ open down ↓ 15 lines elided ↑ open up ↑
  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) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
  23   23   * Copyright (c) 2011, Joyent, Inc. All rights reserved.
  24   24   * Copyright (c) 2011 Nexenta Systems, Inc. All rights reserved.
  25   25   * Copyright (c) 2014, 2017 by Delphix. All rights reserved.
       26 + * Copyright 2020 OmniOS Community Edition (OmniOSce) Association.
  26   27   */
  27   28  /* Copyright (c) 1990 Mentat Inc. */
  28   29  
  29   30  #ifndef _INET_TCP_H
  30   31  #define _INET_TCP_H
  31   32  
  32   33  #ifdef  __cplusplus
  33   34  extern "C" {
  34   35  #endif
  35   36  
↓ open down ↓ 333 lines elided ↑ open up ↑
 369  370          uint16_t tcp_last_recv_len;     /* Used by DTrace */
 370  371          uint16_t tcp_dupack_cnt;        /* # of consequtive duplicate acks */
 371  372  
 372  373          kmutex_t        *tcp_acceptor_lockp;    /* Ptr to tf_lock */
 373  374  
 374  375          mblk_t          *tcp_ordrel_mp;         /* T_ordrel_ind mblk */
 375  376          t_uscalar_t     tcp_acceptor_id;        /* ACCEPTOR_id */
 376  377  
 377  378          int             tcp_ipsec_overhead;
 378  379  
      380 +        uint_t          tcp_recvtos;    /* Last received IP_RECVTOS */
 379  381          uint_t          tcp_recvifindex; /* Last received IPV6_RCVPKTINFO */
 380  382          uint_t          tcp_recvhops;   /* Last received IPV6_RECVHOPLIMIT */
 381  383          uint_t          tcp_recvtclass; /* Last received IPV6_RECVTCLASS */
 382  384          ip6_hbh_t       *tcp_hopopts;   /* Last received IPV6_RECVHOPOPTS */
 383  385          ip6_dest_t      *tcp_dstopts;   /* Last received IPV6_RECVDSTOPTS */
 384  386          ip6_dest_t      *tcp_rthdrdstopts; /* Last recv IPV6_RECVRTHDRDSTOPTS */
 385  387          ip6_rthdr_t     *tcp_rthdr;     /* Last received IPV6_RECVRTHDR */
 386  388          uint_t          tcp_hopoptslen;
 387  389          uint_t          tcp_dstoptslen;
 388  390          uint_t          tcp_rthdrdstoptslen;
↓ open down ↓ 211 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX