summaryrefslogtreecommitdiffstats
path: root/net/unix/scm.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/unix/scm.h')
-rw-r--r--net/unix/scm.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/net/unix/scm.h b/net/unix/scm.h
new file mode 100644
index 0000000000..5a255a477f
--- /dev/null
+++ b/net/unix/scm.h
@@ -0,0 +1,10 @@
+#ifndef NET_UNIX_SCM_H
+#define NET_UNIX_SCM_H
+
+extern struct list_head gc_inflight_list;
+extern spinlock_t unix_gc_lock;
+
+int unix_attach_fds(struct scm_cookie *scm, struct sk_buff *skb);
+void unix_detach_fds(struct scm_cookie *scm, struct sk_buff *skb);
+
+#endif