summaryrefslogtreecommitdiffstats
path: root/sys/net/route.h
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1998-01-13 02:56:21 +0000
committerwollman <wollman@FreeBSD.org>1998-01-13 02:56:21 +0000
commit6ce595a40c4ac6011201f812617639a05193a421 (patch)
treeea67aaadfadd55b4bf726b63ca1a95ae0b1a012e /sys/net/route.h
parent3d7686dc1c5e0216bbb43929905217dbdb11dc18 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud