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