diff options
author | luigi <luigi@FreeBSD.org> | 2004-04-13 11:22:22 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 2004-04-13 11:22:22 +0000 |
commit | f83ca5e62d50a0c97e6da783970932ec1865b591 (patch) | |
tree | f81cadb2baf9d439843a5c8123c911c7980bb872 /usr.sbin/arp/arp.c | |
parent | c3b6d70103e7aa78831dc2504b16900173fbc234 (diff) | |
download | FreeBSD-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/arp/arp.c')
0 files changed, 0 insertions, 0 deletions