Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Anchor10919411091941 NetIP_IsAddrLocalHost() Anchor12648911264891 Validate an IP Validate an IPv4 address as a Localhost IP IPv4 address. Anchor10919431091943

Files

...

10919441091944net_ipipv4.h/net_ipipv4.c Anchor10919451091945

Prototype

CPU_BOOLEAN NetIP
HTML Table
summary
classCode_Listing
Table Row (tr)
Table Cell (td)
Anchor
11235101123510
Code Block
          CPU_BOOLEAN NetIPv4_IsAddrLocalHost(NET_
IP
IPv4_ADDR addr);

...

...

Arguments

Anchor10919481091948addr Anchor12559151255915 IP

IPv4 address to validate.

...

Returned Value

...

10919501091950DEF_YES Anchor12559221255922 if IP

if IPv4 address is a Localhost

...

IPv4 address;

Anchor10919511091951DEF_NO Anchor12559291255929

otherwise.

...

Required Configuration

...

None.anchor10919541091954

Notes / Warnings

Anchor10919551091955 IP IPv4 address must be in host-order. Anchor

10919561091956 Localhost IP Localhost IPv4 addresses are any host address in the ‘127.<host>’ subnet.