Lines Matching refs:netmask
46 + return (addr->sin_addr.s_addr & sm->netmask.s_addr) ==
47 + (sm->ip_addr & sm->netmask.s_addr);
80 + * @netmask: Buffer for returning netmask or %NULL if not needed
86 + struct in_addr *netmask, u8 mac[ETH_ALEN])
94 + if (netmask) {
104 + netmask->s_addr = addr->sin_addr.s_addr;
115 + &sm->netmask, sm->mac_addr)) {
120 + wpa_printf(MSG_DEBUG, "WPS UPnP: Local IP address %s netmask %s hwaddr "
122 + sm->ip_addr_text, inet_ntoa(sm->netmask),
135 + struct in_addr netmask;
144 + struct in_addr *netmask, u8 mac[ETH_ALEN]);