summaryrefslogtreecommitdiff
path: root/sys/lib/libkern/__cmsg_alignbytes.c
AgeCommit message (Collapse)Author
2001-11-15don't need <sys/types.h> when including <sys/param.h>lukem
2000-04-19change copyright notice from 3-clause TNF -> 4-clause TNF.itojun
not sure if which we prefer, but the point is to use exactly the same copyright. From: matthew green <mrg@eterna.com.au>
2000-03-02make CMSG_ALIGN always synchronize with kernel's idea of ALIGNBYTES.itojun
ancillary data alignment will be ALIGNBYTES, not sizeof(long) - 1, from now. CMSG_xx will NOT resolve into constant. if you use CMSG_xx to allocate arrays, you'll lose. bump shlib minor for libc. NOTE: if you are on top of arch with ALIGNBYTES != sizeof(long) - 1, you need to recompile IPv6-related binaries. there is no way to guarantee backward compat in this aspect. sorry for this. this should be the last backward compat breakage for IPv6-related ancillary data manipulation. (we still have PR 9516 for unix-domain sockets...)