Searched refs:addr_mask (Results 1 – 2 of 2) sorted by relevance
207 unsigned int addr_mask = (((struct sockaddr_in *)&((rt)->rt_genmask))->sin_addr.s_addr); in get_next_params() local209 if (addr_mask) help_exit("dup netmask"); in get_next_params()243 unsigned int addr_mask = (((struct sockaddr_in *)&((rt)->rt_genmask))->sin_addr.s_addr); in verify_netmask() local246 if (addr_mask) { in verify_netmask()247 addr_mask = ~ntohl(addr_mask); in verify_netmask()248 if ((rt->rt_flags & RTF_HOST) && addr_mask != INVALID_ADDR) in verify_netmask()250 if (addr_mask & (addr_mask + 1)) perror_exit("wrong netmask '%s'", netmask); in verify_netmask()251 addr_mask = ((struct sockaddr_in *) &rt->rt_dst)->sin_addr.s_addr; in verify_netmask()252 if (addr_mask & router_addr) perror_exit("conflicting netmask and route address"); in verify_netmask()
558 pub addr_mask: u8,