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