Print this page
7127  remove -Wno-missing-braces from Makefile.uts

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/inet/ip/keysock_opt_data.c
          +++ new/usr/src/uts/common/inet/ip/keysock_opt_data.c
↓ open down ↓ 41 lines elided ↑ open up ↑
  42   42  /*
  43   43   * Table of all known options handled on a keysock (PF_KEY) protocol stack.
  44   44   *
  45   45   * Note: This table contains options processed by both KEYSOCK and IP levels
  46   46   *       and is the superset of options that can be performed on a KEYSOCK over
  47   47   *       IP stack.
  48   48   */
  49   49  
  50   50  opdes_t keysock_opt_arr[] = {
  51   51          { SO_USELOOPBACK, SOL_SOCKET, OA_RW, OA_RW, OP_NP, 0,
  52      -            (t_uscalar_t)sizeof (int), 0 },
       52 +            (t_uscalar_t)sizeof (int), {0} },
  53   53          { SO_SNDBUF, SOL_SOCKET, OA_RW, OA_RW, OP_NP, 0,
  54      -            (t_uscalar_t)sizeof (int), 0 },
       54 +            (t_uscalar_t)sizeof (int), {0} },
  55   55          { SO_RCVBUF, SOL_SOCKET, OA_RW, OA_RW, OP_NP, 0,
  56      -            (t_uscalar_t)sizeof (int), 0 },
       56 +            (t_uscalar_t)sizeof (int), {0} },
  57   57  };
  58   58  
  59   59  /*
  60   60   * Table of all supported levels
  61   61   * Note: Some levels (e.g. XTI_GENERIC) may be valid but may not have
  62   62   * any supported options so we need this info separately.
  63   63   *
  64   64   * This is needed only for topmost tpi providers.
  65   65   */
  66   66  optlevel_t      keysock_valid_levels_arr[] = {
↓ open down ↓ 26 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX