cvs commit: src/sys/netinet in.h

Bruce M Simpson bms at FreeBSD.org
Wed Feb 14 13:39:01 UTC 2007


bms         2007-02-14 13:39:01 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/netinet          in.h 
  Log:
  MFC rev 1.98:
    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@)
  
  Revision  Changes    Path
  1.90.2.5  +10 -0     src/sys/netinet/in.h


More information about the cvs-src mailing list