Print this page
dccp: starting module template

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/inet/tunables.h
          +++ new/usr/src/uts/common/inet/tunables.h
↓ open down ↓ 71 lines elided ↑ open up ↑
  72   72  #define MOD_PROP_REMOVE         0x20    /* remove from multi-valued property */
  73   73  
  74   74  /* mpr_proto values */
  75   75  #define MOD_PROTO_NONE          0x00
  76   76  #define MOD_PROTO_IPV4          0x01    /* property is applicable to IPV4 */
  77   77  #define MOD_PROTO_IPV6          0x02    /* property is applicable to IPV6 */
  78   78  #define MOD_PROTO_RAWIP         0x04    /* property is applicable to ICMP */
  79   79  #define MOD_PROTO_TCP           0x08    /* property is applicable to TCP */
  80   80  #define MOD_PROTO_UDP           0x10    /* property is applicable to UDP */
  81   81  #define MOD_PROTO_SCTP          0x20    /* property is applicable to SCTP */
       82 +#define MOD_PROTO_DCCP          0x40    /* property is applicable to DCCP */
  82   83  
  83   84  /* property is applicable to both IPV[4|6] */
  84   85  #define MOD_PROTO_IP            (MOD_PROTO_IPV4|MOD_PROTO_IPV6)
  85   86  
  86   87  #ifdef  _KERNEL
  87   88  
  88   89  typedef struct mod_prop_info_s mod_prop_info_t;
  89   90  
  90   91  /* set/get property callback functions */
  91   92  typedef int     mod_prop_setf_t(void *, cred_t *, mod_prop_info_t *,
↓ open down ↓ 96 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX