summaryrefslogtreecommitdiffstats
path: root/alg.h
diff options
context:
space:
mode:
Diffstat (limited to 'alg.h')
-rw-r--r--alg.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/alg.h b/alg.h
new file mode 100644
index 0000000..a5161eb
--- /dev/null
+++ b/alg.h
@@ -0,0 +1,17 @@
+#ifndef _LINUX_ALG_H
+#define _LINUX_ALG_H
+
+#include <linux/socket.h>
+
+// FIXME
+#define AF_ALG AF_X25
+#define PF_ALG AF_ALG
+
+struct sockaddr_alg {
+ sa_family_t salg_family;
+ char salg_type[14];
+ char salg_tfm[112];
+};
+
+
+#endif