diff options
author | asmodai <asmodai@FreeBSD.org> | 2000-09-22 14:43:08 +0000 |
---|---|---|
committer | asmodai <asmodai@FreeBSD.org> | 2000-09-22 14:43:08 +0000 |
commit | bf5d99e0d9410f4f325c87984be29cae61527433 (patch) | |
tree | 2de2045e802dd904f4c3b71acbaae55999c81660 /sys | |
parent | 4b6d1d09be96d4e6eef3d7135b6ca141384fb71b (diff) | |
download | FreeBSD-src-bf5d99e0d9410f4f325c87984be29cae61527433.zip FreeBSD-src-bf5d99e0d9410f4f325c87984be29cae61527433.tar.gz |
Document which RFC introduced CMSG_SPACE() and CMSG_LEN().
Diffstat (limited to 'sys')
-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)) |