Print this page
dccp: starting module template

@@ -82,10 +82,14 @@
 #define TCP_DEV_NAME    "/dev/tcp"
 #define TCP6_DEV_NAME   "/dev/tcp6"
 
 #define SCTP_MOD_NAME   "sctp"
 
+#define DCCP_MOD_NAME   "dccp"
+#define DCCP_DEV_NAME   "/dev/dccp"
+#define DCCP6_DEV_NAME  "/dev/dccp6"
+
 #ifndef _IPADDR_T
 #define _IPADDR_T
 typedef uint32_t ipaddr_t;
 #endif
 

@@ -215,10 +219,11 @@
 #define Q_TO_CONN(q)    ((conn_t *)(q)->q_ptr)
 #define Q_TO_TCP(q)     (Q_TO_CONN((q))->conn_tcp)
 #define Q_TO_UDP(q)     (Q_TO_CONN((q))->conn_udp)
 #define Q_TO_ICMP(q)    (Q_TO_CONN((q))->conn_icmp)
 #define Q_TO_RTS(q)     (Q_TO_CONN((q))->conn_rts)
+#define Q_TO_DCCP(q)    (Q_TO_CONN((q))->conn_dccp)
 
 #define CONNP_TO_WQ(connp)      ((connp)->conn_wq)
 #define CONNP_TO_RQ(connp)      ((connp)->conn_rq)
 
 #define GRAB_CONN_LOCK(q)       {                               \

@@ -3746,10 +3751,16 @@
 #define SQTAG_CONNECT_FINISH            41
 #define SQTAG_SYNCHRONOUS_OP            42
 #define SQTAG_TCP_SHUTDOWN_OUTPUT       43
 #define SQTAG_TCP_IXA_CLEANUP           44
 #define SQTAG_TCP_SEND_SYNACK           45
+#define SQTAG_IP_DCCP_INPUT             46
+#define SQTAG_DCCP_OUTPUT               47
+#define SQTAG_DCCP_CONN_REQ_UNBOUND     48
+#define SQTAG_DCCP_SEND_RESPONSE        49
+#define SQTAG_IP_DCCP_CLOSE             50
+#define SQTAG_DCCP_TIMER                51
 
 extern sin_t    sin_null;       /* Zero address for quick clears */
 extern sin6_t   sin6_null;      /* Zero address for quick clears */
 
 #endif  /* _KERNEL */