NetIPv4_GetAddrSrc

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

Files

net_ipv4.h/net_ipv4.c

Prototype

          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,

if available;

NET_IP_ADDR_NONE,

otherwise.

Required Configuration

None.

Notes / Warnings

IPv4 addresses returned in host-order.