summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rwhod
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2004-04-13 11:22:22 +0000
committerluigi <luigi@FreeBSD.org>2004-04-13 11:22:22 +0000
commitf83ca5e62d50a0c97e6da783970932ec1865b591 (patch)
treef81cadb2baf9d439843a5c8123c911c7980bb872 /usr.sbin/rwhod
parentc3b6d70103e7aa78831dc2504b16900173fbc234 (diff)
downloadFreeBSD-src-f83ca5e62d50a0c97e6da783970932ec1865b591.zip
FreeBSD-src-f83ca5e62d50a0c97e6da783970932ec1865b591.tar.gz
route.h: introduce a macro, SA_SIZE(struct sockaddr *) which returns
the space occupied by a struct sockaddr when passed through a routing socket. Use it to replace the macro ROUNDUP(int), that does the same but is redefined by every file which uses it, courtesy of the School of Cut'n'Paste Programming(TM). (partial) userland changes to follow.
Diffstat (limited to 'usr.sbin/rwhod')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud