summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Ruigrok van der Werven <asmodai@FreeBSD.org>2000-09-22 14:44:16 +0000
committerJeroen Ruigrok van der Werven <asmodai@FreeBSD.org>2000-09-22 14:44:16 +0000
commit6d8afeb9824cebfbf6e255a6228636885405a87b (patch)
treeb9bd18290a618071364aa85361c475511bf4dfed
parent22451be68aa0924b68b10a71dde0e483dee21546 (diff)
Notes
-rw-r--r--sys/sys/socket.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/socket.h b/sys/sys/socket.h
index efe7c6a1b0f5..74154aef6f9a 100644
--- a/sys/sys/socket.h
+++ b/sys/sys/socket.h
@@ -370,6 +370,8 @@ struct cmsgcred {
#define CMSG_FIRSTHDR(mhdr) ((struct cmsghdr *)(mhdr)->msg_control)
+/* RFC 2292 additions */
+
#define CMSG_SPACE(l) (ALIGN(sizeof(struct cmsghdr)) + ALIGN(l))
#define CMSG_LEN(l) (ALIGN(sizeof(struct cmsghdr)) + (l))