]> sjero.net Git - iperf/blobdiff - include/headers.h
DCCP support for iperf
[iperf] / include / headers.h
index 6bf6da8462081b80b6b7c4b716619a2a39372b8b..5b534f742a3ac978bba8a7f6277565ca5f71a729 100644 (file)
@@ -153,10 +153,15 @@ typedef uintmax_t max_size_t;
     #define SHUT_RDWR 2
 #endif // SHUT_RD
 
+/* DCCP-specific definitions */
+#include <linux/dccp.h>
+#ifndef SOCK_DCCP
+#define SOCK_DCCP      6       /* include/linux/net.h    */
+#endif
+#ifndef IPPROTO_DCCP
+#define IPPROTO_DCCP   33      /* include/linux/in.h     */
+#endif
+#ifndef SOL_DCCP
+#define SOL_DCCP       269     /* include/linux/socket.h */
+#endif
 #endif /* HEADERS_H */
-
-
-
-
-
-