Print this page
%B

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/inet/mib2.h
          +++ new/usr/src/uts/common/inet/mib2.h
↓ open down ↓ 88 lines elided ↑ open up ↑
  89   89  #define MIB2_UDP                (IPPROTO_MAX+7)
  90   90  #define MIB2_EGP                (IPPROTO_MAX+8)
  91   91  #define MIB2_CMOT               (IPPROTO_MAX+9)
  92   92  #define MIB2_TRANSMISSION       (IPPROTO_MAX+10)
  93   93  #define MIB2_SNMP               (IPPROTO_MAX+11)
  94   94  #define MIB2_IP6                (IPPROTO_MAX+12)
  95   95  #define MIB2_ICMP6              (IPPROTO_MAX+13)
  96   96  #define MIB2_TCP6               (IPPROTO_MAX+14)
  97   97  #define MIB2_UDP6               (IPPROTO_MAX+15)
  98   98  #define MIB2_SCTP               (IPPROTO_MAX+16)
       99 +#define MIB2_DCCP               (IPPROTO_MAX+17)
  99  100  
 100  101  /*
 101  102   * Define range of levels for use with MIB2_*
 102  103   */
 103  104  #define MIB2_RANGE_START        (IPPROTO_MAX+1)
 104      -#define MIB2_RANGE_END          (IPPROTO_MAX+16)
      105 +#define MIB2_RANGE_END          (IPPROTO_MAX+17)
 105  106  
 106  107  
 107  108  #define EXPER                   1024    /* experimental - not part of mib */
 108  109  #define EXPER_IGMP              (EXPER+1)
 109  110  #define EXPER_DVMRP             (EXPER+2)
 110  111  #define EXPER_RAWIP             (EXPER+3)
 111  112  #define EXPER_IP_AND_ALL_IRES   (EXPER+4)
 112  113  
 113  114  /*
 114  115   * Define range of levels for experimental use
↓ open down ↓ 1664 lines elided ↑ open up ↑
1779 1780          Counter         sctpInClosed;
1780 1781          int             sctpEntrySize;
1781 1782          int             sctpLocalEntrySize;
1782 1783          int             sctpRemoteEntrySize;
1783 1784  } mib2_sctp_t;
1784 1785  
1785 1786  #if _LONG_LONG_ALIGNMENT == 8 && _LONG_LONG_ALIGNMENT_32 == 4
1786 1787  #pragma pack()
1787 1788  #endif
1788 1789  
     1790 +/*
     1791 + * the DCCP group
     1792 + */
     1793 +#define MIB2_DCCP_CONN          18
     1794 +
     1795 +#define MIB2_DCCP_closed        1
     1796 +#define MIB2_DCCP_listen        2
     1797 +
     1798 +/* Pack data to make struct size the same for 32- and 64-bits */
     1799 +#if _LONG_LONG_ALIGNMENT == 8 && _LONG_LONG_ALIGNMENT_32 == 4
     1800 +#pragma pack(4)
     1801 +#endif
     1802 +
     1803 +typedef struct mib2_dccp {
     1804 +
     1805 +        Counter dccpActiveOpens;
     1806 +
     1807 +        int     dccpEntrySize;
     1808 +} mib2_dccp_t;
     1809 +
     1810 +#if _LONG_LONG_ALIGNMENT == 8 && _LONG_LONG_ALIGNMENT_32 == 4
     1811 +#pragma pack()
     1812 +#endif
     1813 +
     1814 +/* Pack data to make struct size the same for 32- and 64-bits */
     1815 +#if _LONG_LONG_ALIGNMENT == 8 && _LONG_LONG_ALIGNMENT_32 == 4
     1816 +#pragma pack(4)
     1817 +#endif
     1818 +
     1819 +typedef struct mib2_dccpConnEntry {
     1820 +        int             dccpConnState;
     1821 +        IpAddress       dccpConnLocalAddress;
     1822 +        int             dccpConnLocalPort;
     1823 +        IpAddress       dccpConnRemAddress;
     1824 +        int             dccpConnRemPort;
     1825 +
     1826 +        uint32_t        dccpConnCreationProcess;
     1827 +        uint64_t        dccpConnCreationTime;
     1828 +} mib2_dccpConnEntry_t;
     1829 +#define MIB_FIRST_NEW_ELM_mib2_dccpConnEntry_t  dccpConnCreationProcess
     1830 +
     1831 +#if _LONG_LONG_ALIGNMENT == 8 && _LONG_LONG_ALIGNMENT_32 == 4
     1832 +#pragma pack()
     1833 +#endif
1789 1834  
1790 1835  #ifdef  __cplusplus
1791 1836  }
1792 1837  #endif
1793 1838  
1794 1839  #endif  /* _INET_MIB2_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX