Versions Compared

Key

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

Get corresponding configured IPv4 host address for  to use as source address for a remote IPv4 address to use as source address.

Files

net_ipv4.h/net_ipv4.c

Prototype

Code Block

          NET_IPv4_ADDR NetIPv4_GetAddrSrc(NET_IPv4_ADDR addr_remote);

Arguments

addr_remote

Remote address to get configured IPv4 host address

Returned Value

Configured IPv4 host address,

...

NET_IP_ADDR_NONE,

otherwise.

Required Configuration

None.

Notes / Warnings

IPv4 addresses returned in host-order.