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/ip/ip.c
          +++ new/usr/src/uts/common/inet/ip/ip.c
↓ open down ↓ 17 lines elided ↑ open up ↑
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  
  22   22  /*
  23   23   * Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
  24   24   * Copyright (c) 1990 Mentat Inc.
  25   25   * Copyright (c) 2017 OmniTI Computer Consulting, Inc. All rights reserved.
  26   26   * Copyright (c) 2016 by Delphix. All rights reserved.
  27   27   * Copyright (c) 2019 Joyent, Inc. All rights reserved.
       28 + * Copyright 2020 OmniOS Community Edition (OmniOSce) Association.
  28   29   */
  29   30  
  30   31  #include <sys/types.h>
  31   32  #include <sys/stream.h>
  32   33  #include <sys/dlpi.h>
  33   34  #include <sys/stropts.h>
  34   35  #include <sys/sysmacros.h>
  35   36  #include <sys/strsubr.h>
  36   37  #include <sys/strlog.h>
  37   38  #include <sys/strsun.h>
↓ open down ↓ 13930 lines elided ↑ open up ↑
13968 13969                  { "ip_tcp_in_sw_cksum_err",             KSTAT_DATA_UINT64 },
13969 13970                  { "ip_udp_in_full_hw_cksum_err",        KSTAT_DATA_UINT64 },
13970 13971                  { "ip_udp_in_part_hw_cksum_err",        KSTAT_DATA_UINT64 },
13971 13972                  { "ip_udp_in_sw_cksum_err",     KSTAT_DATA_UINT64 },
13972 13973                  { "conn_in_recvdstaddr",        KSTAT_DATA_UINT64 },
13973 13974                  { "conn_in_recvopts",           KSTAT_DATA_UINT64 },
13974 13975                  { "conn_in_recvif",             KSTAT_DATA_UINT64 },
13975 13976                  { "conn_in_recvslla",           KSTAT_DATA_UINT64 },
13976 13977                  { "conn_in_recvucred",          KSTAT_DATA_UINT64 },
13977 13978                  { "conn_in_recvttl",            KSTAT_DATA_UINT64 },
     13979 +                { "conn_in_recvtos",            KSTAT_DATA_UINT64 },
13978 13980                  { "conn_in_recvhopopts",        KSTAT_DATA_UINT64 },
13979 13981                  { "conn_in_recvhoplimit",       KSTAT_DATA_UINT64 },
13980 13982                  { "conn_in_recvdstopts",        KSTAT_DATA_UINT64 },
13981 13983                  { "conn_in_recvrthdrdstopts",   KSTAT_DATA_UINT64 },
13982 13984                  { "conn_in_recvrthdr",          KSTAT_DATA_UINT64 },
13983 13985                  { "conn_in_recvpktinfo",        KSTAT_DATA_UINT64 },
13984 13986                  { "conn_in_recvtclass",         KSTAT_DATA_UINT64 },
13985 13987                  { "conn_in_timestamp",          KSTAT_DATA_UINT64 },
13986 13988          };
13987 13989  
↓ open down ↓ 1327 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX