Lines Matching refs:netmask
129 * @param netmask network mask for the new netif
139 netif_add(struct netif *netif, ip_addr_t *ipaddr, ip_addr_t *netmask,
147 ip_addr_set_zero(&netif->netmask);
181 netif_set_addr(netif, ipaddr, netmask, gw);
203 LWIP_DEBUGF(NETIF_DEBUG, (" netmask "));
204 ip_addr_debug_print(NETIF_DEBUG, netmask);
212 * Change IP address configuration for a network interface (including netmask
217 * @param netmask the new netmask
221 netif_set_addr(struct netif *netif, ip_addr_t *ipaddr, ip_addr_t *netmask,
225 netif_set_netmask(netif, netmask);
319 * @note call netif_set_addr() if you also want to change netmask and
385 * @note call netif_set_addr() if you also want to change ip address and netmask
400 * Change the netmask of a network interface
403 * @param netmask the new netmask
409 netif_set_netmask(struct netif *netif, ip_addr_t *netmask)
412 /* set new netmask to netif */
413 ip_addr_set(&(netif->netmask), netmask);
415 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",
417 ip4_addr1_16(&netif->netmask),
418 ip4_addr2_16(&netif->netmask),
419 ip4_addr3_16(&netif->netmask),
420 ip4_addr4_16(&netif->netmask)));