lwIP
2.1.2
Lightweight IP stack
|
Functions | |
void | netif_set_ipaddr (struct netif *netif, const ip4_addr_t *ipaddr) |
void | netif_set_netmask (struct netif *netif, const ip4_addr_t *netmask) |
void | netif_set_gw (struct netif *netif, const ip4_addr_t *gw) |
void | netif_set_addr (struct netif *netif, const ip4_addr_t *ipaddr, const ip4_addr_t *netmask, const ip4_addr_t *gw) |
void netif_set_addr | ( | struct netif * | netif, |
const ip4_addr_t * | ipaddr, | ||
const ip4_addr_t * | netmask, | ||
const ip4_addr_t * | gw | ||
) |
Change IP address configuration for a network interface (including netmask and default gateway).
netif | the network interface to change |
ipaddr | the new IP address |
netmask | the new netmask |
gw | the new default gateway |
void netif_set_gw | ( | struct netif * | netif, |
const ip4_addr_t * | gw | ||
) |
Change the default gateway for a network interface
netif | the network interface to change |
gw | the new default gateway |
void netif_set_ipaddr | ( | struct netif * | netif, |
const ip4_addr_t * | ipaddr | ||
) |
Change the IP address of a network interface
netif | the network interface to change |
ipaddr | the new IP address |
void netif_set_netmask | ( | struct netif * | netif, |
const ip4_addr_t * | netmask | ||
) |
Change the netmask of a network interface
netif | the network interface to change |
netmask | the new netmask |