summaryrefslogtreecommitdiff
path: root/arch/x86_64/bits/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/bits/socket.h')
-rw-r--r--arch/x86_64/bits/socket.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/x86_64/bits/socket.h b/arch/x86_64/bits/socket.h
index 878ab117..a90c4cae 100644
--- a/arch/x86_64/bits/socket.h
+++ b/arch/x86_64/bits/socket.h
@@ -8,3 +8,11 @@ struct msghdr
socklen_t msg_controllen, __pad2;
int msg_flags;
};
+
+struct cmsghdr
+{
+ socklen_t cmsg_len;
+ int __pad1;
+ int cmsg_level;
+ int cmsg_type;
+};