diff options
author | wollman <wollman@FreeBSD.org> | 1998-01-13 02:56:21 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1998-01-13 02:56:21 +0000 |
commit | 6ce595a40c4ac6011201f812617639a05193a421 (patch) | |
tree | ea67aaadfadd55b4bf726b63ca1a95ae0b1a012e /sys/net/route.h | |
parent | 3d7686dc1c5e0216bbb43929905217dbdb11dc18 (diff) | |
download | FreeBSD-src-6ce595a40c4ac6011201f812617639a05193a421.zip FreeBSD-src-6ce595a40c4ac6011201f812617639a05193a421.tar.gz |
Add a macro to accurately calculate the length of a struct ifreq when
it contains an address. This can replace all the myriad (wrong) ways
in which this task is performed in the current system. As an added
bonus, since it's a macro, then third-party software vendors have an easy
way to tell whether it's there or not. (This will become necessary
when sizeof(struct sockaddr) is increaased, and also when additional
fields are added to struct ifreq.)
Diffstat (limited to 'sys/net/route.h')
0 files changed, 0 insertions, 0 deletions