Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Current »

Description

Validate an IPv6 address as a link-local IPv6 address.

Files

net_ipv6.h/net_ipv6.c

Prototype

Arguments

p_addr

Pointer to IPv6 address to validate.

Returned Value

DEF_YES, if IPv6 address is a link-local IPv6 address.
DEF_NO, otherwise.

Required Configuration

None.

Notes / Warnings

An IPv6 Link-Local address is defined as having the following format : 

10 bits54 bits64 bits
11111110100Interface ID

In text representation, it corresponds to the following format :

FE80:0000:0000:0000:aaaa.bbbb.cccc.dddd or 

FE80::aaaa.bbbb.cccc.dddd

where aaaa.bbbb.cccc.dddd is the interface ID.

 

Refer to RFC #4291, Section 2.5.6 for more details.

  • No labels