Date: Tue, 13 Apr 2004 04:22:23 -0700 (PDT) From: Luigi Rizzo <luigi@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net route.c route.h rtsock.c Message-ID: <200404131122.i3DBMNg4059417@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
luigi 2004/04/13 04:22:23 PDT FreeBSD src repository Modified files: sys/net route.c route.h rtsock.c Log: 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. Revision Changes Path 1.97 +2 -4 src/sys/net/route.c 1.57 +12 -0 src/sys/net/route.h 1.100 +5 -10 src/sys/net/rtsock.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404131122.i3DBMNg4059417>