]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - net.h
05_dccp-supported-ccid-lookup.diff
[paraslash.git] / net.h
diff --git a/net.h b/net.h
index 88b8d431ed6453e11ddfa7ac021ee84f8e54c185..66bf875568eadd9fe07587e31edc5539e472575d 100644 (file)
--- a/net.h
+++ b/net.h
@@ -100,3 +100,10 @@ int create_remote_socket(const char *name);
 int recv_cred_buffer(int, char *, size_t);
 ssize_t send_cred_buffer(int, char*);
 int recv_pattern(int fd, const char *pattern, size_t bufsize);
+
+/**
+ * Functions and definitions to support \p IPPROTO_DCCP
+ */
+/** Hardcoded maximum number of separate CCID modules compiled into a host */
+#define DCCP_MAX_HOST_CCIDS    20
+extern const uint8_t *dccp_available_ccids(uint8_t *ccids, uint8_t *nccids);