Print this page
4510 Lose SIOC*IPSECONFIG ioctl definitions
Reviewed by: Robert Mustacchi <rm@joyent.com>

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 ↓ 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  /*
  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) 2012 Joyent, Inc. All rights reserved.
       26 + * Copyright (c) 2014, OmniTI Computer Consulting, Inc. All rights reserved.
  26   27   */
  27   28  
  28   29  #include <sys/types.h>
  29   30  #include <sys/stream.h>
  30   31  #include <sys/dlpi.h>
  31   32  #include <sys/stropts.h>
  32   33  #include <sys/sysmacros.h>
  33   34  #include <sys/strsubr.h>
  34   35  #include <sys/strlog.h>
  35   36  #include <sys/strsun.h>
↓ open down ↓ 984 lines elided ↑ open up ↑
1020 1021          /* 143 */ { SIOCLIFSETND, sizeof (struct lifreq), IPI_PRIV,
1021 1022                          LIF_CMD, ip_siocsetndp_v6, NULL },
1022 1023          /* 144 */ { SIOCTMYADDR, sizeof (struct sioc_addrreq), IPI_GET_CMD,
1023 1024                          MISC_CMD, ip_sioctl_tmyaddr, NULL },
1024 1025          /* 145 */ { SIOCTONLINK, sizeof (struct sioc_addrreq), IPI_GET_CMD,
1025 1026                          MISC_CMD, ip_sioctl_tonlink, NULL },
1026 1027          /* 146 */ { SIOCTMYSITE, sizeof (struct sioc_addrreq), 0,
1027 1028                          MISC_CMD, ip_sioctl_tmysite, NULL },
1028 1029          /* 147 */ { IPI_DONTCARE, 0, 0, 0, NULL, NULL },
1029 1030          /* 148 */ { IPI_DONTCARE, 0, 0, 0, NULL, NULL },
1030      -        /* IPSECioctls handled in ip_sioctl_copyin_setup itself */
1031      -        /* 149 */ { SIOCFIPSECONFIG, 0, IPI_PRIV, MISC_CMD, NULL, NULL },
1032      -        /* 150 */ { SIOCSIPSECONFIG, 0, IPI_PRIV, MISC_CMD, NULL, NULL },
1033      -        /* 151 */ { SIOCDIPSECONFIG, 0, IPI_PRIV, MISC_CMD, NULL, NULL },
1034      -        /* 152 */ { SIOCLIPSECONFIG, 0, IPI_PRIV, MISC_CMD, NULL, NULL },
1035 1031  
     1032 +        /* Old *IPSECONFIG ioctls are now deprecated, now see spdsock.c */
     1033 +        /* 149 */ { IPI_DONTCARE, 0, 0, 0, NULL, NULL },
     1034 +        /* 150 */ { IPI_DONTCARE, 0, 0, 0, NULL, NULL },
     1035 +        /* 151 */ { IPI_DONTCARE, 0, 0, 0, NULL, NULL },
     1036 +        /* 152 */ { IPI_DONTCARE, 0, 0, 0, NULL, NULL },
     1037 +
1036 1038          /* 153 */ { IPI_DONTCARE, 0, 0, 0, NULL, NULL },
1037 1039  
1038 1040          /* 154 */ { SIOCGLIFBINDING, sizeof (struct lifreq), IPI_GET_CMD,
1039 1041                          LIF_CMD, ip_sioctl_get_binding, NULL },
1040 1042          /* 155 */ { SIOCSLIFGROUPNAME, sizeof (struct lifreq),
1041 1043                          IPI_PRIV | IPI_WR,
1042 1044                          LIF_CMD, ip_sioctl_groupname, ip_sioctl_groupname },
1043 1045          /* 156 */ { SIOCGLIFGROUPNAME, sizeof (struct lifreq),
1044 1046                          IPI_GET_CMD, LIF_CMD, ip_sioctl_get_groupname, NULL },
1045 1047          /* 157 */ { SIOCGLIFGROUPINFO, sizeof (lifgroupinfo_t),
↓ open down ↓ 14225 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX