Searched refs:ip_in_subnet (Results 1 – 1 of 1) sorted by relevance
51 def rewrite_ip_suffix(subnet_mask, ip_in_subnet, ip_suffix): argument70 subnet = mask & struct.unpack('!I', socket.inet_aton(ip_in_subnet))[0]