/
NetIPv4_GetAddrSrc
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.
Related content
NetIPv4_GetAddrSubnetMask
NetIPv4_GetAddrSubnetMask
More like this
NetIPv4_GetAddrHost
NetIPv4_GetAddrHost
More like this
NetIPv4_GetAddrDfltGateway
NetIPv4_GetAddrDfltGateway
More like this
NetIPv4_IsAddrThisHost
NetIPv4_IsAddrThisHost
More like this
NetIPv4_IsAddrHost
NetIPv4_IsAddrHost
More like this
NetIPv4_IsValidAddrHost
NetIPv4_IsValidAddrHost
More like this