netif_set_gw() function
Change the default gateway for a network interface
Arguments
netif
the network interface to change
gw
the new default gateway
Notes
call netif_set_addr() if you also want to change ip address and netmask
Functions called by netif_set_gw()
netif_set_gw()
printf() all items filtered out
Data read by netif_set_gw()
Data written by netif_set_gw()
netif_set_gw()::old_gw all items filtered out
netif_set_gw()
Type of netif_set_gw()
netif_set_gw()