Embedded TCP/IP stack  4.7.0

◆ fnet_netif_set_ip4_gateway()

void fnet_netif_set_ip4_gateway ( fnet_netif_desc_t  netif_desc,
fnet_ip4_addr_t  gw 
)

Sets the gateway IP address of the specified network interface.

Parameters
netif_descNetwork interface descriptor.
gwThe gateway IP address of the network interface.
See also
fnet_netif_get_ip4_gateway()

This function sets the gateway IP address of the netif interface to the gw value.


© 2005-2020 by Andrej Butok. http://fnet.sourceforge.net