Refactor: Extract function: ipv4addr_mask
Refactor: Extract function: ipv4addr_mask

We need to extract it, so it can be easily fixed.

redhatrises/openscap,OpenSCAP/openscap,jan-cerny/openscap,redhatrises/openscap,openprivacy/openscap,mpreisler/openscap,OpenSCAP/openscap,Hexadorsimal/openscap,postfix/openscap,Hexadorsimal/openscap,ybznek/openscap,postfix/openscap,isimluk/openscap,mpreisler/openscap,isimluk/openscap,jan-cerny/openscap,OpenSCAP/openscap,openprivacy/openscap,postfix/openscap,ybznek/openscap,mpreisler/openscap,Hexadorsimal/openscap,openprivacy/openscap,mpreisler/openscap,openprivacy/openscap,openprivacy/openscap,isimluk/openscap,jan-cerny/openscap,openprivacy/openscap,isimluk/openscap,Hexadorsimal/openscap,redhatrises/openscap,postfix/openscap,ybznek/openscap,jan-cerny/openscap,postfix/openscap,isimluk/openscap,redhatrises/openscap,mpreisler/openscap,ybznek/openscap,ybznek/openscap,OpenSCAP/openscap,redhatrises/openscap,mpreisler/openscap,jan-cerny/openscap,Hexadorsimal/openscap,Hexadorsimal/openscap,redhatrises/openscap,OpenSCAP/openscap,isimluk/openscap,ybznek/openscap,jan-cerny/openscap,postfix/openscap,OpenSCAP/openscap