IN4_IS_ADDR_LINKLOCAL function (mstcpip.h)

Determines whether the address argument is an IPv4 link-local address.

Syntax

MSTCPIP_INLINE BOOLEAN IN4_IS_ADDR_LINKLOCAL(
  const IN_ADDR *a
);

Parameters

a

Type: _In_ CONST IN_ADDR *

Pointer to the address to test.

Return value

true if the address is an IPv4 link-local address; otherwise, false.

Returns true for local-use IPv4 unicast addresses. Returns false for the IPv4 loopback address. Returns false for IPv4 multicast addresses of link-local scope.

Requirements

Requirement Value
Header mstcpip.h