* Added _SIZEOF_ADDR_IFREQ() macro as existing on FreeBSD.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35408 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -80,6 +80,10 @@ struct ifconf {
|
||||
};
|
||||
};
|
||||
|
||||
#define _SIZEOF_ADDR_IFREQ(request) \
|
||||
(sizeof((request).ifr_name) + (request).ifr_addr.sa_len)
|
||||
|
||||
|
||||
/* POSIX definitions follow */
|
||||
|
||||
struct if_nameindex {
|
||||
|
||||
Reference in New Issue
Block a user