Print this page
dccp: properties
@@ -102,10 +102,11 @@
#include <sys/tsol/tndb.h>
#include <sys/tsol/tnet.h>
#include <inet/rawip_impl.h> /* needed for icmp_stack_t */
#include <inet/udp_impl.h> /* needed for udp_stack_t */
+#include <inet/dccp_stack.h> /* needed for dccp_stack_t */
/* The character which tells where the ill_name ends */
#define IPIF_SEPARATOR_CHAR ':'
/* IP ioctl function table entry */
@@ -8855,10 +8856,11 @@
mod_prop_info_t *ptbl = NULL, *pinfo = NULL;
ip_stack_t *ipst;
icmp_stack_t *is;
tcp_stack_t *tcps;
sctp_stack_t *sctps;
+ dccp_stack_t *dccps;
udp_stack_t *us;
netstack_t *stack;
void *cbarg;
cred_t *cr;
boolean_t set;
@@ -8900,10 +8902,14 @@
case MOD_PROTO_SCTP:
sctps = stack->netstack_sctp;
ptbl = sctps->sctps_propinfo_tbl;
cbarg = sctps;
break;
+ case MOD_PROTO_DCCP:
+ dccps = stack->netstack_dccp;
+ ptbl = dccps->dccps_propinfo_tbl;
+ cbarg = dccps;
default:
miocnak(q, mp, 0, EINVAL);
return;
}