diff options
author | bms <bms@FreeBSD.org> | 2007-01-31 14:34:47 +0000 |
---|---|---|
committer | bms <bms@FreeBSD.org> | 2007-01-31 14:34:47 +0000 |
commit | cad0bb8b1623afcd1ac92da90371f8c8c4d101bf (patch) | |
tree | 6269edda216e21e16cd47f5cebbae728eeb340b8 /lib/libc/stdlib/getenv.c | |
parent | 4577663dd42307d939be4fb44c35bc824aed3a1a (diff) | |
download | FreeBSD-src-cad0bb8b1623afcd1ac92da90371f8c8c4d101bf.zip FreeBSD-src-cad0bb8b1623afcd1ac92da90371f8c8c4d101bf.tar.gz |
Import macros IN_LINKLOCAL(), IN_PRIVATE(), IN_LOCAL_GROUP(), IN_ANY_LOCAL().
This is not a functional change.
IN_LINKLOCAL() tests if an address falls within the IPv4 link-local prefix.
IN_PRIVATE() tests if an address falls within an RFC 1918 private prefix.
IN_LOCAL_GROUP() tests if an address falls within the statically assigned
link-local multicast scope specified in RFC 2365.
IN_ANY_LOCAL() tests for either of IN_LINKLOCAL() or IN_LOCAL_GROUP().
As with the existing macros in the FreeBSD netinet stack, comparisons
are performed in host-byte order.
See also: RFC 1918, RFC 2365, RFC 3927
Obtained from: NetBSD (dyoung@)
MFC after: 2 weeks
Diffstat (limited to 'lib/libc/stdlib/getenv.c')
0 files changed, 0 insertions, 0 deletions