Home | History | Annotate | Download | only in core

Lines Matching refs:netmask

127  * @param netmask network mask for the new netif
137 netif_add(struct netif *netif, ip_addr_t *ipaddr, ip_addr_t *netmask,
146 ip_addr_set_zero(&netif->netmask);
182 netif_set_addr(netif, ipaddr, netmask, gw);
204 LWIP_DEBUGF(NETIF_DEBUG, (" netmask "));
205 ip_addr_debug_print(NETIF_DEBUG, netmask);
213 * Change IP address configuration for a network interface (including netmask
218 * @param netmask the new netmask
222 netif_set_addr(struct netif *netif, ip_addr_t *ipaddr, ip_addr_t *netmask,
226 netif_set_netmask(netif, netmask);
315 * @note call netif_set_addr() if you also want to change netmask and
381 * @note call netif_set_addr() if you also want to change ip address and netmask
396 * Change the netmask of a network interface
399 * @param netmask the new netmask
405 netif_set_netmask(struct netif *netif, ip_addr_t *netmask)
408 /* set new netmask to netif */
409 ip_addr_set(&(netif->netmask), netmask);
411 LWIP_DEBUGF(NETIF_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, ("netif: netmask of interface %c%c set to %"U16_F".%"U16_F".%"U16_F".%"U16_F"\n",
413 ip4_addr1_16(&netif->netmask),
414 ip4_addr2_16(&netif->netmask),
415 ip4_addr3_16(&netif->netmask),
416 ip4_addr4_16(&netif->netmask)));