Embedded TCP/IP stack
4.7.0
|
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.
netif_desc | Network interface descriptor. |
gw | The gateway IP address of the network interface. |
This function sets the gateway IP address of the netif
interface to the gw
value.