diff options
-rw-r--r-- | sys/sys/socket.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/socket.h b/sys/sys/socket.h index cfa6adc..548f4f0 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)) |