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/ipclassifier.h
          +++ new/usr/src/uts/common/inet/ipclassifier.h
↓ open down ↓ 16 lines elided ↑ open up ↑
  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   24   */
  25   25  
  26   26  /*
  27      - * Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
       27 + * Copyright 2020 OmniOS Community Edition (OmniOSce) Association.
  28   28   */
  29   29  
  30   30  #ifndef _INET_IPCLASSIFIER_H
  31   31  #define _INET_IPCLASSIFIER_H
  32   32  
  33   33  #ifdef  __cplusplus
  34   34  extern "C" {
  35   35  #endif
  36   36  
  37   37  #include <inet/common.h>
↓ open down ↓ 140 lines elided ↑ open up ↑
 178  178          union {
 179  179                  uint32_t        crbu_all;
 180  180                  struct {
 181  181                          uint32_t
 182  182          crbb_recvdstaddr : 1,           /* IP_RECVDSTADDR option */
 183  183          crbb_recvopts : 1,              /* IP_RECVOPTS option */
 184  184          crbb_recvif : 1,                /* IP_RECVIF option */
 185  185          crbb_recvslla : 1,              /* IP_RECVSLLA option */
 186  186  
 187  187          crbb_recvttl : 1,               /* IP_RECVTTL option */
      188 +        crbb_recvtos : 1,               /* IP_RECVTOS option */
 188  189          crbb_ip_recvpktinfo : 1,        /* IP*_RECVPKTINFO option  */
 189  190          crbb_ipv6_recvhoplimit : 1,     /* IPV6_RECVHOPLIMIT option */
 190  191          crbb_ipv6_recvhopopts : 1,      /* IPV6_RECVHOPOPTS option */
 191  192  
 192  193          crbb_ipv6_recvdstopts : 1,      /* IPV6_RECVDSTOPTS option */
 193  194          crbb_ipv6_recvrthdr : 1,        /* IPV6_RECVRTHDR option */
 194  195          crbb_old_ipv6_recvdstopts : 1,  /* old form of IPV6_DSTOPTS */
 195  196          crbb_ipv6_recvrthdrdstopts : 1, /* IPV6_RECVRTHDRDSTOPTS */
 196  197  
 197  198          crbb_ipv6_recvtclass : 1,       /* IPV6_RECVTCLASS */
↓ open down ↓ 3 lines elided ↑ open up ↑
 201  202                  } crbb;
 202  203          } crbu;
 203  204  } crb_t;
 204  205  
 205  206  #define crb_all                         crbu.crbu_all
 206  207  #define crb_recvdstaddr                 crbu.crbb.crbb_recvdstaddr
 207  208  #define crb_recvopts                    crbu.crbb.crbb_recvopts
 208  209  #define crb_recvif                      crbu.crbb.crbb_recvif
 209  210  #define crb_recvslla                    crbu.crbb.crbb_recvslla
 210  211  #define crb_recvttl                     crbu.crbb.crbb_recvttl
      212 +#define crb_recvtos                     crbu.crbb.crbb_recvtos
 211  213  #define crb_ip_recvpktinfo              crbu.crbb.crbb_ip_recvpktinfo
 212  214  #define crb_ipv6_recvhoplimit           crbu.crbb.crbb_ipv6_recvhoplimit
 213  215  #define crb_ipv6_recvhopopts            crbu.crbb.crbb_ipv6_recvhopopts
 214  216  #define crb_ipv6_recvdstopts            crbu.crbb.crbb_ipv6_recvdstopts
 215  217  #define crb_ipv6_recvrthdr              crbu.crbb.crbb_ipv6_recvrthdr
 216  218  #define crb_old_ipv6_recvdstopts        crbu.crbb.crbb_old_ipv6_recvdstopts
 217  219  #define crb_ipv6_recvrthdrdstopts       crbu.crbb.crbb_ipv6_recvrthdrdstopts
 218  220  #define crb_ipv6_recvtclass             crbu.crbb.crbb_ipv6_recvtclass
 219  221  #define crb_recvucred                   crbu.crbb.crbb_recvucred
 220  222  #define crb_timestamp                   crbu.crbb.crbb_timestamp
↓ open down ↓ 523 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX