Embedded TCP/IP stack: fnet_netif_get_ip4_gateway

FNET

fnet_ip4_addr_t fnet_netif_get_ip4_gateway ( fnet_netif_desc_t  netif_desc)

Retrieves a gateway IPv4 address of the specified network interface.

Parameters
netif_descNetwork interface descriptor.
Returns
This function returns the gateway IPv4 address of the netif interface.
See also
fnet_netif_set_ip4_gateway()

This function returns the gateway IPv address of the netif interface.


© 2005-2018 by Andrey Butok. http://fnet.sourceforge.net